Bug 000292

When Created: 07/08/1999 03:00:01
Against DJGPP version: 2.02
By whom:
Abstract: command line parsing bug
I hope the stuff below makes sense, im not too good at describing stuff :)
well, short filenames (8.3) with the ' letter in them is behaving wierd..
the ' is for some reason chopped off..

BUMP'N~1 NES        65,679  04-17-97  8:38p Bump 'n Jump.nes

E:\neshead>nes bump'~1.nes
NES Header tool v0.1

Couldn't open bump~1.nes


the command: nes "bump 'n jump.nes" 
however works.

Note added: 07/12/1999 12:00:02
By whom:
The root of the problem is that DJGPP tries to interpret the command line
in a Unixy style -- and fails to complain about a syntax error in doing

Particularly, in the case at hand the quote character is interpreted as
the opening of a quoted command line argument. The startup code doesn't
seem to complain that there is no closing quote to be seen, and just eats
up the quote.

Workaround added: 07/12/1999 13:00:07
By whom:
Enclosing the filename in double quotes was found to work around the

Note added: 07/13/1999 09:00:05
By whom:
The startup code indeed doesn't complain about unbalanced quotes.
However, that's not a bug, but a deliberately chosen behavior.  I think
that the startup code should in general quietly do the reasonable thing
and not emit gratuitious messages.

The way to pass quote characters to a DJGPP program is described in
section 16.3 of the DJGPP FAQ list.

I'm closing this bug report.

Closed on 07/13/1999 09:00:14: This is expected behavior.
By whom:

  webmaster     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010