lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev cygwin patch


From: Doug Kaufman
Subject: lynx-dev cygwin patch
Date: Sat, 29 Apr 2000 23:34:33 -0700 (PDT)

The DOS and Windows ports stopped using cp to copy temporary files,
but the cygwin port was still using the old method. This makes it more
difficult to make a binary portable between systems, since not all cp
binaries will handle the cygwin drive letter syntax (e.g. the DJGPP cp
will not). The following change lets cygwin use the same method as the
other DOS/Windows ports. (diff against pre.8)
                            Doug

--- lynx2-8-3/src/LYUtils.c     Mon Apr 17 03:59:18 2000
+++ lynx2-8-3/src/LYUtils.c.new Sun Apr 23 13:33:56 2000
@@ -7331,7 +7331,7 @@
        char *,         src,
        char *,         dst)
 {
-#if defined(DOSPATH)           /* thanks to Hiroyuki Senshu */
+#if defined(DOSPATH) || defined(__CYGWIN__)            /* thanks to Hiroyuki 
Senshu */
 
 #define BUF_SIZE       1024
 

__ 
Doug Kaufman
Internet: address@hidden


reply via email to

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