Path: utzoo!utgpu!watmath!watcgl!andrewt From: andrewt@watsnew.waterloo.edu (Andrew Thomas) Newsgroups: gnu.bash.bug Subject: job control turned off. bad code in flags.c Message-ID: Date: 17 Nov 89 01:48:23 GMT Sender: daemon@watcgl.waterloo.edu Organization: University of Waterloo, Waterloo, Ontario, Canada Lines: 21 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