[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Another patch for DOS lynx2.8.1dev.13
From: |
T.E.Dickey |
Subject: |
Re: lynx-dev Another patch for DOS lynx2.8.1dev.13 |
Date: |
Wed, 3 Jun 1998 05:38:24 -0400 (EDT) |
>
> Removing links from the bookmarks in lynx doesn't work in DOS now
> because LYOpenScratch in LYUtils.c creates illegal files under the
> 8+3 naming conventions (more than 8+3 characters, and having at least
> 2 dots). The following patch is probably not the best solution, but
> it seems to work on initial testing. The first part of the patch was
> previously submitted as part of my gigantic patch for DOS. The second
> part is the new patch for LYOpenScratch.
> Doug
I've started integrating the large patch, will add the other (or a similar fix).
> + #ifdef FNAMES_8_3
> + sprintf(result, "%s%u%s", "SCR", getpid(), HTML_SUFFIX);
> + #else
> sprintf(result, "%s-%u.%s", prefix, getpid(), HTML_SUFFIX);
> + #endif /* FNAMES_8_3 */
> if ((fp = LYNewTxtFile (result)) != 0) {
> if ((p = (LY_TEMP *)calloc(1, sizeof(LY_TEMP))) != 0) {
> p->next = ly_temp;
> Doug Kaufman
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey