diff options
author | jbj <devnull@localhost> | 2004-10-09 17:29:22 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-10-09 17:29:22 +0000 |
commit | b831315e41173e27a4e402c65d318b43558c4fca (patch) | |
tree | 4d8b5816ed2c4a51657bb698320cfd62761c29d0 /rpmio/ugid.c | |
parent | d8822ba626caea60e6310157c1a180cde16bfe0a (diff) | |
download | rpm-b831315e41173e27a4e402c65d318b43558c4fca.tar.gz rpm-b831315e41173e27a4e402c65d318b43558c4fca.tar.bz2 rpm-b831315e41173e27a4e402c65d318b43558c4fca.zip |
Splint fiddles.
CVS patchset: 7435
CVS date: 2004/10/09 17:29:22
Diffstat (limited to 'rpmio/ugid.c')
-rw-r--r-- | rpmio/ugid.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rpmio/ugid.c b/rpmio/ugid.c index 65d31bcbd..b9a0898c2 100644 --- a/rpmio/ugid.c +++ b/rpmio/ugid.c @@ -103,11 +103,15 @@ int gnameToGid(const char * thisGname, gid_t * gid) if (grent == NULL) { /* XXX The filesystem package needs group/lock w/o getgrnam. */ if (strcmp(thisGname, "lock") == 0) { +/*@-boundswrite@*/ *gid = lastGid = 54; +/*@=boundswrite@*/ return 0; } else if (strcmp(thisGname, "mail") == 0) { +/*@-boundswrite@*/ *gid = lastGid = 12; +/*@=boundswrite@*/ return 0; } else return -1; |