|
From: | Alan Cox |
Subject: | Re: LYNX-DEV Lynx W32 bug report |
Date: | Fri, 7 Mar 1997 09:55:30 +0000 (GMT) |
> 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? ~someoneelse/ eg ~lynx/... > /* > * Convert a '~' in the configuration file path to $HOME. > */ > > if (lynx_cfg_file[0] == '~') { && lynx_cfg_file[1]=='/') if you do it this way. What is supposed to occur in Unix is: ~/ -> $HOME ~validusername/ -> getpwnam(validusername); pw->pw_dir return field Note: if I set $HOME somewhere then ~ and ~myusername are different. HTH Alan ; ; To UNSUBSCRIBE: Send a mail message to address@hidden ; with "unsubscribe lynx-dev" (without the ; quotation marks) on a line by itself. ;
[Prev in Thread] | Current Thread | [Next in Thread] |