diff src/sysdep.c @ 444:576fb035e263 r21-2-37

Import from CVS: tag r21-2-37
author cvs
date Mon, 13 Aug 2007 11:36:19 +0200
parents abe6d1db359e
children 3d3049ae1304
line wrap: on
line diff
--- a/src/sysdep.c	Mon Aug 13 11:35:05 2007 +0200
+++ b/src/sysdep.c	Mon Aug 13 11:36:19 2007 +0200
@@ -3031,7 +3031,7 @@
 			  Qfile_name);
 
       Dynarr_add_many (internal_DIRENTRY, internal_name, internal_len);
-      Dynarr_add (internal_DIRENTRY, 0); /* zero-terminate */
+      Dynarr_add (internal_DIRENTRY, '\0'); /* NUL-terminate */
       return (DIRENTRY *) Dynarr_atp (internal_DIRENTRY, 0);
     }
   }