[BACK]Return to run.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / awk

Diff for /src/usr.bin/awk/run.c between version 1.25 and 1.26

version 1.25, 2004/12/30 01:52:48 version 1.26, 2004/12/30 02:08:35
Line 94 
Line 94 
 void    stdinit(void);  void    stdinit(void);
 void    flush_all(void);  void    flush_all(void);
   
   
 /* buffer memory management */  /* buffer memory management */
 int adjbuf(char **pbuf, int *psiz, int minlen, int quantum, char **pbptr,  int adjbuf(char **pbuf, int *psiz, int minlen, int quantum, char **pbptr,
         const char *whatrtn)          const char *whatrtn)
Line 131 
Line 130 
   
 void run(Node *a)       /* execution of parse tree starts here */  void run(Node *a)       /* execution of parse tree starts here */
 {  {
         extern void stdinit(void);  
   
         stdinit();          stdinit();
         execute(a);          execute(a);
         closeall();          closeall();
Line 1476 
Line 1473 
         char *p, *buf;          char *p, *buf;
         Node *nextarg;          Node *nextarg;
         FILE *fp;          FILE *fp;
         void flush_all(void);  
   
         t = ptoi(a[0]);          t = ptoi(a[0]);
         x = execute(a[1]);          x = execute(a[1]);

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26