diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 04ad54176c..42ad5a3276 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2011-11-15 23:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/src/rtl/hbproces.c + * added workaround for missing chroot() in OpenWatcom 1.9 linux libraries + 2011-11-14 13:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c + added support for selecting text with mouse and coping it diff --git a/harbour/src/rtl/hbproces.c b/harbour/src/rtl/hbproces.c index 3d72a9a158..5999a7bb95 100644 --- a/harbour/src/rtl/hbproces.c +++ b/harbour/src/rtl/hbproces.c @@ -1237,7 +1237,7 @@ int hb_fsProcessRun( const char * pszFilename, return iResult; } -/* temporary hack for still missing sysconf() in Watcom 1.9 */ +/* temporary hack for still missing sysconf() and chroot() in Watcom 1.9 */ #if defined( HB_OS_LINUX ) && defined( __WATCOMC__ ) && \ __WATCOMC__ <= 1290 _WCRTLINK long sysconf( int __name ) @@ -1255,4 +1255,13 @@ _WCRTLINK long sysconf( int __name ) } return -1; } + +_WCRTLINK int chroot(const char *__path) +{ + int iTODO; + + HB_SYMBOL_UNUSED( __path ); + + return -1; +} #endif