[Bug 669] New - Illegal C characters from the program name are not filtered while creating the spec.c file

wine-bugs at winehq.com wine-bugs at winehq.com
Sun May 12 14:01:15 CDT 2002


http://bugs.winehq.com/show_bug.cgi?id=669

*** shadow/669	Sun May 12 14:01:15 2002
--- shadow/669.tmp.15402	Sun May 12 14:01:15 2002
***************
*** 0 ****
--- 1,29 ----
+ +============================================================================+
+ | Illegal C characters from the program name are not filtered while creating |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 669                         Product: Wine                    |
+ |       Status: UNCONFIRMED                 Version: unspecified             |
+ |   Resolution:                            Platform:                         |
+ |     Severity: normal                   OS/Version: All                     |
+ |     Priority: P1                        Component: wine-programs           |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: wine-bugs at winehq.com                                         |
+ |  Reported By: vberon at mecano.gme.usherb.ca                                  |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |    Milestone: TargetMilestone: ---                                         |
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ While adding a new program in programs/, the compilation failed because that
+ program had a dash ("-") in it's name.
+ 
+ The compilation of the spec.c file thus failed, because it would try to put the
+ name of the program (including the dash) in the name of a function.
+ 
+ I have been able to do the same thing correctly before Alexandre removed the
+ need for a spec file in programs/.
+ 
+ We need some way to remove the C identifier illegal characters (but filesystem
+ legal) from the name of the program before using that new name in the name of a
+ C function.
\ No newline at end of file



More information about the wine-bugs mailing list