lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV Problems with lynx2.7.1ac-0.101 (in general and


From: Leonid Pauzner
Subject: Re: LYNX-DEV Problems with lynx2.7.1ac-0.101 (in general and
Date: Fri, 19 Dec 1997 14:47:47 +0300 (MSK)

>      * Subject: Re: LYNX-DEV Problems with lynx2.7.1ac-0.101 (in general
>        and specifically on LINUX)
>      * From: Wayne Buttles <address@hidden>
>      * Date: Thu, 18 Dec 1997 12:34:11 -0500 (EST)
>      * In-Reply-To: <address@hidden>
>      * Reply-To: address@hidden
>      * Sender: address@hidden
>
>      _________________________________________________________________
>
>
>
> On Thu, 18 Dec 1997, WWW server manager wrote:
> > (1) LYBookmark.c gives a syntax error at line 603 (with both Sun's C
> > compiler on Solaris 2.6 and gcc on LINUX). At a quick glance, the problem
> > appears to be an extraneous "}" on the previous line - commenting that out
> > certainly allows it to compile though I haven't looked closely enough to be
> > sure it's the right fix.
>
> I just reversed it, as well ad added:
>
> * few commented messages corrected according to RFC2068 (HTTP1.1)
>   (Leonid Pauzner)
>
> ac-0.102
>
>      _________________________________________________________________

Sorry, if was my wrong invention.
LYBookmark.c have 80 opening { and 79 closing }
because of a strange playing with "{" within ifdefs
(yes, Wayne, it is _WINDOWS ifdef), that mess me up first. Sorry.
Leonid Pauzner.


    } else {
#ifndef VMS
        /*
         *  Rename won't work across file systems.
         *  Check if this is the case and do something appropriate.
         *  Used to be ODD_RENAME
         */
#ifdef _WINDOWS
        if (errno == ENOTSAM) {
#else
        if (errno == EXDEV) {
#endif /* WINDOWS */
            char buffer[2048];
            sprintf(buffer, "%s %s %s", MV_PATH, newfile, filename_buffer);
            system(buffer);
            return;
        }
#endif /* !VMS */

#ifdef VMS
        _statusline(ERROR_RENAMING_SCRA);
#else
        _statusline(ERROR_RENAMING_TEMP);
#endif /* VMS */
        if (TRACE)
            perror("renaming the file");
        sleep(AlertSecs);
    }

failure:
    _statusline(BOOKMARK_DEL_FAILED);
    sleep(AlertSecs);
    if (nfp != NULL)
        fclose(nfp);
    if (fp != NULL)
        fclose(fp);
    remove(newfile);
}

/*
 *  Allows user to select sub-bookmarks files. - FMG & FM
 */
PUBLIC int select_multi_bookmarks NOARGS

reply via email to

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