Subversion Repositories SvarDOS

Rev

Rev 1416 | Rev 1418 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1416 Rev 1417
Line 735... Line 735...
735
 
735
 
736
 
736
 
737
static int savefile(const struct file *db, const char *newfname) {
737
static int savefile(const struct file *db, const char *newfname) {
738
  int fd;
738
  int fd;
739
  const struct line far *l;
739
  const struct line far *l;
740
  unsigned bytes;
740
  unsigned int bytes;
741
  unsigned char eollen;
741
  unsigned char eollen;
742
  unsigned char eolbuf[2];
742
  unsigned char eolbuf[2];
743
  int errflag = 0;
743
  int errflag = 0;
744
 
744
 
745
  /* either create a new file if newfname provided, or... */
745
  /* either create a new file if newfname provided, or... */