blob: 350f1c06bf97b93a5441f5cd180e6d349679b435 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
From: Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org>
Date: Mon, 4 Jun 2012 01:37:49 +0000
Subject: environ
===================================================================
---
lib/spawn.c | 2 ++
src/su.c | 2 ++
2 files changed, 4 insertions(+)
Index: b/lib/spawn.c
===================================================================
--- a/lib/spawn.c 2013-07-27 19:32:42.140004373 +0400
+++ b/lib/spawn.c 2013-07-27 19:33:39.281177833 +0400
@@ -38,6 +38,8 @@
#include "exitcodes.h"
#include "prototypes.h"
+extern char **environ;
+
int run_command (const char *cmd, const char *argv[],
/*@null@*/const char *envp[], /*@out@*/int *status)
{
Index: b/src/su.c
===================================================================
--- a/src/su.c 2013-07-27 19:33:28.454184918 +0400
+++ b/src/su.c 2013-07-27 19:33:39.283350594 +0400
@@ -78,6 +78,8 @@
/*@-exitarg@*/
#include "exitcodes.h"
+extern char **environ;
+
/*
* Global variables
*/
|