Ignore:
Timestamp:
Apr 1, 2007, 2:03:04 PM (18 years ago)
Author:
cinc
Message:

Hunting bugs...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/idl-compiler/c/nom-idl-compiler.c

    r280 r289  
    624624
    625625  g_scanner_destroy(gScanner);
    626   close(fd);
    627   fclose(parseInfo.outFile);
     626  if(0!=fd)
     627    close(fd); /* We read from stdin */
     628  if(parseInfo.outFile)
     629    fclose(parseInfo.outFile);
    628630  return 0;
    629631}
Note: See TracChangeset for help on using the changeset viewer.