that the maintainer wishes to use to create a shared library for use with other applications such as CDE. It is based on ksh93v (2014-12-24) and is incompatible with the direction that att/ast is taking the official ksh93 implementation. PR: 237332 Requested by: maintainer (saper@saper.info)
14 lines
381 B
C
14 lines
381 B
C
--- 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;
|
|
|