lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev 2.8.5dev.5 problems on Win95


From: Hataguchi Takeshi
Subject: lynx-dev 2.8.5dev.5 problems on Win95
Date: Wed, 12 Dec 2001 20:48:04 +0900 (JST)

I found some problems in 2.8.5dev.5 on Windows.

  1. Compilation was failed becauses the difference of the number of
    the arguments of mkdir(). I need a patch, which is attached with
    this mail, to compile with Borland's compiler.

  2. The indentation of files and directories are diffrent in
    directory listing.

    ex.)
        Current directory is d:\home\patakuti

           Up to home

                 Mar 27  1999 Mail\
                 May 05  1999 News\
               1K Jun 19  1997 RMAIL
                 Feb 14  1999 bin\
                 Feb 14  1999 cmd\
                 Nov 29 22:22 cvs\
                 Feb 14  1999 etc\
              13K May 05  1999 lynx.rc
               2K Dec 12 19:55 lynx_bookmarks.html
               1K Sep 23  2000 mailcap
               2K Sep 23  2000 mime.types
                 Dec 13  1999 public_html\
               2K Nov 08  2000 rogue.scores
                 Feb 14  1999 tmp\

  3. Lynx shows the URL of the last link as
    file://localhost/d:/home/patakuti/tmp%5C in *Mixed style*
    directory listing, though I think
    file://localhost/d:/home/patakuti/tmp is better.

    And Lynx would pass a wrong file name to the external program when
    I follow the last link (tmp) and select a file in the directory to
    call an external program.

    ex: Original name:
            d:\home\patakuti\tmp\foo.doc
        The name Lynx will pass ("\" is put twice before foo.doc):
            d:\home\patakuti\tmp\\foo.doc
--
Takeshi Hataguchi
E-mail: address@hidden

diff -ru orig/lynx2-8-5/src/LYLocal.c lynx2-8-5/src/LYLocal.c
--- orig/lynx2-8-5/src/LYLocal.c        Mon Nov 19 10:37:14 2001
+++ lynx2-8-5/src/LYLocal.c     Wed Dec 12 18:17:20 2001
@@ -434,7 +434,11 @@
     code = (LYExecv(MKDIR_PATH, args, msg) <= 0) ? -1 : 1;
     FREE(msg);
 #else
+#ifndef _WINDOWS
     code = mkdir(path, 0777) ? -1 : 1;
+#else
+    code = mkdir(path) ? -1 : 1;
+#endif
 #endif
     return (code);
 }

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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