diff --git a/ChangeLog.txt b/ChangeLog.txt index 06f9ca864b..9e85a7cbc7 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,20 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2016-03-08 22:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * src/rtl/isprint.c + ! HB_ISPRINTER(), ISPRINTER() fix to open the port name with CREATE + flag (= CREATE_ALWAYS on Windows). It may fix port detection in + certain situations. Tested on Windows 7 x86 and x64, whereas it + will now return .T. if the port is associated with a queue, + and .F. if it isn't. It seems to cause no harm on OS X. Please + test it on other systems and other LPT scenarios (f.e. with real + hardware device attached). + ; borrowed from Viktor's fork: 2016-03-08 18:19 UTC+0100 Viktor Szakats + + * ChangeLog.txt + ; hide e-mail addresses + 2016-03-08 16:18 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/hbwin.ch + added macros with printer status errors @@ -34,11 +48,11 @@ * src/lang/Makefile + src/lang/l_de_at.c * include/hblang.hbx - + added new DE_AT German-Austria lang module by byte1one@gmail.com + + added new DE_AT German-Austria lang module by byte1one/at/gmail.com * src/lang/l_is.c ! fixes in Icelandic lang module by Isleifur Gislason - + 2016-03-01 16:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttrm/gttrm.c diff --git a/src/rtl/isprint.c b/src/rtl/isprint.c index e20e628b8b..3d14ed3269 100644 --- a/src/rtl/isprint.c +++ b/src/rtl/isprint.c @@ -113,7 +113,8 @@ HB_BOOL hb_printerIsReady( const char * pszPrinterName ) #endif pFile = hb_fileExtOpen( pszPrinterName, NULL, - FO_WRITE | FO_SHARED | FO_PRIVATE, NULL, NULL ); + FXO_APPEND | FO_WRITE | FO_SHARED | FO_PRIVATE, + NULL, NULL ); bIsPrinter = ( pFile != NULL ); if( bIsPrinter ) hb_fileClose( pFile );