git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f6ed30
)
s3:lib: Fix checking for config.h #define in system.c
author
Andreas Schneider
<asn@samba.org>
Thu, 13 Dec 2018 17:52:45 +0000
(18:52 +0100)
committer
Gary Lockyer
<gary@samba.org>
Sun, 16 Dec 2018 20:04:10 +0000
(21:04 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source3/lib/system.c
patch
|
blob
|
history
diff --git
a/source3/lib/system.c
b/source3/lib/system.c
index 00dd21ccbd60e6b89e2f0a3fa959f290b7a6fea3..9dd04ca5e3d25c2a327a2ed5f53073fbd00cff15 100644
(file)
--- a/
source3/lib/system.c
+++ b/
source3/lib/system.c
@@
-580,7
+580,7
@@
char *sys_getwd(void)
{
#ifdef GETCWD_TAKES_NULL
return getcwd(NULL, 0);
-#elif
HAVE_GETCWD
+#elif
defined(HAVE_GETCWD)
char *wd = NULL, *s = NULL;
size_t allocated = PATH_MAX;