********> bugfix.29 Author: Bill Ross Date: 6/30/95 Programs: Carnal Severity: Moderate Problem: Existing TABLE output files get appended when using the -O(verwrite) option. Fix: Make the following change to table.c: --------------------------------------------------------------------------- *** OLD table.c --- NEW table.c *************** *** 86,92 exit(1); if ((tabptr->idunion.tab.files->f_file ! = fopen(tabptr->idunion.tab.filename, "a+")) == NULL) { perror(id); exit(1); } --- 86,93 ----- exit(1); if ((tabptr->idunion.tab.files->f_file ! = fopen(tabptr->idunion.tab.filename, ! (tabptr->idunion.tab.append ? "a+" : "w"))) == NULL) { perror(id); exit(1); } --------------------------------------------------------------------------- Temporary workarounds: remove old tables by hand Routines affected: TABLE --