Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
03fc768b
Commit
03fc768b
authored
Feb 04, 2011
by
Paul Eggert
Browse files
* emacsclient.c: conform to C89 pointer rules
parent
5b0534c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
lib-src/ChangeLog
lib-src/ChangeLog
+6
-0
lib-src/emacsclient.c
lib-src/emacsclient.c
+2
-2
No files found.
lib-src/ChangeLog
View file @
03fc768b
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
...
...
lib-src/emacsclient.c
View file @
03fc768b
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment