projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated docs/README-ATTACHMENTS, mainly to reflect that no setup is
[mmh]
/
uip
/
aliasbr.c
diff --git
a/uip/aliasbr.c
b/uip/aliasbr.c
index
50a2cd5
..
b2e51f5
100644
(file)
--- a/
uip/aliasbr.c
+++ b/
uip/aliasbr.c
@@
-409,7
+409,7
@@
addall (struct aka *ak)
Everyone = EVERYONE;
for (hm = homehead; hm; hm = hm->h_next)
Everyone = EVERYONE;
for (hm = homehead; hm; hm = hm->h_next)
- if (hm->h_uid > Everyone
+ if ((int) hm->h_uid > Everyone
&& (noshell || strcmp (hm->h_shell, NoShell)))
add_aka (ak, hm->h_name);
&& (noshell || strcmp (hm->h_shell, NoShell)))
add_aka (ak, hm->h_name);
@@
-556,7
+556,9
@@
seek_home (char *name)
* The only place where there might be problems.
* This assumes that ALL usernames are kept in lowercase.
*/
* The only place where there might be problems.
* This assumes that ALL usernames are kept in lowercase.
*/
- for (c = name, c1 = lname; *c && (c1 - lname < sizeof(lname) - 1); c++, c1++) {
+ for (c = name, c1 = lname;
+ *c && (c1 - lname < (int) sizeof(lname) - 1);
+ c++, c1++) {
if (isalpha(*c) && isupper(*c))
*c1 = tolower (*c);
else
if (isalpha(*c) && isupper(*c))
*c1 = tolower (*c);
else