mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 23:39:40 +01:00
219 has been in the docks for sometime, the older patch got merged this patch is now upgrading 218 to 219 Make all patches using git Change-Id: Ib0350144592aba26cad56c13c9a5522515915c58 (From OE-Core rev: 041570e584b98b580cc75f9ee23372da74a84377) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
26 lines
767 B
Diff
26 lines
767 B
Diff
From 03baade6db2cf83b44a157818ba827d725449bb0 Mon Sep 17 00:00:00 2001
|
|
From: Emil Renner Berthing <systemd@esmil.dk>
|
|
Date: Thu, 18 Sep 2014 15:24:47 +0200
|
|
Subject: [PATCH 02/11] shared/missing.h: fall back to insecure getenv
|
|
|
|
---
|
|
src/shared/missing.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/shared/missing.h b/src/shared/missing.h
|
|
index b33a70c..11cca04 100644
|
|
--- a/src/shared/missing.h
|
|
+++ b/src/shared/missing.h
|
|
@@ -366,7 +366,7 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle
|
|
# ifdef HAVE___SECURE_GETENV
|
|
# define secure_getenv __secure_getenv
|
|
# else
|
|
-# error "neither secure_getenv nor __secure_getenv are available"
|
|
+# define secure_getenv getenv
|
|
# endif
|
|
#endif
|
|
|
|
--
|
|
2.1.4
|
|
|