lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev lynx2.8.2dev.19 patch #3 (non UNIX build)


From: Leonid Pauzner
Subject: lynx-dev lynx2.8.2dev.19 patch #3 (non UNIX build)
Date: Fri, 5 Mar 1999 11:17:51 +0300 (MSK)

In order to build recent changes with DJGPP we should fix -


diff -u old/lyprint.c ./lyprint.c
--- old/lyprint.c       Thu Mar  4 02:39:46 1999
+++ ./lyprint.c Fri Mar  5 09:47:18 1999
@@ -1415,7 +1415,11 @@
      *  Check for file existence; readability.
      */
     if ((stat (tbuf, &stat_info) < 0) ||
-       (!(S_ISREG(stat_info.st_mode) || S_ISLNK(stat_info.st_mode)))) {
+       (!(S_ISREG(stat_info.st_mode)
+#ifdef S_IFLNK
+         || S_ISLNK(stat_info.st_mode)
+#endif /* S_IFLNK */
+        ))) {
         HTInfoMsg (FILE_DOES_NOT_EXIST);
         _statusline(FILE_DOES_NOT_EXIST_RE);
         FirstRecall = TRUE;



reply via email to

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