/[ascend]/trunk/base/disused/compiler/interface.c
ViewVC logotype

Diff of /trunk/base/disused/compiler/interface.c

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

revision 707 by johnpye, Tue Apr 18 07:29:30 2006 UTC revision 708 by johnpye, Tue Jun 27 07:34:31 2006 UTC
# Line 1918  void AddShellChar(char c, Line 1918  void AddShellChar(char c,
1918        len = strlen(p);        len = strlen(p);
1919        if (len > 0) {        if (len > 0) {
1920          char *shellstring;          char *shellstring;
1921          shellstring = (char *)ascmalloc(len+1);          shellstring = ASC_NEW_ARRAY(char,len+1);
1922          strcpy(shellstring, p);          strcpy(shellstring, p);
1923      args[0].id = shellstring;      args[0].id = shellstring;
1924          ClearBuffers(line,gpos,piece,pos);          ClearBuffers(line,gpos,piece,pos);
# Line 3467  void SetupBinTokens(void) Line 3467  void SetupBinTokens(void)
3467    char *b[5];    char *b[5];
3468    char leaf[25];    char leaf[25];
3469    g_uid++;    g_uid++;
3470    b[0]=(char *)ascmalloc(50);    b[0]=ASC_NEW_ARRAY(char,50);
3471    b[1]=(char *)ascmalloc(50);    b[1]=ASC_NEW_ARRAY(char,50);
3472    b[2]=(char *)ascmalloc(50);    b[2]=ASC_NEW_ARRAY(char,50);
3473    b[3]=(char *)ascmalloc(180);    b[3]=ASC_NEW_ARRAY(char,180);
3474    b[4]=(char *)ascmalloc(50);    b[4]=ASC_NEW_ARRAY(char,50);
3475    sprintf(b[0],"/tmp/btsrc%d.c",g_uid);    sprintf(b[0],"/tmp/btsrc%d.c",g_uid);
3476    sprintf(b[1],"/tmp/btsrc%d.o",g_uid);    sprintf(b[1],"/tmp/btsrc%d.o",g_uid);
3477    sprintf(b[2],"/tmp/btsrc%d.so",g_uid);    sprintf(b[2],"/tmp/btsrc%d.so",g_uid);

Legend:
Removed from v.707  
changed lines
  Added in v.708

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22