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

Diff for /src/usr.bin/yacc/main.c between version 1.19 and 1.20

version 1.19, 2005/04/04 13:46:06 version 1.20, 2005/06/08 03:18:59
Line 371 
Line 371 
     if (dflag)      if (dflag)
     {      {
         defines_file = fopen(defines_file_name, "w");          defines_file = fopen(defines_file_name, "w");
         if (defines_file == 0)          if (defines_file == NULL)
             open_error(defines_file_name);              open_write_error(defines_file_name);
         fd = mkstemp(union_file_name);          fd = mkstemp(union_file_name);
         if (fd == -1 || (union_file = fdopen(fd, "w")) == NULL)          if (fd == -1 || (union_file = fdopen(fd, "w")) == NULL)
             open_error(union_file_name);              open_error(union_file_name);

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20