diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 15:00:12 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 15:00:12 +0000 |
commit | 7792c21583f7131ad63a9cb6e25b7ef38652d3a7 (patch) | |
tree | 35ae86a1ec3a303f6ac7c0146111c635eff41fb4 /sysutils/symlinks/files/patch-symlinks.c | |
parent | - Switch databases/libmemcache to USES=libtool, drop .la files (diff) |
Rename sysutils/ patch-xy patches to reflect the files they modify.
Notes
Notes:
svn path=/head/; revision=363335
Diffstat (limited to 'sysutils/symlinks/files/patch-symlinks.c')
-rw-r--r-- | sysutils/symlinks/files/patch-symlinks.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/symlinks/files/patch-symlinks.c b/sysutils/symlinks/files/patch-symlinks.c new file mode 100644 index 000000000000..ec92dade877d --- /dev/null +++ b/sysutils/symlinks/files/patch-symlinks.c @@ -0,0 +1,20 @@ +--- symlinks.c.orig 2010-01-23 09:58:35.000000000 -0800 ++++ symlinks.c 2010-01-23 09:59:34.000000000 -0800 +@@ -1,10 +1,6 @@ + #include <unistd.h> +-#ifndef _POSIX_SOURCE +-#define _POSIX_SOURCE +-#endif + #include <stdio.h> + #include <stdlib.h> +-#include <malloc.h> + #include <string.h> + #include <fcntl.h> + #include <sys/param.h> +@@ -358,5 +354,5 @@ + } + if (dircount == 0) + usage_error(); +- exit (0); ++ return (0); + } |