# | Line 6 | Line 6 | static const char RCSid[] = "$Id$"; | |
---|---|---|
6 | */ | |
7 | ||
8 | #include "holo.h" | |
9 | + | #include "platform.h" |
10 | ||
11 | #define ourhp (hdlist[0]) | |
12 | ||
# | Line 73 | Line 74 | int sect; | |
74 | nextloc = ftell(fp); /* get stdio position */ | |
75 | fclose(fp); /* done with stdio */ | |
76 | for (n = 0; nextloc > 0L; n++) { /* get the indicated section */ | |
77 | < | lseek(fd, (off_t)nextloc, 0); |
77 | > | lseek(fd, (off_t)nextloc, SEEK_SET); |
78 | read(fd, (char *)&nextloc, sizeof(nextloc)); | |
79 | if (n == sect) { | |
80 | hdinit(fd, NULL); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |