View | Details | Raw Unified | Return to bug 164302
Collapse All | Expand All

(-)list.c (-2 / +2 lines)
Lines 393-399 Link Here
393
	for (;;) {
393
	for (;;) {
394
		for (; *cp == ' ' || *cp == '\t'; cp++)
394
		for (; *cp == ' ' || *cp == '\t'; cp++)
395
			;
395
			;
396
		if (*cp == '\0')
396
		if (*cp == '\0' || *cp == '#')
397
			break;
397
			break;
398
		if (argn >= argc - 1) {
398
		if (argn >= argc - 1) {
399
			printf(
399
			printf(
Lines 402-408 Link Here
402
		}
402
		}
403
		cp2 = linebuf;
403
		cp2 = linebuf;
404
		quotec = '\0';
404
		quotec = '\0';
405
		while ((c = *cp) != '\0') {
405
		while ((c = *cp) != '\0' && c != '#') {
406
			/* Allocate more space if necessary */
406
			/* Allocate more space if necessary */
407
			if (cp2 - linebuf == linebufsize - 1) {
407
			if (cp2 - linebuf == linebufsize - 1) {
408
				linebufsize += BUFSIZ;
408
				linebufsize += BUFSIZ;

Return to bug 164302