X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=builtins%2Fexit.def;h=ddaa5d315cd44f215a0b7e928f7f369ec9106a1a;hb=95732b497d12c98613bb3c5db16b61f377501a59;hp=9384adef7daca75435dc80513766e75161aae652;hpb=eb87367179effbe5f430236db8259006d71438b7;p=platform%2Fupstream%2Fbash.git diff --git a/builtins/exit.def b/builtins/exit.def index 9384ade..ddaa5d3 100644 --- a/builtins/exit.def +++ b/builtins/exit.def @@ -1,7 +1,7 @@ This file is exit.def, from which is created exit.c. It implements the builtins "exit", and "logout" in Bash. -Copyright (C) 1987-2003 Free Software Foundation, Inc. +Copyright (C) 1987-2005 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -105,7 +105,7 @@ exit_or_logout (list) if (!exit_immediate_okay) { register int i; - for (i = 0; i < job_slots; i++) + for (i = 0; i < js.j_jobslots; i++) if (jobs[i] && STOPPED (i)) { fprintf (stderr, _("There are stopped jobs.\n"));