Your message dated Thu, 11 Apr 2002 14:01:00 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#61149: fixed in sfio 2000-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--
Received: (at submit) by bugs.debian.org; 27 Mar 2000 07:21:47 +
Received: (qmail 16302 invoked from network); 27 Mar 2000 07:21:47 -
Received: from c454468-a.frmt1.sfba.home.com (HELO tytlal.z.streaker.org)
([EMAIL PROTECTED])
by master.debian.org with SMTP; 27 Mar 2000 07:21:47 -
Received: from chip by tytlal.z.streaker.org with local (Exim 3.12 #1 (Debian))
id 12ZTqN-oB-00
for <[EMAIL PROTECTED]>; Sun, 26 Mar 2000 23:21:47 -0800
Date: Sun, 26 Mar 2000 23:21:47 -0800
From: Chip Salzenberg <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Conflict in L_* macros between sfio and stdio
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.1.9i
Sender: Chip Salzenberg <[EMAIL PROTECTED]>
Package: sfio-dev
Version: 1999-3
Among other useful things, /usr/include/sfio/stdio.h defines some
limit macros: L_cuserid, L_ctermid, and L_tmpnam. However, if a
program that has included later includes ,
that leads to inclusion of , which then includes
, which redefines L_tmpnam differently from sfio.
In any case, since sfio as built for Debian doesn't have its own
tmpnam function, it shouldn't be using a different L_tmpnam definition
from the one in .
Suggested solution:
Since we know that Debian is using glibc, portability to non-glibc
targets isn't our concern. I suggest the following patch:
--- stdio.h.distrib Mon Dec 13 23:34:16 1999
+++ stdio.h Sun Mar 26 23:18:48 2000
@@ -11,11 +11,23 @@
#include
+#if defined __USE_SVID || defined __USE_XOPEN
+/* Default path prefix for `tempnam' and `tmpnam'. */
+# define P_tmpdir "/tmp"
+#endif
+
+/* Get the values:
+ L_tmpnamHow long an array of chars must be to be passed to `tmpnam'.
+ TMP_MAX The minimum number of unique filenames generated by tmpnam
+ (and tempnam when it uses tmpnam's name space),
+ or tempnam (the two are separate).
+ L_ctermid How long an array to pass to `ctermid'.
+ L_cuserid How long an array to pass to `cuserid'.
+ FOPEN_MAX Minimum number of files that can be open at once.
+ FILENAME_MAXMaximum length of a filename. */
+#include
+
#define _IOFBF 0
#define _IONBF 1
#define _IOLBF 2
-#define L_ctermid 32
-#define L_cuserid 32
-#define P_tmpdir "/tmp/"
-#define L_tmpnam (sizeof(P_tmpdir)+32)
#define fpos_t Sfoff_t
--
Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K
---
Received: (at 61149-close) by bugs.debian.org; 11 Apr 2002 18:09:31 +
>From [EMAIL PROTECTED] Thu Apr 11 13:09:31 2002
Return-path: <[EMAIL PROTECTED]>
Received: from auric.debian.org [206.246.226.45] (mail)
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 16vj0l-0007jI-00; Thu, 11 Apr 2002 13:09:31 -0500
Received: from katie by auric.debian.org with local (Exim 3.12 1 (Debian))
id 16visW-0005mu-00; Thu, 11 Apr 2002 14:01:00 -0400
From: Stephen Zander <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.5 $
Subject: Bug#61149: fixed in sfio 2000-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 11 Apr 2002 14:01:00 -0400
Delivered-To: [EMAIL PROTECTED]
We believe that the bug you reported is fixed in the latest version of
sfio, which is due to be installed in the Debian FTP archive:
sfio-dev_2000-1_i386.deb
to pool/main/s/sfio/sfio-dev_2000-1_i386.deb
sfio1999_2000-1_i386.deb
to pool/main/s/sfio/sfio1999_2000-1_i386.deb
sfio2000_2000-1_i386.deb
to pool/main/s/sfio/sfio2000_2000-1_i386.deb
sfio_2000-1.diff.gz
to pool/main/s/sfio/sfio_2000-1.diff.gz
sfio_2000-1.dsc
to pool/main/s/sfio/sfio_2000-1.dsc
sfio_2000.orig.tar.gz
to pool/main/s/sfio/sfio_2000.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.