Wireshark-bugs: [Wireshark-bugs] [Bug 1129] New: idl2wrs produces invalid procedure names if inp

Date: Thu, 28 Sep 2006 10:33:01 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1129

           Summary: idl2wrs produces invalid procedure names if input file
                    name contains a "-"
           Product: Wireshark
           Version: 0.99.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Extras
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: martinmeis@xxxxxxxxxxxxxx


Build Information:
--
--
When running
$ sh idl2wrs foo-bar.idl > ./foo-bar.c
the resulting C-code includes invalid (because of the minus) procedure names
like e.g.:
"proto_register_handoff_giop_foo-bar()"

I think a solution would be to substitute minuses in the the @dissector_name@
variable with something valid to use in procedure names (like underscore) - if
that has no side effects.

Omniidl Version:
$ omniidl -V
omniidl version 1.0


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.