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@winehq.com | + | Reported By: vberon@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