summaryrefslogtreecommitdiff
path: root/pcomplete.c~
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-07 09:28:26 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-07 09:28:26 -0500
commit48ff544772dfa6b8fa3dda69361a5d64a9b0cbcd (patch)
tree6fdd9ddec685a88bd9d1bb4c9089f04134f2652e /pcomplete.c~
parent40c8fbee93dca4d4d43a18d5fb3202fa2db2ae49 (diff)
downloadbash-48ff544772dfa6b8fa3dda69361a5d64a9b0cbcd.tar.gz
commit bash-20080904 snapshot
Diffstat (limited to 'pcomplete.c~')
-rw-r--r--pcomplete.c~26
1 files changed, 13 insertions, 13 deletions
diff --git a/pcomplete.c~ b/pcomplete.c~
index 7d715b0a..f4587174 100644
--- a/pcomplete.c~
+++ b/pcomplete.c~
@@ -1,23 +1,22 @@
-/* pcomplete.c - functions to generate lists of matches for programmable
- completion. */
+/* pcomplete.c - functions to generate lists of matches for programmable completion. */
/* Copyright (C) 1999-2008 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
- Bash is free software; you can redistribute it and/or modify it under
- the terms of the GNU General Public License as published by the Free
- Software Foundation; either version 2, or (at your option) any later
- version.
+ Bash is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
- Bash is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- for more details.
+ Bash is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
- You should have received a copy of the GNU General Public License along
- with Bash; see the file COPYING. If not, write to the Free Software
- Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
+ You should have received a copy of the GNU General Public License
+ along with Bash. If not, see <http://www.gnu.org/licenses/>.
+*/
#include <config.h>
@@ -519,6 +518,7 @@ it_init_joblist (itp, jstate)
JOB *j;
JOB_STATE ws; /* wanted state */
+ ws = -1;
if (jstate == 0)
ws = JRUNNING;
else if (jstate == 1)