version 1.11, 2003/06/25 03:50:27 |
version 1.12, 2003/06/25 03:53:59 |
|
|
struct line *p; |
struct line *p; |
int j, h; |
int j, h; |
|
|
fseek(fd, 0, 0); |
fseek(fd, (off_t)0, SEEK_SET); |
p = talloc(3 * sizeof(struct line)); |
p = talloc(3 * sizeof(struct line)); |
for (j = 0; (h = readhash(fd));) { |
for (j = 0; (h = readhash(fd));) { |
p = ralloc(p, (++j + 3) * sizeof(struct line)); |
p = ralloc(p, (++j + 3) * sizeof(struct line)); |
|
|
inifdef = 1 + oldfile; |
inifdef = 1 + oldfile; |
} |
} |
for (i = a; i <= b; i++) { |
for (i = a; i <= b; i++) { |
fseek(lb, f[i - 1], 0); |
fseek(lb, f[i - 1], SEEK_SET); |
nc = f[i] - f[i - 1]; |
nc = f[i] - f[i - 1]; |
if (opt != D_IFDEF) |
if (opt != D_IFDEF) |
prints(s); |
prints(s); |
|
|
char buf[BUFSIZ], *cp; |
char buf[BUFSIZ], *cp; |
int cnt; |
int cnt; |
|
|
fseek(f, 0, 0); |
fseek(f, (off_t)0, SEEK_SET); |
cnt = fread(buf, 1, BUFSIZ, f); |
cnt = fread(buf, 1, BUFSIZ, f); |
cp = buf; |
cp = buf; |
while (--cnt >= 0) |
while (--cnt >= 0) |