[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev lynx2.8.1pre.6
From: |
Leonid Pauzner |
Subject: |
Re: lynx-dev lynx2.8.1pre.6 |
Date: |
Fri, 2 Oct 1998 21:24:17 +0400 (MSD) |
> * tweak suggested filename for download menu: now it we have URL
> terminated with "/" (e.g. a directory or possibly root) do one more try -
> remove terminating "/" and try isolate a directory name as a suggested
> file name (but let prepend with a "-" dash for memory if we do so) - LP
> --ATTACHMENT-- Binary file <pre6fix3.zip>
Sorry, I made an error,
please add this against the patch above:
--- lyutils.err Fri Oct 2 19:42:12 1998
+++ lyutils.c Fri Oct 2 21:19:12 1998
@@ -3029,7 +3029,7 @@
* remove the last_slash and repeat the passage above
* but add a "-" dash in the beginning of the result string. - LP
*/
- fname[strlen(fname)] = '\0';
+ fname[strlen(fname) - 1] = '\0';
if ((cp = strrchr(fname,'/')) != NULL && strlen(cp) > 1) {
cp1 = fname;
/*
Re: lynx-dev lynx2.8.1pre.6 : bugs, Philip Webb, 1998/10/02
Re: lynx-dev lynx2.8.1pre.6,
Leonid Pauzner <=