View | Details | Raw Unified | Return to bug 757 | Differences between
and this patch

Collapse All | Expand All

(-)sshd.c (+4 lines)
Lines 101-106 extern char *__progname; Link Here
101
#else
101
#else
102
char *__progname;
102
char *__progname;
103
#endif
103
#endif
104
extern char **environ;
104
105
105
/* Server configuration options. */
106
/* Server configuration options. */
106
ServerOptions options;
107
ServerOptions options;
Lines 1100-1105 main(int ac, char **av) Link Here
1100
	/* Chdir to the root directory so that the current disk can be
1101
	/* Chdir to the root directory so that the current disk can be
1101
	   unmounted if desired. */
1102
	   unmounted if desired. */
1102
	chdir("/");
1103
	chdir("/");
1104
1105
	/* Clear environment */
1106
	environ[0] = NULL;
1103
1107
1104
	/* ignore SIGPIPE */
1108
	/* ignore SIGPIPE */
1105
	signal(SIGPIPE, SIG_IGN);
1109
	signal(SIGPIPE, SIG_IGN);

Return to bug 757