[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Separator problem
From: |
Dmitry Bogatov |
Subject: |
[Bug-wget] Separator problem |
Date: |
Sat, 6 Oct 2012 03:40:12 +0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
In my previous patch(not applied yet), I refactored some code,
but did not fixed mistake in this line:
sprintf (path, "%s/%s", home, NETRC_FILE_NAME);
Unfortunately, we do not live in a perfect world, and there is OS,
where separator is different. There is already code for getting
separator for DOS-like systems, based on parsing `argv0'.
But it introduce static variables and other ugly things.
Any other, more beatiful solution? I find strange, that GNU project
deals with this OS zoo, and do not have public portability layer.
--
Best regards, Dmitry Bogatov.
Feel free to contact me via email address@hidden',
Jabber address@hidden' or mobile
`+79629214880' (Moscow, Beeline).
I prefer plain text mail to html one.
- [Bug-wget] Separator problem,
Dmitry Bogatov <=