Commit ID: 100587686986AD3A77F CVSROOT: /cvs Module name: contrib Changes by: t...@herc.mirbsd.org 2017/01/11 19:26:54 UTC
Modified files: code/jupp : joe.1.in main.c setup.inf Log message: add -CYGhack command line option; use it in right-click menu… the details are buried deep in cygwin32 source code, but it boils down to: C:\>ga \\foo\bar baz.txt argv[1] = \\foo\bar argv[2] = baz.txt C:\>ga "\\foo\bar baz.txt" argv[1] = \foo\bar baz.txt argv[2] IS NULL I consider this a bug, but as it’s there, let’s parse our command line on our own… again with the codepage dance we already use in utf8.c… (and now I also know why the set of permissible filenames is so limited) … anyway, it works (I tested it on my win2k VM)! To generate a diff of this changeset, execute the following commands: cvs -R rdiff -kk -upr1.22 -r1.23 contrib/code/jupp/joe.1.in cvs -R rdiff -kk -upr1.26 -r1.27 contrib/code/jupp/main.c cvs -R rdiff -kk -upr1.5 -r1.6 contrib/code/jupp/setup.inf