NetBSD Problem Report #8912

Received: (qmail 16327 invoked from network); 29 Nov 1999 00:56:34 -0000
Message-Id: <199911290056.JAA11246@fujiwara.sps.mot.com>
Date: Mon, 29 Nov 1999 09:56:29 +0900 (JST)
From: makoto@ki.nu
Reply-To: makoto.fujiwara@Onsemi.com
To: gnats-bugs@gnats.netbsd.org
Subject: sharutils-4.2, sharutils-4.1 core dumps at vfprintf ()
X-Send-Pr-Version: 3.95

>Number:         8912
>Category:       lib
>Synopsis:       vfprintf/strlen problem (stdargs.h)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    cgd
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 28 16:57:00 +0000 1999
>Closed-Date:    Tue Nov 30 07:32:36 +0000 1999
>Last-Modified:  Tue Nov 30 07:32:52 +0000 1999
>Originator:     Makoto Fujiwara
>Release:        <NetBSD-current source date> 1.4
>Organization:
        Fujiwara at Nagazu
>Environment:

System: NetBSD fujiwara 1.4 NetBSD 1.4 (GENERIC-at) #0: Mon May 10 15:23:29 JST 1999 makoto@fujiwara:/usr/src/sys/arch/sparc/compile/GENERIC-at sparc


>Description:

++ use mailshar 

makoto@fujiwara$B"#(B9:20:46/991129(...htdocs/usrlocal)> mailshar makoto@ki.nu gs*
Segmentation fault - core dumped
makoto@fujiwara$B"#(B9:20:54/991129(...htdocs/usrlocal)> 

++ version of the mailshar
makoto@fujiwara13:50:01/991126(~)> which mailshar
/usr/local/bin/mailshar
makoto@fujiwara9:46:48/991129(~)> mailshar --version
mailshar - sharutils 4.2.1

++ How did I get sharutils
above sharutils compiled after getting gettext-0.10.35 with just
./configure;make
I got the same symptom with sharutils 4.2

++ gdb trace
makoto@fujiwara$B"#(B9:20:54/991129(...htdocs/usrlocal)> ls *core
shar.core
makoto@fujiwara$B"#(B9:21:13/991129(...htdocs/usrlocal)> gdb /usr/local/bin/shar shar.core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc--netbsd"...
Core was generated by `shar'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.so...done.
Reading symbols from /usr/lib/libc.so.12.40...done.
#0  0x10085000 in strlen ()
(gdb) where
#0  0x10085000 in strlen ()
#1  0x10082fa4 in vfprintf ()
#2  0x100823c4 in fprintf ()
#3  0x3a9c in generate_one_header_line (local_name=0xeffff280 "gs-Makefile.patch", restore_name=0xeffff280 "gs-Makefile.patch") at shar.c:699
#4  0x2ae8 in walkdown (routine=0x3a68 <generate_one_header_line>, local_name=0xeffff280 "gs-Makefile.patch", restore_name=0xeffff280 "gs-Makefile.patch") at shar.c:287
#5  0x2d50 in walktree (routine=0x3a68 <generate_one_header_line>, local_name=0xeffff61b "gs-Makefile.patch") at shar.c:410
#6  0x44f0 in generate_full_header (argc=4, argv=0xeffff550) at shar.c:856
#7  0x81b0 in main (argc=11, argv=0xeffff534) at shar.c:2082
(gdb) 

------------------ shar.c around line 699 -----------
/*---.
| ?  |
`---*/

static int
generate_one_header_line (local_name, restore_name)
     const char *local_name;
     const char *restore_name;
{
  fprintf (output, "# %6ld %s %s\n", struct_stat.st_size,
	   mode_string (struct_stat.st_mode), restore_name);
  return 0;
}
-------------- (man fprintf) -------------------------------
     #include <stdarg.h>
     int
     vfprintf(FILE *stream, const char *format, va_list ap);
-------------------------------------------------------------
>How-To-Repeat:

   I think above section describes how to  reproduce the problem.

   The list of files I meant with gs* is shown below. It is little bit
file name dependent, but the possibility is high to core dump.

  makoto@fujiwara9:51:11/991129(...htdocs/usrlocal)> ls -l gs*
-rw-r--r--   1 makoto   10           1603 Nov 26 12:59 gs-Makefile.patch
-rw-r--r--   1 makoto   wheel         245 Nov 26 13:27 gs-gxxfvf.c-patch
-rw-r--r--   1 makoto   wheel         355 Nov 26 15:40 gs-gxxfvf.c-patch-VF_Init
-rw-r--r--   1 makoto   wheel       13451 Nov 26 17:00 gs.shtml

>Fix:


  Sorry I don't know yet.
>Release-Note:
>Audit-Trail:

From: Makoto Fujiwara <makoto@ki.nu>
To: gnats-bugs@gnats.netbsd.org, lib-bug-people@netbsd.org
Cc:  Subject: Re: lib/8912: sharutils-4.2, sharutils-4.1 core dumps at vfprintf
 ()
Date: Mon, 29 Nov 1999 12:03:57 +0900

 Unbelievably ( to myself ), following patch stops core dumps.
 but still has problem showing the length of the file.

 # This shar contains:
 # length mode       name
 # ------ ---------- ------------------------------------------
 #      0 -rw-r--r-- gs-Makefile.patch
 #      0 -rw-r--r-- gs-gxxfvf.c-patch
 #      0 -rw-r--r-- gs-gxxfvf.c-patch-VF_Init
 #

 --- sharutils-4.2.1/src/shar.c-o	Sat Sep 11 04:20:41 1999
 +++ sharutils-4.2.1/src/shar.c	Mon Nov 29 11:57:57 1999
 @@ -451,6 +451,7 @@
    if (mode & 00001)
      result[9] = 'x';

 +    result[10] = NULL;
    return result;
  }

 @@ -696,8 +697,11 @@
       const char *local_name;
       const char *restore_name;
  {
 -  fprintf (output, "# %6ld %s %s\n", struct_stat.st_size,
 -	   mode_string (struct_stat.st_mode), restore_name);
 +  /*   fprintf (output, "# %6ld %s %s\n", struct_stat.st_size,
 +       mode_string (struct_stat.st_mode), restore_name); */
 +  fprintf (output, "# %6ld ", struct_stat.st_size);
 +  fprintf (output, "%s ", mode_string (struct_stat.st_mode));
 +  fprintf (output, "%s\n", restore_name);
    return 0;
  }



 ---
 (Makoto Fujiwara)
 We have new brand name, On Semincoductor
 http://www.onsemi.com/
 Since Aug. 6, 1999

From: Makoto Fujiwara <makoto@ki.nu>
To: gnats-bugs@gnats.netbsd.org, lib-bug-people@netbsd.org
Cc:  Subject: Re: lib/8912: sharutils-4.2, sharutils-4.1 core dumps at vfprintf
 ()
Date: Mon, 29 Nov 1999 12:30:14 +0900

 I have duplicated much the same situation on following machine.

 NetBSD papageno 1.4.1 NetBSD 1.4.1 (GENERIC) #1: Wed Aug 11 18:08:32 JST 1999
       tsubai@mint.iri.co.jp:/usr/src/sys/arch/macppc/compile/GENERIC macppc

 That, 
 + Original sharutils-4.2.1 core dumps with the same command line.
 + It stops dumping if the patch applies.
 + The resulting mail still shows the file size = 0

 (but I did not get the gdb trace for this problem, mainly due to lack of
 gdb support (in 1.4.1) for macppc.)
 ---
 Makoto Fujiwara
 http://www.ki.nu/software/
State-Changed-From-To: open->feedback 
State-Changed-By: cgd 
State-Changed-When: Mon Nov 29 12:43:32 PST 1999 
State-Changed-Why:  
reply from me incoming.  This is _not_ a bug in the NetBSD 
libraries or system, it is a bug in the sharutils source code. 
My mail explains the problem.  Please confirm my understanding 
of the problem, then reply (being sure to cc gnats-bugs@netbsd.org), 
and I will close the PR.  The proper solution for this problem 
is to feed a fix back to the sharutils maintainers, to use 
-Wformat -Werror when compiling with gcc.  (err, "and to use.") 


Responsible-Changed-From-To: lib-bug-people->cgd 
Responsible-Changed-By: cgd 
Responsible-Changed-When: Mon Nov 29 12:43:32 PST 1999 
Responsible-Changed-Why:  
see above. 

From: cgd@netbsd.org (Chris G. Demetriou)
To: makoto.fujiwara@Onsemi.com
Cc: gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: lib/8912: sharutils-4.2, sharutils-4.1 core dumps at vfprintf ()
Date: 29 Nov 1999 12:42:37 -0800

 makoto@ki.nu writes:
 > static int
 > generate_one_header_line (local_name, restore_name)
 >      const char *local_name;
 >      const char *restore_name;
 > {
 >   fprintf (output, "# %6ld %s %s\n", struct_stat.st_size,
 > 	   mode_string (struct_stat.st_mode), restore_name);
 >   return 0;
 > }
 > -------------- (man fprintf) -------------------------------
 >      #include <stdarg.h>
 >      int
 >      vfprintf(FILE *stream, const char *format, va_list ap);
 > -------------------------------------------------------------

 The source code calling fprintf is buggy.

 the st_size member of struct stat is an off_t -- the code assumes
 that it's a long.  There's no guarantee that the two are the same.

 For the code to be correct (or at least, more correct, i'm not looking
 for all of the potential bugs in the code 8-), it'd have cast
 struct_stat.st_size to (long) before printing it with %ld.



 cgd
 -- 
 Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
 Disclaimer: Not speaking for NetBSD, just expressing my own opinion.

