bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Typo in sh_nojobs() in ./builtins/common.c


From: William Park
Subject: Typo in sh_nojobs() in ./builtins/common.c
Date: Mon, 17 Feb 2003 00:47:53 -0500

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  -g 
-O4 -march=i686
uname output: Linux node1 2.4.20 #1 SMP Fri Jan 17 15:48:54 EST 2003 i686 
unknown
Machine Type: i686-pc-linux-gnu

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:

    I found a typo in sh_nojobs() in ./builtins/common.c.  Missing second
    argument to builtin_error().

Patch:

diff -r -u bash-2.05b/builtins/common.c bash/builtins/common.c
--- bash-2.05b/builtins/common.c        Fri Jun 28 12:24:31 2002
+++ bash/builtins/common.c      Sat Feb 15 22:52:27 2003
@@ -244,7 +244,7 @@
      char *s;
 {
   if (s)
-    builtin_error ("%s: no job control");
+    builtin_error ("%s: no job control", s);   /* typo --William Park 
<opengeometry@yahoo.ca> */
   else
     builtin_error ("no job control");
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]