<smile> I didn't think you COULD omit the space -- it was pure human (as in, me) error....
But realistically, I think at some point it would be a good idea to have stronger parsing of that command-line to either handle this or generate an error to the user -- whatever makes sense design-wise. The alternative of just dying on the first write to a logfile isn't a good thing :) I posted this for two reasons, though: A) As a note to anyone in the future who has this problem -- it's one of those head-scratching-what-did-I-do-wrong problems that hopefully someone will avoid because I posted this. And B) Maybe in some later version, you could deal with this -- just tuck it into your "to do when hell freezes over" list :) > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Davide Libenzi > Sent: Thursday, January 23, 2003 7:49 AM > To: [EMAIL PROTECTED] > Subject: [xmail] Re: Bug in command line parsing > > > > On Tue, 21 Jan 2003 [EMAIL PROTECTED] wrote: > > > > > In Xmail V1.11 (I assume this is so in other versions), I > ran across a > > minor bug in how Xmail parses its command-line on start-up. > > > > If you DO NOT put in a space after the -Mr flag (which > controls the # > > of hours it takes the logs to rotate), the Xmail service > will die the > > first time it tries to write to any log. > > > > So, a command line that contains "-Mr24" will kill the application; > > "-Mr 24" works just fine, of course. > > > > This may be different under Linux -- this was tested under Windows > > 2000 Server. > > > > Obviously, this is not a security issue in any way nor is it really > > much of a problem -- unless, of course, you run into yourself and > > spend an hour scratching your head over it :) > > This is an "As Designed". Where did you read that you can > omit the space between the switch and the parameter ? > > > > - Davide > > - > To unsubscribe from this list: send the line "unsubscribe > xmail" in the body of a message to [EMAIL PROTECTED] > For general help: send the line "help" in the body of a > message to [EMAIL PROTECTED] > > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
