# | Line 7 | Line 7 | static const char RCSid[] = "$Id$"; | |
---|---|---|
7 | ||
8 | #include <string.h> | |
9 | ||
10 | + | #include "platform.h" |
11 | #include "rholo.h" | |
12 | #include "view.h" | |
13 | ||
# | Line 284 | Line 285 | initialize() /* initialize holodeck and buffers */ | |
285 | fd = dup(fileno(fp)); /* dup file descriptor */ | |
286 | fclose(fp); /* done with stdio */ | |
287 | for (n = 0; nextloc > 0L; n++) { /* initialize each section */ | |
288 | < | lseek(fd, (off_t)nextloc, 0); |
288 | > | lseek(fd, (off_t)nextloc, SEEK_SET); |
289 | read(fd, (char *)&nextloc, sizeof(nextloc)); | |
290 | hdinit(fd, NULL); | |
291 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |