Displaying 4 results from an estimated 4 matches for "5260a2a".
Did you mean:
526072
2014 Sep 18
4
[PATCH] remove _BSD_SOURCE definition
...ave inline functions and calls
memcmp/cpy functions.
Signed-off-by: Chanho Park <chanho61.park at samsung.com>
---
dos/getsetsl.c | 1 -
libinstaller/fs.c | 1 -
libinstaller/syslxmod.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/dos/getsetsl.c b/dos/getsetsl.c
index 5260a2a..ba32b15 100644
--- a/dos/getsetsl.c
+++ b/dos/getsetsl.c
@@ -4,7 +4,6 @@
*/
#define _XOPEN_SOURCE 500 /* Required on glibc 2.x */
-#define _BSD_SOURCE
#include <inttypes.h>
#include <string.h>
#include <stddef.h>
diff --git a/libinstaller/fs.c b/libinstaller/fs.c
index 17...
2014 Sep 18
0
[PATCH] remove _BSD_SOURCE definition
...ave inline functions and calls
memcmp/cpy functions.
Signed-off-by: Chanho Park <chanho61.park at samsung.com>
---
dos/getsetsl.c | 1 -
libinstaller/fs.c | 1 -
libinstaller/syslxmod.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/dos/getsetsl.c b/dos/getsetsl.c
index 5260a2a..ba32b15 100644
--- a/dos/getsetsl.c
+++ b/dos/getsetsl.c
@@ -4,7 +4,6 @@
*/
#define _XOPEN_SOURCE 500 /* Required on glibc 2.x */
-#define _BSD_SOURCE
#include <inttypes.h>
#include <string.h>
#include <stddef.h>
diff --git a/libinstaller/fs.c b/libinstaller/fs.c
index 17...
2014 Sep 25
3
[PATCH] define _DEFAULT_SOURCE for glibc-2.20
...: https://sourceware.org/glibc/wiki/Release/2.20
Signed-off-by: Chanho Park <chanho61.park at samsung.com>
---
dos/getsetsl.c | 2 ++
libinstaller/fs.c | 2 ++
libinstaller/syslxmod.c | 2 ++
3 files changed, 6 insertions(+)
diff --git a/dos/getsetsl.c b/dos/getsetsl.c
index 5260a2a..c6e6ae7 100644
--- a/dos/getsetsl.c
+++ b/dos/getsetsl.c
@@ -5,6 +5,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 <inttypes.h>
#include <string....
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