search for: 15134b9

Displaying 2 results from an estimated 2 matches for "15134b9".

2011 Jun 28
0
[PATCH] cpio: cleanup O_BINARY usage.
No point of using it on a unixish OS. Signed-off-by: maximilian attems <max at stro.at> --- usr/utils/cpio.c | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/usr/utils/cpio.c b/usr/utils/cpio.c index 6891883..15134b9 100644 --- a/usr/utils/cpio.c +++ b/usr/utils/cpio.c @@ -31,10 +31,6 @@ #include <fnmatch.h> #endif -#ifndef O_BINARY -# define O_BINARY 0 -#endif - # ifndef DIRECTORY_SEPARATOR # define DIRECTORY_SEPARATOR '/' # endif @@ -576,8 +572,7 @@ static void create_final_defers(void)...
2011 Jun 28
0
[PATCH 2/2] cpio: directly include fnmatch
Useless ifdeffery seen on previous cleanup. Signed-off-by: maximilian attems <max at stro.at> --- usr/utils/cpio.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/usr/utils/cpio.c b/usr/utils/cpio.c index 15134b9..cb61679 100644 --- a/usr/utils/cpio.c +++ b/usr/utils/cpio.c @@ -27,9 +27,7 @@ #include <time.h> #include <unistd.h> #include <utime.h> -#ifndef FNM_PATHNAME #include <fnmatch.h> -#endif # ifndef DIRECTORY_SEPARATOR # define DIRECTORY_SEPARATOR '/' -- 1.7....