Ignore:
Timestamp:
May 23, 2007, 7:31:19 AM (18 years ago)
Author:
bird
Message:

Merged with the 2007-05-23 CVS. Added rsort and fixed a couple of windows build issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmakenew/vmsfunctions.c

    r503 r903  
    3838  struct NAM *dnam = (struct NAM *)xmalloc (sizeof (struct NAM));
    3939  struct FAB *dfab = &dir->fab;
    40   char *searchspec = (char *)xmalloc (MAXNAMLEN + 1);
     40  char *searchspec = xmalloc (MAXNAMLEN + 1);
    4141
    4242  memset (dir, 0, sizeof *dir);
     
    258258  return (str);
    259259}
    260 
    261 int
    262 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.