Changeset View
Changeset View
Standalone View
Standalone View
shells/ksh93/files/patch-src_lib_libast_sfio_sfclose.c
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/lib/libast/sfio/sfclose.c.orig 2016-02-28 17:09:23 UTC | |||||
+++ src/lib/libast/sfio/sfclose.c | |||||
@@ -104,11 +104,9 @@ Sfio_t* f; | |||||
if(f->data && (!local || (f->flags&SF_STRING) || (f->bits&SF_MMAP) ) ) | |||||
{ /* free buffer */ | |||||
-#if _mmap_worthy | |||||
if(f->bits&SF_MMAP) | |||||
SFMUNMAP(f,f->data,f->endb-f->data); | |||||
else | |||||
-#endif | |||||
if(f->flags&SF_MALLOC) | |||||
data = (Void_t*)f->data; | |||||