Deleted Added
full compact
read.c (37199) read.c (60770)
1/*-
2 * Copyright (c) 1992, 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 * Christos Zoulas of Cornell University.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 */
36
1/*-
2 * Copyright (c) 1992, 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 * Christos Zoulas of Cornell University.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 */
36
37#if !defined(lint) && !defined(SCCSID)
37#if !defined(lint)
38#if 0
38static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/4/93";
39static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/4/93";
39
40#endif
41static const char rcsid[] =
42 "$FreeBSD: head/lib/libedit/read.c 60770 2000-05-22 05:49:31Z imp $";
40#endif /* not lint && not SCCSID */
41/*
42 * read.c: Clean this junk up! This is horrible code.
43 * Terminal read functions
44 */
45#include "sys.h"
43#endif /* not lint && not SCCSID */
44/*
45 * read.c: Clean this junk up! This is horrible code.
46 * Terminal read functions
47 */
48#include "sys.h"
46#include <sys/errno.h>
49#include
47#include <unistd.h>
48#include <stdlib.h>
50#include <unistd.h>
51#include <stdlib.h>
49extern int errno;
50#include "el.h"
51
52#define OKCMD -1
53
54private int read__fixio __P((int, int));
55private int read_preread __P((EditLine *));
56private int read_getcmd __P((EditLine *, el_action_t *, char *));
57

--- 389 unchanged lines hidden ---
52#include "el.h"
53
54#define OKCMD -1
55
56private int read__fixio __P((int, int));
57private int read_preread __P((EditLine *));
58private int read_getcmd __P((EditLine *, el_action_t *, char *));
59

--- 389 unchanged lines hidden ---