mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
* etags.c (absolute_filename): compare against '\0' instead of NULL.
This commit is contained in:
parent
2cb9019591
commit
1875d99443
@ -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 ".";
|
||||
|
Loading…
Reference in New Issue
Block a user