BTW if even Excel writes forward slashes are there any programs at all which write a backslash?
Seems old winzips did. http://www.info-zip.org/FAQ.html#backslashes
Looking at
http://web.archive.org, that page started to get that backslash info between beginning of 2004, and beginning of 2005. Even then, those winzips were already "old".
Still it would be wise to have a passthrough (write as user specificies), in case sb has to live with an app that really wants it. But that can be disabled by default.
1. The fpc zip code only allowed \ when running on Windows, not on Unix, so it wasn't supported cross-platform anyway
2. The standard requires use of / and the info-zip page does not mention that those winzips could not
read the standard / but absolutely
required the \.
3. With current trunk, if an application adds > <large amount of files> (sorry, can't remember count), currently zip64 format is automatically used. Those old utilities will not support that and error out anyway.
Adding an option that allows people to deviate from the standard only for very specific cases seems a bit too conservative (and prone to error due to people tweaking that option without clue).
Edit: updated typos. Thanks rvk
I'd suggest still accepting \ on Windows for reading (as it is currently done) but forcing / on writing on Windows as well, then document the more strict adherence on FPC User changes trunk.
Currently working on a patch including test cases that does this...
Of course, if you do want to add some override to it... well, you're one of the guys who have commit rights there, so I'm certainly open to suggestions
