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
370e3d9d
Commit
370e3d9d
authored
Dec 19, 1996
by
Richard M. Stallman
Browse files
(streq, strneq): Use == NULL rather than !.
parent
beb403b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lib-src/etags.c
lib-src/etags.c
+4
-2
No files found.
lib-src/etags.c
View file @
370e3d9d
...
...
@@ -109,8 +109,10 @@ extern int errno;
#define C_STAR 0x00003
/* C* */
#define YACC 0x10000
/* yacc file */
#define streq(s,t) ((DEBUG &&!(s)&&!(t)&&(abort(),1)) || !strcmp(s,t))
#define strneq(s,t,n) ((DEBUG &&!(s)&&!(t)&&(abort(),1)) || !strncmp(s,t,n))
#define streq(s,t) ((DEBUG && (s) == NULL && (t) == NULL \
&& (abort (), 1)) || !strcmp (s, t))
#define strneq(s,t,n) ((DEBUG && (s) == NULL && (t) == NULL \
&& (abort (), 1)) || !strncmp (s, t, n))
#define lowcase(c) tolower ((char)c)
...
...
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