From 805381040dd69dd02b78423d2d71913b33f3cc33 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 8 Jun 1999 09:25:39 +0000 Subject: zsh-3.1.5-pws-21 --- Src/Modules/.distfiles | 1 + Src/Modules/mapfile.c | 1 + 2 files changed, 2 insertions(+) (limited to 'Src/Modules') diff --git a/Src/Modules/.distfiles b/Src/Modules/.distfiles index dbc152fa8..dc851bf9b 100644 --- a/Src/Modules/.distfiles +++ b/Src/Modules/.distfiles @@ -4,6 +4,7 @@ DISTFILES_SRC=' clone.mdd clone.c example.mdd example.c files.mdd files.c + mapfile.mdd mapfile.c parameter.mdd parameter.c stat.mdd stat.c zftp.mdd zftp.c diff --git a/Src/Modules/mapfile.c b/Src/Modules/mapfile.c index e98da7889..41cae80b8 100644 --- a/Src/Modules/mapfile.c +++ b/Src/Modules/mapfile.c @@ -149,6 +149,7 @@ setpmmapfile(Param pm, char *value) * pages. Honestly, I tried it without, and you need both. */ ftruncate(fd, len); + munmap(mmptr, len); } #else /* don't USE_MMAP */ /* can't be bothered to do anything too clever here */ -- cgit 1.4.1