# | Line 431 | Line 431 | HDGRID *gp; | |
---|---|---|
431 | putw(HOLOMAGIC, fp); /* put magic number */ | |
432 | fd = dup(fileno(fp)); | |
433 | fclose(fp); /* flush and close stdio stream */ | |
434 | < | lastloc = lseek(fd, (off_t)0L, 2); |
434 | > | lastloc = lseek(fd, (off_t)0, 2); |
435 | for (n = vdef(SECTION); n--; gp++) { /* initialize each section */ | |
436 | nextloc = 0L; | |
437 | write(fd, (char *)&nextloc, sizeof(nextloc)); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |