2012-07-22 15:55 UTC+0200 Viktor Szakats (vszakats syenar.net)

* contrib/hbide/idestylesheets.prg
  * contrib/hbide/idetags.prg
    ! fixed wrong usage of hb_B*() raw string functions

  * contrib/hbmysql/utils/dbf2mysq.prg
    * formatting

  * contrib/hbpgsql/tests/dbf2pg.prg
  * extras/httpsrv/session.prg
  * extras/hbvpdf/hbvpdf.prg
  * extras/hbvpdf/hbvpdft.prg
  * tests/rddtest/rddtst.prg
    * using F_ERROR instead of -1

  * contrib/hbtip/tests/dnldftp.prg
  * contrib/hbtip/tests/upld_ftp.prg
  * tests/codebloc.prg
  * tests/recursiv.prg
  * tests/test_all.prg
  * tests/testdbf.prg
  * tests/teststr.prg
    * using hb_eol() instead of explict chr() values
This commit is contained in:
Viktor Szakats
2012-07-22 13:59:53 +00:00
parent 96fffaa0ea
commit 2242853a44
16 changed files with 105 additions and 85 deletions

View File

@@ -598,7 +598,7 @@ METHOD SessionRead( cID ) CLASS uhttpd_Session
//TraceLog( "SessionRead: cFile", cFile )
IF File( cFile )
DO WHILE nRetry++ <= ::nFileRetry
IF ( nH := FOpen( cFile, FO_READ + FO_DENYWRITE ) ) != -1
IF ( nH := FOpen( cFile, FO_READ + FO_DENYWRITE ) ) != F_ERROR
nRetry := 0
DO WHILE nRetry++ <= ::nFileRetry
@@ -642,7 +642,7 @@ METHOD SessionWrite( cID, cData ) CLASS uhttpd_Session
//TraceLog( "SessionWrite() - cFile", cFile )
IF nFileSize > 0
DO WHILE nRetry++ <= ::nFileRetry
IF ( nH := hb_FCreate( cFile, FC_NORMAL, FO_READWRITE + FO_DENYWRITE ) ) != -1
IF ( nH := hb_FCreate( cFile, FC_NORMAL, FO_READWRITE + FO_DENYWRITE ) ) != F_ERROR
IF ( FWrite( nH, @cData, nFileSize ) ) != nFileSize
uhttpd_Die( "ERROR: On writing session file : " + cFile + ", File error : " + hb_cStr( FError() ) )
ELSE