aboutsummaryrefslogtreecommitdiffstats
path: root/local.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-02 16:26:08 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-02 16:26:08 +0000
commitba4557fc9d049b27fce357301c72433139f2a44a (patch)
tree341367a1626bfdd732a9a569c2f95edeab3b4406 /local.c
parent[w3m-dev 02604] (diff)
downloadw3m-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/local.c b/local.c
index c646ca7..e4d7278 100644
--- a/local.c
+++ b/local.c
@@ -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);