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
This commit is contained in:
Przemysław Czerpak
2016-03-08 22:10:30 +01:00
parent 668574f194
commit fb2004d566
2 changed files with 18 additions and 3 deletions

View File

@@ -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
<isleifurgisla@gmail.com>
<isleifurgisla/at/gmail.com>
2016-03-01 16:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gttrm/gttrm.c

View File

@@ -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 );