comparison src/emacs.c @ 377:d883f39b8495 r21-2b4

Import from CVS: tag r21-2b4
author cvs
date Mon, 13 Aug 2007 11:05:42 +0200
parents 6240c7796c7a
children 8626e4521993
comparison
equal deleted inserted replaced
376:e2295b4d9f2e 377:d883f39b8495
2511 if (!path) 2511 if (!path)
2512 return Qnil; 2512 return Qnil;
2513 2513
2514 GET_C_CHARPTR_INT_FILENAME_DATA_ALLOCA (path, newpath); 2514 GET_C_CHARPTR_INT_FILENAME_DATA_ALLOCA (path, newpath);
2515 2515
2516 len = strlen (newpath); 2516 len = strlen ((const char *) newpath);
2517 /* #### Does this make sense? It certainly does for 2517 /* #### Does this make sense? It certainly does for
2518 decode_env_path(), but it looks dubious here. Does any code 2518 decode_env_path(), but it looks dubious here. Does any code
2519 depend on decode_path("") returning nil instead of an empty 2519 depend on decode_path("") returning nil instead of an empty
2520 string? */ 2520 string? */
2521 if (!len) 2521 if (!len)