Tito writes:

Hi to all,
This patch contains just some fixes for some misleading
comments in my_getpwuid.c and my_getug.c.
The code is untouched so this patch will not
cause troubles.

Please apply.

Thanks in advance and Ciao,
Tito
This commit is contained in:
Eric Andersen
2004-10-08 08:07:40 +00:00
parent 07f2fea62c
commit 94d628c76a
2 changed files with 14 additions and 14 deletions

View File

@ -22,15 +22,15 @@
/* Hacked by Tito Ragusa (c) 2004 <farmatito@tiscali.it> to make it more
* flexible :
*
* if bufsize is > 0 char *user can not be set to NULL.
* On success username is written on static allocated buffer name
* if bufsize is > 0 char *name can not be set to NULL.
* On success username is written on the static allocated buffer name
* (and a pointer to it is returned).
* On failure uid as string is written to static allocated buffer name
* On failure uid as string is written to the static allocated buffer name
* and NULL is returned.
* if bufsize is = 0 char *user can be set to NULL.
* if bufsize is = 0 char *name can be set to NULL.
* On success username is returned.
* On failure NULL is returned.
* if bufsize is < 0 char *user can be set to NULL
* if bufsize is < 0 char *name can be set to NULL
* On success username is returned.
* On failure an error message is printed and the program exits.
*/