More libc portability updates, add in the website (which has not been

archived previously).  Wrote 'which' during the meeting today.
 -Erik
This commit is contained in:
Erik Andersen
2000-05-19 05:35:19 +00:00
parent d356c6e9d1
commit 330fd2b576
38 changed files with 3428 additions and 521 deletions

View File

@@ -801,12 +801,13 @@ unsigned long my_getid(const char *filename, char *name, unsigned long id, unsig
{
FILE *file;
char *rname, *start, *end, buf[128];
id_t rid;
unsigned long rid;
unsigned long rgid = 0;
file = fopen(filename, "r");
if (file == NULL) {
perror(filename);
/* Do not complain. It is ok for /etc/password and
* friends to be missing... */
return (-1);
}