2011-01-07 10:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/src/vm/cmdarg.c
    + added support for //F:<nFiles> application runtime switch in DOS
      and OS2 Open Watcom builds, code by Lorenzo Fiorini and Maurilio
      Longo borrowed from xHarbour.
This commit is contained in:
Przemyslaw Czerpak
2011-01-07 09:19:06 +00:00
parent be7d1eebda
commit ea845b95f8
2 changed files with 19 additions and 0 deletions

View File

@@ -16,6 +16,12 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-01-07 10:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/cmdarg.c
+ added support for //F:<nFiles> application runtime switch in DOS
and OS2 Open Watcom builds, code by Lorenzo Fiorini and Maurilio
Longo borrowed from xHarbour.
2011-01-07 10:10 UTC+0200 Petr Chornyj (myorg63 at mail.ru)
* contrib/hblzf/3rd/liblzf/lzf.h
+ Applied path from liblzf.dif

View File

@@ -516,6 +516,7 @@ HB_U32 hb_cmdargProcessVM( int * pCancelKey, int * pCancelKeyEx )
{
char * cFlags;
HB_U32 ulFlags = HB_VMFLAG_HARBOUR;
int iHandles;
if( hb_cmdargCheck( "INFO" ) )
{
@@ -548,6 +549,18 @@ HB_U32 hb_cmdargProcessVM( int * pCancelKey, int * pCancelKeyEx )
if( hb_cmdargCheck( "BUILD" ) )
hb_verBuildInfo();
iHandles = hb_cmdargNum( "F" );
if( iHandles > 20 )
{
#if defined( __WATCOMC__ )
#if defined(HB_OS_OS2)
DosSetMaxFH( iHandles );
#elif defined(HB_OS_DOS)
_grow_handles( iHandles );
#endif
#endif
}
if( ( cFlags = hb_cmdargString( "FLAGS" ) ) != NULL )
{
int i = 0;