Deleted Added
full compact
main.c (221715) main.c (237613)
1/* $FreeBSD: head/contrib/less/main.c 221715 2011-05-09 21:51:59Z delphij $ */
1/* $FreeBSD: head/contrib/less/main.c 237613 2012-06-26 23:17:33Z delphij $ */
2/*
2/*
3 * Copyright (C) 1984-2011 Mark Nudelman
3 * Copyright (C) 1984-2012 Mark Nudelman
4 *
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Less License, as specified in the README file.
7 *
4 *
5 * You may distribute under the terms of either the GNU General Public
6 * License or the Less License, as specified in the README file.
7 *
8 * For more information about less, or for information on how to
9 * contact the author, see the README file.
8 * For more information, see the README file.
10 */
11
12
13/*
14 * Entry point, initialization, miscellaneous routines.
15 */
16
17#include "less.h"

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

215 free(gfilename);
216#else
217 filename = shell_quote(*argv);
218 if (filename == NULL)
219 filename = *argv;
220 argv++;
221 (void) get_ifile(filename, ifile);
222 ifile = prev_ifile(NULL_IFILE);
9 */
10
11
12/*
13 * Entry point, initialization, miscellaneous routines.
14 */
15
16#include "less.h"

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

214 free(gfilename);
215#else
216 filename = shell_quote(*argv);
217 if (filename == NULL)
218 filename = *argv;
219 argv++;
220 (void) get_ifile(filename, ifile);
221 ifile = prev_ifile(NULL_IFILE);
222 free(filename);
223#endif
224 }
225 /*
226 * Set up terminal, etc.
227 */
228 if (!is_tty)
229 {
230 /*

--- 193 unchanged lines hidden ---
223#endif
224 }
225 /*
226 * Set up terminal, etc.
227 */
228 if (!is_tty)
229 {
230 /*

--- 193 unchanged lines hidden ---