2016-01-15 16:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbapifs.h
* src/common/hbfsapi.c
+ added automatic file handle table resizing to hb_fsOS2DosOpenL()
+ added new C function: hb_fsOS2DosOpen() which is wrapper to DosOpen()
with automatic file handle table resizing.
Please remember that unlike hb_fsOS2DosOpenL() this function is
pure wrapper to DosOpen() so it does not make file name conversions
and does not set hb_fsError().
* src/rtl/filesys.c
* src/rtl/hbcom.c
* src/rtl/hbproces.c
* use hb_fsOS2DosOpen() instead of DosOpen()
* src/vm/cmdarg.c
* set the initial size of file handle table to 256 in OS2 OpenWatcom
builds if user does not set it explicitly by //F:<n> switch
* config/global.mk
- removed set HARBOUR=F:100 - it's not necessary with automatic FHT
resizing
; Please test it in real OS2 environment
This commit is contained in:
@@ -2042,11 +2042,6 @@ export HARBOURCMD :=
|
||||
export CLIPPER :=
|
||||
export CLIPPERCMD :=
|
||||
|
||||
# in OS2 increase maximum number of file handle from 20 to 100 for -j<n> build switch
|
||||
ifeq ($(HB_HOST_PLAT),os2)
|
||||
export HARBOUR := F:100
|
||||
endif
|
||||
|
||||
# relevant only on non-*nix hosts where --print-directory is on by default
|
||||
ifeq ($(findstring w,$(MAKEFLAGS)),)
|
||||
MKFLAGS := --no-print-directory
|
||||
|
||||
Reference in New Issue
Block a user