Overview
| Artifact ID: | 7e99bcb1528055c26b5dd73ad3833eb005190f8d |
|---|---|
| Ticket: | 218534ffffffffffffffffffffffffffffffffff
More support for extensions written in C++. |
| User & Date: | nobody on 2000-10-26 01:01:51 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 920 Bug Version: 8.0.4 SubmitDate: '1998-12-04' LastModified: '1999-02-02' Severity: LOW Status: Released Submitter: welch ChangedBy: stanton OS: Windows NT OSVersion: NT 4.0, SP3 Machine: X86 FixedDate: '1999-02-02' FixedInVersion: 8.0.5 ClosedDate: '2000-10-25' Name: Jan Nijtmans DesiredBehavior: The "dumpexts" utility is too agressive in stripping '@' characters from symbol names. For C this doesn't matter, but for extensions written en C++ this is fatal. Because the fix is trivial, and only is two lines, it could as easily be incorporated in the core. This patch changes the behavior a little bit in two ways: - if there are multiple '@' characters, the last one is taken (use strrchr in stead of strchr) - strip only if the '@' is followed by a digit. For extensions written in C this change makes no difference at all, because the symbols always end with '@' followed by one or more digits. It would be nice if dumpexts.exe could be used for C++ extensions as well. Patch: *** win/winDumpExts.c.origMon Sep 14 21:40:21 1998 --- win/winDumpExts.cMon Nov 30 11:11:56 1998 *************** *** 236,243 **** strcpy(symbol, s); } s = symbol; ! f = strchr(s, '@'); ! if (f) { *f = 0; } #if defined(_MSC_VER) && defined(_X86_) --- 236,243 ---- strcpy(symbol, s); } s = symbol; ! f = strrchr(s, '@'); ! if (f && f[1] >= '0' && f[1] <= '9' &&) { *f = 0; } #if defined(_MSC_VER) && defined(_X86_) PatchFiles: winDumpExts.c - foundin changed to: "obsolete: 8.0.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "More support for extensions written in C++."
- type changed to: "Bug"