lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV Lynx W32 bug report


From: Wayne Buttles
Subject: Re: LYNX-DEV Lynx W32 bug report
Date: Thu, 6 Mar 1997 23:30:44 -0500 (EST)

Is this close enough to correct?  I don't understand the need for
~buttles/ when ~/ should do the same thing and if it doesn't then why
would you do it with lynx.cfg?

        /*        
         *  Convert a '~' in the configuration file path to $HOME.        
         */

if (lynx_cfg_file[0] == '~') {
#ifdef VMS
        StrAllocCopy(temp, HTVMS_wwwName((char *)Home_Dir()));
#else
        StrAllocCopy(temp, Home_Dir());
#endif /* VMS */
        StrAllocCat(temp, lynx_cfg_file+1);
        FREE(lynx_cfg_file);
        StrAllocCopy(lynx_cfg_file, temp);
        FREE(temp);
}

Wayne

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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