Thread View: gnu.bash.bug
1 messages
1 total messages
Started by Andrew Thomas
Fri, 17 Nov 1989 01:48
job control turned off. bad code in flags.c
Author: Andrew Thomas
Date: Fri, 17 Nov 1989 01:48
Date: Fri, 17 Nov 1989 01:48
21 lines
1010 bytes
1010 bytes
The function change_flag has the following piece of code:
#ifdef JOB_CONTROL
/* Special hack for the -m flag. */
if (value == &jobs_m_flag)
{
extern set_job_control ();
set_job_control (!on_or_off);
}
#endif /* JOB_CONTROL */
The value of on_or_off can be one of 43 or 45 corresponding to the
characters + and - . This means simply that if this piece of code is
ever called, it will turn off job control. Always.
--
Andrew Thomas
andrewt@watsnew.waterloo.edu Systems Design Eng. University of Waterloo
"If a million people do a stupid thing, it's still a stupid thing." - Opus
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