Changeset 137 for trunk/src/trustfile.c
- Timestamp:
- Oct 28, 2007, 1:17:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/trustfile.c
r134 r137 103 103 #define SH_NEED_PWD_GRP 1 104 104 #include "sh_static.h" 105 #define SH_GRBUF_SIZE 4096 106 #define SH_PWBUF_SIZE 4096 105 #include "sh_pthread.h" 107 106 108 107 #else … … 411 410 int isingrp(gid_t grp, uid_t *ulist) 412 411 { 413 register struct passwd *w;/* info about group member */412 struct passwd *w; /* info about group member */ 414 413 register uid_t *u; /* points to current ulist member */ 415 414 register char **p; /* points to current group member */ 416 register struct group *g;/* pointer to group information */415 struct group *g; /* pointer to group information */ 417 416 418 417 #if defined(HAVE_PTHREAD) && defined (_POSIX_THREAD_SAFE_FUNCTIONS) && defined(HAVE_GETGRGID_R) … … 494 493 int onlytrustedingrp(gid_t grp, uid_t *ulist) 495 494 { 496 register struct passwd *w;/* info about group member */495 struct passwd *w; /* info about group member */ 497 496 register uid_t *u; /* points to current ulist member */ 498 497 register char **p; /* points to current group member */ 499 register struct group *g;/* pointer to group information */498 struct group *g; /* pointer to group information */ 500 499 register int flag = -1; /* group member found */ 501 500 … … 503 502 struct group gr; 504 503 char buffer[SH_GRBUF_SIZE]; 505 struct grouppw;504 struct passwd pw; 506 505 char pbuffer[SH_PWBUF_SIZE]; 507 506 #endif
Note:
See TracChangeset
for help on using the changeset viewer.