Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Eric Freudenthal
Mon, 04 Jan 1993 11:07
filename '%' bug in gld from binutils release 2.0 (with fix)
Author: Eric Freudenthal
Date: Mon, 04 Jan 1993 11:07
Date: Mon, 04 Jan 1993 11:07
20 lines
1379 bytes
1379 bytes
(observed on an rs/6000 running aix:) Gcc uses mktemp() to generate "random" names for temporary files; these names may contain '%'. These filenames are passed to gld as arguments. Unfortunately, gld does not recognise '%' as a valid filename character: from ldlex.l: CMDFILENAMECHAR [_a-zA-Z0-9\/\.\\_\+\$\:\[\]\\\,\=\&\!\<\>\-\~] CMDFILENAMECHAR1 [_a-zA-Z0-9\/\.\\_\+\$\:\[\]\\\,\=\&\!\<\>\~] I added % to these productions as follows: CMDFILENAMECHAR [_a-zA-Z0-9\/\.\\_\+\$\:\[\]\\\,\=\&\!\<\>\%\~\-] CMDFILENAMECHAR1 [_a-zA-Z0-9\/\.\\_\+\$\:\[\]\\\,\=\&\!\<\>\%\~] I did not add % to productions for FILENAMECHAR or FILENAMECHAR1 because I was concerned that it might make the parser unable to recognize some arithmetic expressions. However, this leaves the program with strange semantics: some filenames can be referenced from the command line but not the script language! Eric
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads