Mercurial > hg > octave-lojdl > gnulib-hg
changeset 2272:9d6da67904b5
add FIXME comments for use of atoi
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 12 Feb 2000 10:11:54 +0000 |
parents | 78563cb66dc8 |
children | ad48a40e44bb |
files | lib/userspec.c |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/userspec.c +++ b/lib/userspec.c @@ -183,7 +183,10 @@ if (use_login_group) error_msg = "cannot get the login group of a numeric UID"; else - *uid = atoi (u); + { + /* FIXME: don't use atoi! */ + *uid = atoi (u); + } } } else @@ -223,7 +226,10 @@ if (!is_number (g)) error_msg = "invalid group"; else - *gid = atoi (g); + { + /* FIXME: don't use atoi! */ + *gid = atoi (g); + } } else *gid = grp->gr_gid;