Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 576086
Collapse All | Expand All

(-)a/main.c (-6 / +6 lines)
Lines 100-105 main(argc, argv) Link Here
100
	GetConsoleTitle(consoleTitle, sizeof(consoleTitle)/sizeof(char));
100
	GetConsoleTitle(consoleTitle, sizeof(consoleTitle)/sizeof(char));
101
#endif /* WIN32 */
101
#endif /* WIN32 */
102
102
103
	/*
104
	 * Process command line arguments and LESS environment arguments.
105
	 * Command line arguments override environment arguments.
106
	 */
107
	is_tty = isatty(1);
108
	get_term();
103
	init_cmds(); /* reads lesskey file */
109
	init_cmds(); /* reads lesskey file */
104
110
105
	secure = 0;
111
	secure = 0;
Lines 107-118 main(argc, argv) Link Here
107
	if (s != NULL && *s != '\0')
113
	if (s != NULL && *s != '\0')
108
		secure = 1;
114
		secure = 1;
109
115
110
	/*
111
	 * Process command line arguments and LESS environment arguments.
112
	 * Command line arguments override environment arguments.
113
	 */
114
	is_tty = isatty(1);
115
	get_term();
116
	init_charset();
116
	init_charset();
117
	init_line();
117
	init_line();
118
	init_cmdhist();
118
	init_cmdhist();

Return to bug 576086