search for: cc6e56a

Displaying 4 results from an estimated 4 matches for "cc6e56a".

Did you mean: cc6e567d
2014 Sep 18
4
[PATCH] remove _BSD_SOURCE definition
...--- a/libinstaller/fs.c +++ b/libinstaller/fs.c @@ -17,7 +17,6 @@ */ #define _XOPEN_SOURCE 500 /* Required on glibc 2.x */ -#define _BSD_SOURCE #include <stdio.h> #include <inttypes.h> #include <string.h> diff --git a/libinstaller/syslxmod.c b/libinstaller/syslxmod.c index cc6e56a..99f9995 100644 --- a/libinstaller/syslxmod.c +++ b/libinstaller/syslxmod.c @@ -16,7 +16,6 @@ */ #define _XOPEN_SOURCE 500 /* Required on glibc 2.x */ -#define _BSD_SOURCE #include <stdio.h> #include <inttypes.h> #include <string.h> -- 1.9.1
2014 Sep 18
0
[PATCH] remove _BSD_SOURCE definition
...--- a/libinstaller/fs.c +++ b/libinstaller/fs.c @@ -17,7 +17,6 @@ */ #define _XOPEN_SOURCE 500 /* Required on glibc 2.x */ -#define _BSD_SOURCE #include <stdio.h> #include <inttypes.h> #include <string.h> diff --git a/libinstaller/syslxmod.c b/libinstaller/syslxmod.c index cc6e56a..99f9995 100644 --- a/libinstaller/syslxmod.c +++ b/libinstaller/syslxmod.c @@ -16,7 +16,6 @@ */ #define _XOPEN_SOURCE 500 /* Required on glibc 2.x */ -#define _BSD_SOURCE #include <stdio.h> #include <inttypes.h> #include <string.h> -- 1.9.1
2014 Sep 25
3
[PATCH] define _DEFAULT_SOURCE for glibc-2.20
...00 /* Required on glibc 2.x */ #define _BSD_SOURCE +/* glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE */ +#define _DEFAULT_SOURCE 1 #include <stdio.h> #include <inttypes.h> #include <string.h> diff --git a/libinstaller/syslxmod.c b/libinstaller/syslxmod.c index cc6e56a..0ec4164 100644 --- a/libinstaller/syslxmod.c +++ b/libinstaller/syslxmod.c @@ -17,6 +17,8 @@ #define _XOPEN_SOURCE 500 /* Required on glibc 2.x */ #define _BSD_SOURCE +/* glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE */ +#define _DEFAULT_SOURCE 1 #include <stdio.h> #in...
2014 Sep 24
0
[PATCH] remove _BSD_SOURCE definition
On Thu, Sep 18, 2014 at 12:34 AM, Chanho Park <chanho61.park at samsung.com> wrote: > The _BSD_SOURCE was deprecated since glibc-2.20. _DEFAULT_SOURCE can be > used instead of _BSD_SOURCE. However, there is no need to include > _BSD_SOURCE because the sources only have inline functions and calls > memcmp/cpy functions. Testing this myself on my build boxes, I see no issue. The