comparison lib-src/emacsclient.c @ 39723:42510bd54993

(main): Cast isdigit() argument to unsigned char. From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 09 Oct 2001 10:18:30 +0000
parents efc4642cfb1a
children 1f5dbeefa536
comparison
equal deleted inserted replaced
39722:a94d9387d8cd 39723:42510bd54993
423 for (i = optind; i < argc; i++) 423 for (i = optind; i < argc; i++)
424 { 424 {
425 if (*argv[i] == '+') 425 if (*argv[i] == '+')
426 { 426 {
427 char *p = argv[i] + 1; 427 char *p = argv[i] + 1;
428 while (isdigit (*p) || *p == ':') p++; 428 while (isdigit ((unsigned char) *p) || *p == ':') p++;
429 if (*p != 0) 429 if (*p != 0)
430 fprintf (out, "%s/", quote_file_name (cwd)); 430 fprintf (out, "%s/", quote_file_name (cwd));
431 } 431 }
432 else if (*argv[i] != '/') 432 else if (*argv[i] != '/')
433 fprintf (out, "%s/", quote_file_name (cwd)); 433 fprintf (out, "%s/", quote_file_name (cwd));