]> git.eshelyaron.com Git - emacs.git/commitdiff
* etags.c (absolute_filename): compare against '\0' instead of NULL.
authorFrancesco Potortì <pot@gnu.org>
Mon, 18 Apr 1994 10:54:42 +0000 (10:54 +0000)
committerFrancesco Potortì <pot@gnu.org>
Mon, 18 Apr 1994 10:54:42 +0000 (10:54 +0000)
lib-src/etags.c

index d0ce3081272e544575aa980e9234b453eaddd544..066e430ebc4e63b121ff5716728600387624df3c 100644 (file)
@@ -28,7 +28,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  *     Francesco Potorti` (pot@cnuce.cnr.it) is the current maintainer.
  */
 
-char pot_etags_version[] = "@(#) pot revision number is 10.29";
+char pot_etags_version[] = "@(#) pot revision number is 10.31";
 
 #ifdef MSDOS
 #include <fcntl.h>
@@ -3235,7 +3235,7 @@ absolute_filename (file, cwd)
                }
              else              /* else (cp == res) */
                {
-                 if (slashp[3] != NULL)
+                 if (slashp[3] != '\0')
                    strcpy (cp, slashp + 4);
                  else
                    return ".";