[Cvsnt] Case insensitivity in file names

Alexey Panchenko alexey at liwest.gcom.ru
Mon Feb 25 15:19:11 GMT 2002


Hello.

Shoud not the following code be case insensitive ?

File find_names.c:

static int
find_dirs (dir, list, checkadm, entries)
    char *dir;
    List *list;
    int checkadm;
    List *entries;
{
....
        if (strcmp (dp->d_name, ".") == 0 ||
            strcmp (dp->d_name, "..") == 0 ||
            strcmp (dp->d_name, CVSATTIC) == 0 ||
            strcmp (dp->d_name, CVSLCK) == 0 ||
            strcmp (dp->d_name, CVSREP) == 0)
            goto do_it_again;

--
Best regards,
 Alexey                          mailto:alexey at liwest.gcom.ru


_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list