From: cgd@netbsd.org (Chris G. Demetriou)
To: gnats-bugs@netbsd.org
Cc:  Subject: Re: lib/8912
Date: 29 Nov 1999 23:29:54 -0800

 -- 
 Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
 Disclaimer: Not speaking for NetBSD, just expressing my own opinion.
 ------- Start of forwarded message -------
 To: bug-gnu-utils@prep.ai.mit.edu
 Subject: sharutils-4.2.1/NetBSD-1.4.1 core dumps 
 From: Makoto Fujiwara <makoto@ki.nu>
 Reply-To: Makoto.Fujiwara@OnSemi.com
 Cc: cgd@netbsd.org, lib-bug-people@netbsd.org
 CC: gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org
 Gnus-Warning: This is a duplicate of message <19991130153631C.makoto@fujiwara.sps.mot.com>
 Message-Id: <19991130153631C.makoto@fujiwara.sps.mot.com>
 Date: Tue, 30 Nov 1999 15:36:31 +0900

 ----Next_Part(Tue_Nov_30_15:33:35_1999_542)--
 Content-Type: Text/Plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit

   Thanks for releasing various GNU tools, I am totally happy
 with using these tools.

   One thing I have noticed that mailshar core dumps. I have 
 once thought it is a problem on NetBSD side, but it turned out
 it is just a simple problem printing 

 struct_stat.st_size with long integer.

 I will attach the patch, the original core dump report ( primarily for
 netbsd send-pr purpose), and some related comments responded.

 (Chris, thanks for resposes, please close the PR lib/8912).
 ---

 ----Next_Part(Tue_Nov_30_15:33:35_1999_542)--
 Content-Type: Text/Plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename="shar.c-patch"

 --- sharutils-4.2.1/src/shar.c-o	Sat Sep 11 04:20:41 1999
 +++ sharutils-4.2.1/src/shar.c	Tue Nov 30 15:11:40 1999
 @@ -696,7 +696,7 @@
       const char *local_name;
       const char *restore_name;
  {
 -  fprintf (output, "# %6ld %s %s\n", struct_stat.st_size,
 +  fprintf (output, "# %6ld %s %s\n", (long) struct_stat.st_size,
  	   mode_string (struct_stat.st_mode), restore_name);
    return 0;
  }

 ----Next_Part(Tue_Nov_30_15:33:35_1999_542)--
 Content-Type: Text/Plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename="sharutils core dumps"

 ++++ building sharutils-4.2.1
 ./configure
 time make 

 sed -f ../intl/po2msg.sed < ja_JP.EUC.po > ja_JP.EUC.msg  && rm -f ja_JP.EUC.cat && /usr/bin/gencat ja_JP.EUC.cat ja_JP.EUC.msg
 gencat: specified msg doesn't exist on line 158
 49 
 gencat: unrecognized escape sequence on line 351
   -e, --exit-0                `--split-at=\"exit 0\"' \n\
 ....
 making all in checks
 making all in contrib
 132.611u 12.503s 2:42.23 89.4%  0+0k 115+821io 109pf+0w
 makoto@fujiwara  9:17:24/991129(...src/sharutils-4.2.1)> 

 +++++ make install
 makoto@fujiwara 9:18:50/991129(...src/sharutils-4.2.1)> su
 Password:
 # make install
 for subdir in doc lib po intl src checks contrib; do  target=`echo install|sed 's/-recursive//'`;  echo making $target in $subdir;  (cd $subdir && make $target)  || case " " in *k*) fail=yes;; *) exit 1;; esac;  done && test -z "$fail"
 making install in doc
 ../mkinstalldirs /usr/local/info
 cd . &&  for file in sharutils.info* remsync.info*; do  /usr/local/bin/install -c -m 644 $file /usr/local/info/$file;  done
 making install in lib
 making install in po
 ../mkinstalldirs /usr/local/lib
 catalogs='de.cat de.gmo fr.cat fr.gmo ja_JP.EUC.cat ja_JP.EUC.gmo nl.cat nl.gmo pt.cat pt.gmo sv.cat sv.gmo';  for cat in $catalogs; do  if test "`echo $cat | sed 's/.*\(\..*\)/\1/'`" = ".gmo"; then  destdir=/usr/local/share/locale;  else  destdir=/usr/l ocal/lib/locale;  fi;  lang=`echo $cat | sed 's/.cat$//'`;  dir=$destdir/$lang/LC_MESSAGES;  ../mkinstalldirs $dir;  if test -r $cat; then  /usr/local/bin/install -c -m 644 $cat $dir/sharutils.cat;  else  /usr/local/bin/install -c -m 644 ./$cat $dir/shar utils.cat;  fi;  done
 making install in intl
 making install in src
 ../mkinstalldirs /usr/local/bin
 for name in shar unshar uudecode uuencode; do  /usr/local/bin/install -c $name  /usr/local/bin/`echo $name | sed 's,x,x,'`;  done;
 for name in mailshar mail-files remsync; do  /usr/local/bin/install -c -m 755 $name  /usr/local/bin/`echo $name | sed 's,x,x,'`;  done
 making install in checks
 making install in contrib
 # 

 ++++  checking the function
 makoto@fujiwara  9:20:46/991129(...htdocs/usrlocal)> mailshar makoto@ki.nu gs*
 Segmentation fault - core dumped
 makoto@fujiwara  9:20:54/991129(...htdocs/usrlocal)> ls -l gs*
 -rw-r--r--   1 makoto   10           2078 Nov 28 14:32 gs-Makefile.patch
 -rw-r--r--   1 makoto   wheel         245 Nov 26 13:27 gs-gxxfvf.c-patch
 -rw-r--r--   1 makoto   wheel         355 Nov 26 15:40 gs-gxxfvf.c-patch-VF_Init
 -rw-r--r--   1 makoto   wheel       18262 Nov 28 14:42 gs.shtml

 ++++  see what happens with gdb
 makoto@fujiwara  9:20:54/991129(...htdocs/usrlocal)> ls *core
 shar.core
 makoto@fujiwara  9:21:13/991129(...htdocs/usrlocal)> gdb /usr/local/bin/shar shar.core
 GNU gdb 4.17
 Copyright 1998 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for details.
 This GDB was configured as "sparc--netbsd"...
 Core was generated by `shar'.
 Program terminated with signal 11, Segmentation fault.
 Reading symbols from /usr/libexec/ld.so...done.
 Reading symbols from /usr/lib/libc.so.12.40...done.
 #0  0x10085000 in strlen ()
 (gdb) where
 #0  0x10085000 in strlen ()
 #1  0x10082fa4 in vfprintf ()
 #2  0x100823c4 in fprintf ()
 #3  0x3a9c in generate_one_header_line (local_name=0xeffff280 "gs-Makefile.patch", restore_name=0xeffff280 "gs-Makefile.patch") at shar.c:699
 #4  0x2ae8 in walkdown (routine=0x3a68 <generate_one_header_line>, local_name=0xeffff280 "gs-Makefile.patch", restore_name=0xeffff280 "gs-Makefile.patch") at shar.c:287
 #5  0x2d50 in walktree (routine=0x3a68 <generate_one_header_line>, local_name=0xeffff61b "gs-Makefile.patch") at shar.c:410
 #6  0x44f0 in generate_full_header (argc=4, argv=0xeffff550) at shar.c:856
 #7  0x81b0 in main (argc=11, argv=0xeffff534) at shar.c:2082
 (gdb) 

 -------------------------------------------------------------
 /*---.
 | ?  |
 `---*/

 static int
 generate_one_header_line (local_name, restore_name)
      const char *local_name;
      const char *restore_name;
 {
   fprintf (output, "# %6ld %s %s\n", struct_stat.st_size,
 	   mode_string (struct_stat.st_mode), restore_name);
   return 0;
 }
 -------------- (man fprintf) -------------------------------
      #include <stdarg.h>
      int
      vfprintf(FILE *stream, const char *format, va_list ap);
 -------------------------------------------------------------



 ----Next_Part(Tue_Nov_30_15:33:35_1999_542)--
 Content-Type: Text/Plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename="Mail from Chris"

 Return-Path: <cgd@netbsd.org>
 Return-Path: <cgd@netbsd.org>
 Received: from m-az33-r2.mot.com (m-az33-r2.mot.com [129.188.127.12])
 	by fujiwara.sps.mot.com (8.8.8/3.7W_scg-1.1-990506) with ESMTP id FAA14234
 	for <fujiwara@papageno.sps.mot.com>; Tue, 30 Nov 1999 05:43:01 +0900 (JST)
 Received: from msgsrv1.sps.mot.com by m-az33-r2.mot.com with ESMTP for rty029@relay.corp.mot.com; Mon, 29 Nov 1999 13:42:51 -0700
 Received: from pobox2.mot.com ([136.182.15.8]) by msgsrv1.sps.mot.com          (Netscape Messaging Server 3.61)  with ESMTP id AAA22E6          for <makoto.fujiwara@Onsemi.com>; Mon, 29 Nov 1999 13:42:58 -0700
 Received: [from motgate.mot.com (motgate.mot.com [129.188.136.100]) by pobox2.mot.com (MOT-pobox2 2.0) with ESMTP id NAA09162 for <makoto.fujiwara@Onsemi.com>; Mon, 29 Nov 1999 13:42:57 -0700 (MST)]
 Received: [from mail.netbsd.org (redmail.netbsd.org [155.53.200.193]) by motgate.mot.com (MOT-motgate 1.0) with SMTP id NAA19346 for <makoto.fujiwara@Onsemi.com>; Mon, 29 Nov 1999 13:42:48 -0700 (MST)]
 Received: (qmail 18996 invoked by uid 1000); 29 Nov 1999 20:42:37 -0000
 To: "Makoto Fujiwara (rty029)" <makoto.fujiwara@onsemi.com>
 Cc: gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org
 Subject: Re: lib/8912: sharutils-4.2, sharutils-4.1 core dumps at vfprintf ()
 References: <199911290056.JAA11246@fujiwara.sps.mot.com>
 From: cgd@netbsd.org (Chris G. Demetriou)
 Date: 29 Nov 1999 12:42:37 -0800
 In-Reply-To: makoto@ki.nu's message of Mon, 29 Nov 1999 09:56:29 +0900 (JST)
 Message-Id: <87vh6ljagy.fsf@redmail.netbsd.org>
 Lines: 31
 X-Mailer: Gnus v5.5/Emacs 20.2
 X-Motorola-Sent-Wireless: 1

 makoto@ki.nu writes:
 > static int
 > generate_one_header_line (local_name, restore_name)
 >      const char *local_name;
 >      const char *restore_name;
 > {
 >   fprintf (output, "# %6ld %s %s\n", struct_stat.st_size,
 > 	   mode_string (struct_stat.st_mode), restore_name);
 >   return 0;
 > }
 > -------------- (man fprintf) -------------------------------
 >      #include <stdarg.h>
 >      int
 >      vfprintf(FILE *stream, const char *format, va_list ap);
 > -------------------------------------------------------------

 The source code calling fprintf is buggy.

 the st_size member of struct stat is an off_t -- the code assumes
 that it's a long.  There's no guarantee that the two are the same.

 For the code to be correct (or at least, more correct, i'm not looking
 for all of the potential bugs in the code 8-), it'd have cast
 struct_stat.st_size to (long) before printing it with %ld.



 cgd
 -- 
 Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
 Disclaimer: Not speaking for NetBSD, just expressing my own opinion.

 ----Next_Part(Tue_Nov_30_15:33:35_1999_542)--
 Content-Type: Message/Rfc822
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename="-Wformat -Werror"

 Return-Path: <cgd@netbsd.org>
 Return-Path: <cgd@netbsd.org>
 Received: from m-az33-r1.mot.com (m-az33-r1.mot.com [129.188.127.11])
 	by fujiwara.sps.mot.com (8.8.8/3.7W_scg-1.1-990506) with ESMTP id FAA14242
 	for <fujiwara@papageno.sps.mot.com>; Tue, 30 Nov 1999 05:46:11 +0900 (JST)
 From: cgd@netbsd.org
 Received: from msgsrv1.sps.mot.com by m-az33-r1.mot.com with ESMTP for rty029@relay.corp.mot.com; Mon, 29 Nov 1999 13:46:00 -0700
 Received: from pobox.mot.com ([129.188.137.100]) by msgsrv1.sps.mot.com          (Netscape Messaging Server 3.61)  with ESMTP id AAA27F9          for <makoto.fujiwara@Onsemi.com>; Mon, 29 Nov 1999 13:46:08 -0700
 Received: [from motgate2.mot.com (motgate2.mot.com [136.182.1.10]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id NAA07568 for <makoto.fujiwara@Onsemi.com>; Mon, 29 Nov 1999 13:46:06 -0700 (MST)]
 Received: [from mail.netbsd.org (redmail.netbsd.org [155.53.200.193]) by motgate2.mot.com (MOT-motgate2 1.0) with SMTP id NAA06163 for <makoto.fujiwara@Onsemi.com>; Mon, 29 Nov 1999 13:45:58 -0700 (MST)]
 Received: (qmail 19587 invoked by uid 1000); 29 Nov 1999 20:45:49 -0000
 Date: 29 Nov 1999 20:45:49 -0000
 Message-Id: <19991129204549.19582.qmail@mail.netbsd.org>
 To: "Makoto Fujiwara (rty029)" <makoto.fujiwara@onsemi.com>, cgd@netbsd.org,
         lib-bug-people@netbsd.org, cgd@netbsd.org
 Subject: Re: lib/8912
 X-Motorola-Sent-Wireless: 1

 Synopsis: vfprintf/strlen problem (stdargs.h)

 State-Changed-From-To: open->feedback
 State-Changed-By: cgd
 State-Changed-When: Mon Nov 29 12:43:32 PST 1999
 State-Changed-Why: 
 reply from me incoming.  This is _not_ a bug in the NetBSD
 libraries or system, it is a bug in the sharutils source code.
 My mail explains the problem.  Please confirm my understanding
 of the problem, then reply (being sure to cc gnats-bugs@netbsd.org),
 and I will close the PR.  The proper solution for this problem
 is to feed a fix back to the sharutils maintainers, to use
 -Wformat -Werror when compiling with gcc.  (err, "and to use.")


 Responsible-Changed-From-To: lib-bug-people->cgd
 Responsible-Changed-By: cgd
 Responsible-Changed-When: Mon Nov 29 12:43:32 PST 1999
 Responsible-Changed-Why: 
 see above.

 ----Next_Part(Tue_Nov_30_15:33:35_1999_542)----

 ------- End of forwarded message -------
State-Changed-From-To: feedback->closed 
State-Changed-By: cgd 
State-Changed-When: Mon Nov 29 23:32:36 PST 1999 
State-Changed-Why:  
see above. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.