* PATCH: pws-N: latest mapfile bug
@ 1999-06-05 15:32 Peter Stephenson
0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 1999-06-05 15:32 UTC (permalink / raw)
To: Zsh hackers list
I discovered the latest unfeasibly simple bug with mapfile which was causing
problems on HPUX.
--- Src/Modules/mapfile.c.goodish Sat Jun 5 17:10:01 1999
+++ Src/Modules/mapfile.c Sat Jun 5 17:28:57 1999
@@ -149,6 +149,7 @@
* 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 */
--
Peter Stephenson <pws@ibmth.df.unipi.it> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-06-05 16:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-05 15:32 PATCH: pws-N: latest mapfile bug Peter Stephenson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).