From 4469d28b7036429982a4b2cc0a4fed92bb375e31 Mon Sep 17 00:00:00 2001 From: Tamas TEVESZ Date: Thu, 16 May 2013 22:39:24 +0200 Subject: [PATCH] 2013-05-16 22:34 UTC+0200 Tamas TEVESZ (ice extreme.hu) * contrib/3rd/sqlite3/sqlite3.hbp * Disable on Minix (no MAP_SHARED which is needed by SQLite WAL); (Hopefully a temporary measure.) * src/rtl/filesys.c ! Disable hb_fsPipeUnblock() on Minix; makes hb_processRun() work. Thanks to Przemek for the idea. --- ChangeLog.txt | 10 +++++++++- contrib/3rd/sqlite3/sqlite3.hbp | 4 ++++ src/rtl/filesys.c | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index f58ce1013b..809bfe21bc 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,5 +1,5 @@ /* - * $Id: f4934025d18f140a3ddbba830c74633a830d9ef5 $ + * $Id$ */ /* Read doc/howtorep.txt and use this format for entry headers: @@ -10,6 +10,14 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2013-05-16 22:34 UTC+0200 Tamas TEVESZ (ice extreme.hu) + * contrib/3rd/sqlite3/sqlite3.hbp + * Disable on Minix (no MAP_SHARED which is needed by SQLite WAL); + (Hopefully a temporary measure.) + * src/rtl/filesys.c + ! Disable hb_fsPipeUnblock() on Minix; + makes hb_processRun() work. Thanks to Przemek for the idea. + 2013-05-16 17:00 UTC+0200 Jfl mafact (jfl/at/mafact.com) * contrib/rddads/adsfunc.c ! Adding 2nd param to function ADSCOPYTABLECONTENT to allow filtering like in ADSCOPYTABLE diff --git a/contrib/3rd/sqlite3/sqlite3.hbp b/contrib/3rd/sqlite3/sqlite3.hbp index e50232f4fb..a06e76256d 100644 --- a/contrib/3rd/sqlite3/sqlite3.hbp +++ b/contrib/3rd/sqlite3/sqlite3.hbp @@ -9,6 +9,10 @@ # NOTE: disable *nix builds on non-*nix platforms; [vszakats] # except for cygwin-on-win -stop{!(HB_HOST_PLAT='win'&cygwin)&HB_HOST_PLAT_UNIX=''&unix} +# NOTE: no MAP_SHARED (used by WAL) -- don't yet know what to do; +# this lets the rest build. +-stop{minix} + -hblib -inc diff --git a/src/rtl/filesys.c b/src/rtl/filesys.c index 0e8e62cf56..ebf79e3f3a 100644 --- a/src/rtl/filesys.c +++ b/src/rtl/filesys.c @@ -857,7 +857,7 @@ HB_BOOL hb_fsPipeUnblock( HB_FHANDLE hPipeHandle ) { HB_TRACE( HB_TR_DEBUG, ( "hb_fsPipeUnblock(%p)", ( void * ) ( HB_PTRDIFF ) hPipeHandle ) ); -#if defined( HB_OS_UNIX ) +#if defined( HB_OS_UNIX ) && ! defined( HB_OS_MINIX ) { int ret = fcntl( hPipeHandle, F_GETFL, 0 );