diff options
Diffstat (limited to '')
-rw-r--r-- | local.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: local.c,v 1.10 2001/11/29 09:34:14 ukai Exp $ */ +/* $Id: local.c,v 1.11 2001/12/02 16:26:08 ukai Exp $ */ #include "fm.h" #include <string.h> #include <stdio.h> @@ -64,7 +64,7 @@ dirBuffer(char *dname) flist = New_N(char *, nfile_max); nfile = 0; while ((dir = readdir(d)) != NULL) { - flist[nfile++] = allocStr(dir->d_name, 0); + flist[nfile++] = allocStr(dir->d_name, -1); if (nfile == nfile_max) { nfile_max *= 2; flist = New_Reuse(char *, flist, nfile_max); |