Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 715706 | Differences between
and this patch

Collapse All | Expand All

(-)netkit-telnet-0.17.orig/telnetd/setproctitle.c (-3 / +3 lines)
Lines 86-95 Link Here
86
87
87
	for (i = 0; envp[i] != NULL; i++)
88
	for (i = 0; envp[i] != NULL; i++)
88
		continue;
89
		continue;
89
	__environ = (char **) malloc(sizeof (char *) * (i + 1));
90
	environ = (char **) malloc(sizeof (char *) * (i + 1));
90
	for (i = 0; envp[i] != NULL; i++)
91
	for (i = 0; envp[i] != NULL; i++)
91
		__environ[i] = strdup(envp[i]);
92
		environ[i] = strdup(envp[i]);
92
	__environ[i] = NULL;
93
	environ[i] = NULL;
93
94
94
	/*
95
	/*
95
	**  Save start and extent of argv for setproctitle.
96
	**  Save start and extent of argv for setproctitle.

Return to bug 715706