Parent Directory
|
Revision Log
|
Patch
| revision 1.49 by masse, Thu Feb 7 05:24:19 2002 UTC | revision 1.50 by teddy, Thu Feb 7 23:52:20 2002 UTC | |
|---|---|---|
| # | Line 203 char *mangle_(const char *old_string){ | Line 203 char *mangle_(const char *old_string){ |
| 203 | ="0123456789abcdef"; | ="0123456789abcdef"; |
| 204 | char *new_string, *current; | char *new_string, *current; |
| 205 | ||
| 206 | new_string=malloc(strlen(old_string)+4); | new_string=malloc((strlen(old_string)*2)+4); |
| 207 | strcpy(new_string, "sx_"); /* Stack eXternal */ | strcpy(new_string, "sx_"); /* Stack eXternal */ |
| 208 | current=new_string+3; | current=new_string+3; |
| 209 | while(old_string[0] != '\0'){ | while(old_string[0] != '\0'){ |
|
||||||||
| root@recompile.se | ViewVC Help |
| Powered by ViewVC 1.1.26 |