bug-bash
[Top][All Lists]
Advanced

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

Bash 2.05 empty declaration in pcomplete.c


From: Paul Eggert
Subject: Bash 2.05 empty declaration in pcomplete.c
Date: Thu, 3 May 2001 16:40:57 -0700 (PDT)

Configuration Information [Automatically generated, do not change]:
Machine: sparc
OS: solaris2.7
Compiler: cc -xarch=v9
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc' 
-DCONF_OSTYPE='solaris2.7' -DCONF_MACHTYPE='sparc-sun-solaris2.7' 
-DCONF_VENDOR='sun' -DSHELL  -DHAVE_CONFIG_H  -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -I.. -I../include -I../lib 
-I/tmp/prefix/include -g
uname output: SunOS sic.twinsun.com 5.7 Generic_106541-15 sun4u sparc 
SUNW,UltraSPARC-IIi-Engine
Machine Type: sparc-sun-solaris2.7

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

Description:
        pcomplete.c has an empty declaration; this is not allowed by the
        ISO C standard, and the Sun compiler warns about it.

Repeat-By:

Fix:

2001-05-03  Paul Eggert  <eggert@twinsun.com>

        * pcomplete.c: Remove empty declaration (typo) after it_jobs.

===================================================================
RCS file: pcomplete.c,v
retrieving revision 2.5.0.1
retrieving revision 2.5.0.2
diff -pu -r2.5.0.1 -r2.5.0.2
--- pcomplete.c 2001/04/13 08:15:26     2.5.0.1
+++ pcomplete.c 2001/05/03 23:39:16     2.5.0.2
@@ -117,7 +117,7 @@ ITEMLIST it_exports  = { LIST_DYNAMIC, i
 ITEMLIST it_files = { LIST_DYNAMIC };  /* unused */
 ITEMLIST it_functions  = { 0, it_init_functions, (STRINGLIST *)0 };
 ITEMLIST it_hostnames  = { LIST_DYNAMIC, it_init_hostnames, (STRINGLIST *)0 };
-ITEMLIST it_jobs = { LIST_DYNAMIC, it_init_jobs, (STRINGLIST *)0 };;
+ITEMLIST it_jobs = { LIST_DYNAMIC, it_init_jobs, (STRINGLIST *)0 };
 ITEMLIST it_keywords = { 0, it_init_keywords, (STRINGLIST *)0 };
 ITEMLIST it_running = { LIST_DYNAMIC, it_init_running, (STRINGLIST *)0 };
 ITEMLIST it_setopts = { 0, it_init_setopts, (STRINGLIST *)0 };



reply via email to

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