Your message dated Fri, 26 May 2006 14:02:31 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#346437: fixed in dietlibc 0.29-12
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)

--- Begin Message ---
Package: dietlibc-dev
Version: 0.29-8
Severity: normal


fflush(NULL) seems to flush the stdin stream, as well as any open
streams it can find, regardless of whether or not it's a writeable
stream.   According to the fflush manpage, this is wrong:

        If  the  stream  argument  is  NULL,  fflush()  flushes all open
        output streams.

You can see this behavior with the test program I've included below, and
then test it again by commenting out the fflush(NULL) call in it to see
the difference.

#include <stdio.h>
#include <string.h>

int main (void)
{
        char buf[4096];
        while (fgets(buf,4096,stdin)) {
                /* this can also be fwrite/fprintf: */
                write(1,buf,strlen(buf));
                
                /* you can comment this out to compare */
                fflush(NULL);
        }

        return 0;
}

/* EOF */

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.2-g54f4bf28
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

dietlibc-dev depends on no packages.

Versions of packages dietlibc-dev recommends:
pn  dietlibc                      <none>     (no description available)

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: dietlibc
Source-Version: 0.29-12

We believe that the bug you reported is fixed in the latest version of
dietlibc, which is due to be installed in the Debian FTP archive:

dietlibc-doc_0.29-12_all.deb
  to pool/main/d/dietlibc/dietlibc-doc_0.29-12_all.deb
dietlibc_0.29-12.diff.gz
  to pool/main/d/dietlibc/dietlibc_0.29-12.diff.gz
dietlibc_0.29-12.dsc
  to pool/main/d/dietlibc/dietlibc_0.29-12.dsc



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.

Debian distribution maintenance software
pp.
Gerrit Pape <[EMAIL PROTECTED]> (supplier of updated dietlibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 26 May 2006 18:29:49 +0000
Source: dietlibc
Binary: dietlibc-doc dietlibc dietlibc-dev
Architecture: all source
Version: 0.29-12
Distribution: unstable
Urgency: low
Maintainer: Gerrit Pape <[EMAIL PROTECTED]>
Changed-By: Gerrit Pape <[EMAIL PROTECTED]>
Description: 
 dietlibc   - diet libc shared libraries - a libc optimized for small size
 dietlibc-dev - diet libc - a libc optimized for small size
 dietlibc-doc - diet libc documentation - a libc optimized for small size
Closes: 346437
Changes: 
 dietlibc (0.29-12) unstable; urgency=low
 .
   * debian/diff/fflush-null.diff: new; fflush(NULL): don't flush input
     streams (stdin) (closes: #346437).
   * debian/control: Standards-Version: 3.7.2.0.
   * debian/dietlibc-dev.prerm.in: minor.
Files: 
 7e0ec77b04d85bf0707df73db111648f 556 devel optional dietlibc_0.29-12.dsc
 5fa582011e144c672f968ebdfde8d4bf 65855 devel optional dietlibc_0.29-12.diff.gz
 68a203a0f3ce5470fbe677b1e5204500 47762 doc optional 
dietlibc-doc_0.29-12_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEd05YGJoyQbxwpv8RAsV7AJ9RnFfWFdakla/nHtACyf6J5NUSMQCeIF3t
1HYD8qp385s8meU5ajyMrlU=
=kldA
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to