Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Chip Salzenberg
Wed, 11 Oct 1989 15:58
GNU Make 3.56: Speed patch: Output of $(shell)
Author: Chip Salzenberg
Date: Wed, 11 Oct 1989 15:58
Date: Wed, 11 Oct 1989 15:58
27 lines
1172 bytes
1172 bytes
[SPEED PATCH] This minor coding change speeds up the handling of "$(shell)" output. Index: function.c *************** *** 420,428 **** newlines in its output with spaces, and put that in the variable output buffer. */ ! if (buffer[i - 1] == '\n') --i; ! for (p = buffer; p < buffer + i; ++p) ! if (*p == '\n') ! *p = ' '; o = variable_buffer_output (o, buffer, i); } --- 420,428 ---- newlines in its output with spaces, and put that in the variable output buffer. */ ! if (i > 0 && buffer[i - 1] == '\n') --i; ! buffer[i] = '\0'; ! for (p = buffer; (p = index(p, '\n')) != NULL; ++p) ! *p = ' '; o = variable_buffer_output (o, buffer, i); }
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads