Thread View: gnu.bash.bug
1 messages
1 total messages
Started by James Van Artsdalen
Sun, 11 Jun 1989 16:22
bashed bug
Author: James Van Artsdalen
Date: Sun, 11 Jun 1989 16:22
Date: Sun, 11 Jun 1989 16:22
26 lines
973 bytes
973 bytes
extract_command_subst() in subst.c appears to have a typo, "==" instead of "=".
Here's a patch: line numbers are approximate.
*** /tmp/,RCSt1a12423 Sun Jun 11 11:20:34 1989
--- subst.c Sun Jun 11 11:18:52 1989
***************
*** 179,185 ****
else
{
if (c == '"' || c == '\'' || c == '\\')
! delimiter == c;
}
}
--- 186,192 ----
else
{
if (c == '"' || c == '\'' || c == '\\')
! delimiter = c;
}
}
--
James R. Van Artsdalen james@bigtex.cactus.org "Live Free or Die"
Dell Computer Co 9505 Arboretum Blvd Austin TX 78759 512-338-8789
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