More fun escaping dots in tovmsspec.
authorCraig A. Berry <craigberry@mac.com>
Fri, 14 Dec 2012 14:29:55 +0000 (08:29 -0600)
committerCraig A. Berry <craigberry@mac.com>
Fri, 14 Dec 2012 14:50:11 +0000 (08:50 -0600)
commitb7bc7afbe074add30fdf01d619e7cfef04b07403
treefe3fdb1a20c9f0bceee06416419cee40215ddd94
parent35c9969e6e0005027f32d516744606751dcaab67
More fun escaping dots in tovmsspec.

c1abd561a0a322 avoided the double escaping of dots in filenames,
but failed to copy the dot itself in cases where it was already
escaped.  Plus, when not using extended file specifications and
thus converting the dot to an underscore, we need to make sure
the underscore is not escaped.

And add a test that covers most of these scenarios.  Probably
more tests are needed.
vms/ext/filespec.t
vms/vms.c