Changeset 6a50af2 for util.c


Ignore:
Timestamp:
Oct 17, 2003, 5:25:49 PM (18 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
b4db911
Parents:
836ea3a3
Message:
Fixed bug removing newlines in backup files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • util.c

    r836ea3a3 r6a50af2  
    765765
    766766    /* write to backupfile if necessary */
    767     if (backup) fputs(buff, backupfile);
     767    if (backup) {
     768      fputs(buff, backupfile);
     769      if (newline) fputs("\n", backupfile);
     770    }
    768771  }
    769772  if (backup) fclose(backupfile);
Note: See TracChangeset for help on using the changeset viewer.