Commit 03fc768b authored by Paul Eggert's avatar Paul Eggert

* emacsclient.c: conform to C89 pointer rules

parent 5b0534c8
2011-02-05 Paul Eggert <eggert@cs.ucla.edu>
* emacsclient.c: conform to C89 pointer rules
(file_name_absolute_p): Accept const char *, not const unsigned
char *, to satisfy C89 rules.
2011-02-02 Eli Zaretskii <eliz@gnu.org>
* makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add
......
......@@ -854,7 +854,7 @@ unquote_argument (char *str)
int
file_name_absolute_p (const unsigned char *filename)
file_name_absolute_p (const char *filename)
{
/* Sanity check, it shouldn't happen. */
if (! filename) return FALSE;
......@@ -867,7 +867,7 @@ file_name_absolute_p (const unsigned char *filename)
#ifdef WINDOWSNT
/* X:\xxx is always absolute. */
if (isalpha (filename[0])
if (isalpha ((unsigned char) filename[0])
&& filename[1] == ':' && (filename[2] == '\\' || filename[2] == '/'))
return TRUE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment