Changeset 900 for vendor/gnumake/current/vmsfunctions.c
- Timestamp:
- May 23, 2007, 5:13:11 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/gnumake/current/vmsfunctions.c
r501 r900 38 38 struct NAM *dnam = (struct NAM *)xmalloc (sizeof (struct NAM)); 39 39 struct FAB *dfab = &dir->fab; 40 char *searchspec = (char *)xmalloc (MAXNAMLEN + 1);40 char *searchspec = xmalloc (MAXNAMLEN + 1); 41 41 42 42 memset (dir, 0, sizeof *dir); … … 258 258 return (str); 259 259 } 260 261 int262 strcmpi (const char *s1, const char *s2)263 {264 while (*s1 != '\0' && toupper(*s1) == toupper(*s2))265 {266 s1++;267 s2++;268 }269 270 return toupper(*(unsigned char *) s1) - toupper(*(unsigned char *) s2);271 }
Note:
See TracChangeset
for help on using the changeset viewer.