mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 23:30:29 -04:00
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)
18 lines
410 B
C
18 lines
410 B
C
--- src/lib/libast/sfio/sfpurge.c.orig 2016-02-28 17:09:23 UTC
|
|
+++ src/lib/libast/sfio/sfpurge.c
|
|
@@ -54,7 +54,6 @@ Sfio_t* f;
|
|
SFLOCK(f,0);
|
|
|
|
/* if memory map must be a read stream, pretend data is gone */
|
|
-#if _mmap_worthy
|
|
if(f->bits&SF_MMAP)
|
|
{ f->here -= f->endb - f->next;
|
|
if(f->data)
|
|
@@ -64,7 +63,6 @@ Sfio_t* f;
|
|
SFOPEN(f,0);
|
|
SFMTXRETURN(f, 0);
|
|
}
|
|
-#endif
|
|
|
|
switch(f->mode&~SF_LOCK)
|
|
{
|