lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV LYNX_386 - another patch


From: Doug Kaufman
Subject: LYNX-DEV LYNX_386 - another patch
Date: Sun, 6 Jul 1997 09:55:58 -0700 (PDT)

Here's another attempt at a fix for LYNX_386. The VIEWER method of
viewing binaries wasn't working because the temporary files were opened
in text mode and getting truncated at the first hex 1a. This patch
causes the program to default to binary open, and seems to work.

*** lynx2-7-1/src/LYMain.c      Sat May 24 17:14:20 1997
--- lynx2-7-1/src/LYMain.c.new  Sat Jul  5 22:31:24 1997
***************
*** 521,526 ****
--- 521,527 ----
  
  #ifdef DJGPP
          sock_init();
+       _fmode = O_BINARY;
  #endif
  
  #ifdef DOSPATH



                               Doug
__
Doug Kaufman
Internet: address@hidden (preferred)
          address@hidden

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]