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

(-)main.c (-3 / +7 lines)
Lines 95-104 Link Here
95
char pkgdir[512] = "/usr/portage/packages/";
95
char pkgdir[512] = "/usr/portage/packages/";
96
char port_tmpdir[512] = "/var/tmp/portage/";
96
char port_tmpdir[512] = "/var/tmp/portage/";
97
97
98
char binhost[512] = PORTAGE_BINHOST;
98
char binhost[1024] = PORTAGE_BINHOST;
99
char features[512] = "noman noinfo nodoc";
99
char features[2048] = "noman noinfo nodoc";
100
char accept_license[512] = "*";
100
char accept_license[512] = "*";
101
char install_mask[1024] = "";
101
char install_mask[BUFSIZ] = "";
102
102
103
const char *err_noapplet = "Sorry this applet was disabled at compile time";
103
const char *err_noapplet = "Sorry this applet was disabled at compile time";
104
104
Lines 434-439 Link Here
434
	char buf[BUFSIZ];
434
	char buf[BUFSIZ];
435
	char *p;
435
	char *p;
436
436
437
438
	if ((strlen(value) + 1 + strlen(s)) >= value_len)
439
		errf("%s will exceed max length value of %d with a size of %d", name, value_len, (strlen(value) + 1 + strlen(s)));
440
437
	strncat(value, " ", value_len);
441
	strncat(value, " ", value_len);
438
	strncat(value, s, value_len);
442
	strncat(value, s, value_len);
439
443

Return to bug 168334