projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2816621
)
if user/group o
\b
lookup fails return NULL
author
root
<devnull@localhost>
Thu, 27 Feb 1997 04:31:46 +0000
(
04:31
+0000)
committer
root
<devnull@localhost>
Thu, 27 Feb 1997 04:31:46 +0000
(
04:31
+0000)
CVS patchset: 1461
CVS date: 1997/02/27 04:31:46
build/names.c
patch
|
blob
|
history
diff --git
a/build/names.c
b/build/names.c
index
f64a1f4
..
77cb8fe
100644
(file)
--- a/
build/names.c
+++ b/
build/names.c
@@
-53,7
+53,7
@@
char *getUname(uid_t uid)
if (pw) {
unames[x] = strdup(pw->pw_name);
} else {
- unames[x] =
""
;
+ unames[x] =
NULL
;
}
return unames[x];
}
@@
-122,7
+122,7
@@
char *getGname(gid_t gid)
if (gr) {
gnames[x] = strdup(gr->gr_name);
} else {
- gnames[x] =
""
;
+ gnames[x] =
NULL
;
}
return gnames[x];
}