On Friday, February 22, 2002, at 05:36 PM, Tom Bradford wrote:
On Friday, February 22, 2002, at 05:29 PM, Kimbro Staken wrote:Well that is interesting, Windows won't let you create a directory named com1. Try it, I had no idea that was the case.
Yup COM1, COM2, COM3, COM4, LPT1, LPT2, even CON. They're all reserved filenames from the DOS days. I mean, how else are you going to print something unless you type:
copy MYFILE.TXT LPT1
And to think, I thought Windows XP was based on an entirely new OS. Nice to know we still have all the good old DOS crap still available.
Seems we need to handle the error case where the directory can't be created, a little more cleanly.
I'll try to add some error code since I'm working in that part of the system as we speak.
Well while you're at it you might want to look at the index corrupted error. It still occurs under Windows. All you have to do is start the server, create a collection, shutdown the server and then start it again. A simple list documents will cause the error. It seems to work OK on Mac OS X.
-- Tom Bradford - http://www.tbradford.org Architect - XQRL (XQuery Engine) - http://www.xqrl.com Apache Xindice (Native XML Database) - http://xml.apache.org Project Labrador (Web Services Framework) - http://notdotnet.org
Kimbro Staken - http://www.kstaken.org - http://www.xmldatabases.org Apache Xindice native XML database http://xml.apache.org XML:DB Initiative http://www.xmldb.org Senior Technologist (Your company name here)
