# | Line 8 | Line 8 | static const char RCSid[] = "$Id$"; | |
---|---|---|
8 | #include <string.h> | |
9 | ||
10 | #include "rholo.h" | |
11 | + | #include "platform.h" |
12 | #include "view.h" | |
13 | ||
14 | char *progname; /* our program name */ | |
# | 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 |