diff options
| author | Francesco Potortì | 1994-04-18 10:54:42 +0000 |
|---|---|---|
| committer | Francesco Potortì | 1994-04-18 10:54:42 +0000 |
| commit | 1875d994439974e29f0005b68167a6a991aa1564 (patch) | |
| tree | 24d2c876203e20dc9f80f16834526d2377662d11 /lib-src | |
| parent | 2cb9019591e905551e2098b5cf38d226dcf3c143 (diff) | |
| download | emacs-1875d994439974e29f0005b68167a6a991aa1564.tar.gz emacs-1875d994439974e29f0005b68167a6a991aa1564.zip | |
* etags.c (absolute_filename): compare against '\0' instead of NULL.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index d0ce3081272..066e430ebc4 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -28,7 +28,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 28 | * Francesco Potorti` (pot@cnuce.cnr.it) is the current maintainer. | 28 | * Francesco Potorti` (pot@cnuce.cnr.it) is the current maintainer. |
| 29 | */ | 29 | */ |
| 30 | 30 | ||
| 31 | char pot_etags_version[] = "@(#) pot revision number is 10.29"; | 31 | char pot_etags_version[] = "@(#) pot revision number is 10.31"; |
| 32 | 32 | ||
| 33 | #ifdef MSDOS | 33 | #ifdef MSDOS |
| 34 | #include <fcntl.h> | 34 | #include <fcntl.h> |
| @@ -3235,7 +3235,7 @@ absolute_filename (file, cwd) | |||
| 3235 | } | 3235 | } |
| 3236 | else /* else (cp == res) */ | 3236 | else /* else (cp == res) */ |
| 3237 | { | 3237 | { |
| 3238 | if (slashp[3] != NULL) | 3238 | if (slashp[3] != '\0') |
| 3239 | strcpy (cp, slashp + 4); | 3239 | strcpy (cp, slashp + 4); |
| 3240 | else | 3240 | else |
| 3241 | return "."; | 3241 | return "."; |