diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-02 16:26:08 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-02 16:26:08 +0000 |
commit | ba4557fc9d049b27fce357301c72433139f2a44a (patch) | |
tree | 341367a1626bfdd732a9a569c2f95edeab3b4406 /local.c | |
parent | [w3m-dev 02604] (diff) | |
download | w3m-ba4557fc9d049b27fce357301c72433139f2a44a.tar.gz w3m-ba4557fc9d049b27fce357301c72433139f2a44a.zip |
[w3m-dev 02605]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to 'local.c')
-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); |