Deleted Added
full compact
input.c (36150) input.c (46073)
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Kenneth Almquist.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 25 unchanged lines hidden (view full) ---

34 * SUCH DAMAGE.
35 */
36
37#ifndef lint
38#if 0
39static char sccsid[] = "@(#)input.c 8.3 (Berkeley) 6/9/95";
40#endif
41static const char rcsid[] =
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Kenneth Almquist.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 25 unchanged lines hidden (view full) ---

34 * SUCH DAMAGE.
35 */
36
37#ifndef lint
38#if 0
39static char sccsid[] = "@(#)input.c 8.3 (Berkeley) 6/9/95";
40#endif
41static const char rcsid[] =
42 "$Id$";
42 "$Id: input.c,v 1.11 1998/05/18 06:43:45 charnier Exp $";
43#endif /* not lint */
44
45#include <stdio.h> /* defines BUFSIZ */
46#include <fcntl.h>
47#include <errno.h>
48#include <unistd.h>
49#include <stdlib.h>
50#include <string.h>

--- 176 unchanged lines hidden (view full) ---

227 */
228
229int
230preadbuffer()
231{
232 char *p, *q;
233 int more;
234 int something;
43#endif /* not lint */
44
45#include <stdio.h> /* defines BUFSIZ */
46#include <fcntl.h>
47#include <errno.h>
48#include <unistd.h>
49#include <stdlib.h>
50#include <string.h>

--- 176 unchanged lines hidden (view full) ---

227 */
228
229int
230preadbuffer()
231{
232 char *p, *q;
233 int more;
234 int something;
235 extern EditLine *el;
236 char savec;
237
238 if (parsefile->strpush) {
239 popstring();
240 if (--parsenleft >= 0)
241 return (*parsenextc++);
242 }
243 if (parsenleft == EOF_NLEFT || parsefile->buf == NULL)

--- 269 unchanged lines hidden ---
235 char savec;
236
237 if (parsefile->strpush) {
238 popstring();
239 if (--parsenleft >= 0)
240 return (*parsenextc++);
241 }
242 if (parsenleft == EOF_NLEFT || parsefile->buf == NULL)

--- 269 unchanged lines hidden ---