/[cvs]/stack/stack.c
ViewVC logotype

Diff of /stack/stack.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.52 by teddy, Thu Feb 7 23:55:21 2002 UTC revision 1.53 by teddy, Thu Feb 7 23:56:54 2002 UTC
# Line 205  char *mangle_str(const char *old_string) Line 205  char *mangle_str(const char *old_string)
205    strcpy(new_string, "sx_");    /* Stack eXternal */    strcpy(new_string, "sx_");    /* Stack eXternal */
206    current=new_string+3;    current=new_string+3;
207    while(old_string[0] != '\0'){    while(old_string[0] != '\0'){
208      current[0]=validchars[old_string[0]/16];      current[0]=validchars[(unsigned char)(old_string[0])/16];
209      current[1]=validchars[old_string[0]%16];      current[1]=validchars[(unsigned char)(old_string[0])%16];
210      current+=2;      current+=2;
211      old_string++;      old_string++;
212    }    }

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26