Debian bug report logs - #784, boring messages


Message sent to debian-devel@pixar.com:


Subject: Bug#784: Infelicities in fopen manpage
Reply-To: iwj10@cus.cam.ac.uk (Ian Jackson), debian-bugs@pixar.com
Resent-To: debian-devel@pixar.com
Resent-From: iwj10@cus.cam.ac.uk (Ian Jackson)
Resent-Sender: iwj10@cus.cam.ac.uk
Resent-Date: Mon, 10 Apr 1995 11:33:16 GMT
Resent-Message-ID: <debian-bugs-handler.784.041011324429799@pixar.com>
X-Debian-PR-Package: manpages
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Mon, 10 Apr 1995 11:33:16 GMT
Received: with rfc822 via encapsulated-mail id 041011324429799;
          Mon, 10 Apr 1995 11:32:44 GMT
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0ryHf1-0006g5C; Mon, 10 Apr 95 04:29 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA07133
  (5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Mon, 10 Apr 1995 04:29:24 -0700
Received: by bootes.cus.cam.ac.uk
	(Smail-3.1.29.0 #30) id m0ryHKr-000C00C; Mon, 10 Apr 95 12:08 BST
Received: by chiark
	id m0ry5ET-0000YjZ
	(Debian /\oo/\ Smail3.1.29.1 #29.30); Sun, 9 Apr 95 23:13 BST
Message-Id: <m0ry5ET-0000YjZ.ijackson@nyx.cs.du.edu>
Date: Sun, 9 Apr 95 23:13 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Debian bugs submission address <debian-bugs@pixar.com>

Package: manpages
Version: 1.5-1

The manpage for fopen contains:
       Reads and writes may be intermixed on  read/write  streams
       in  any  order, and do not require an intermediate seek as
       in previous versions of stdio.  This is  not  portable  to
       other  systems,  however,  and  may  not work under Linux
       (someone should find out and fix this  manpage);  ANSI   C
       requires that    a  file positioning  function   intervene
       between  output  and  input,  unless  an input   operation
       encounters end-of-file.

Also, the description of fdopen is:
       The  fdopen function associates a stream with the existing
       file descriptor, fildes. The mode of the stream  must  be
       compatible with the mode of the file descriptor.

This does not make it clear whether fdopen dup's the file descriptor
you give it.  In other words, it doesn't tell you whether calling
fclose is sufficient to close the underlying file descriptor(s) (it
seems that it is - if you try close on the original fd after using
fdopen/fclose you get EBADF).

Ian.


Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: iwj10@cus.cam.ac.uk (Ian Jackson)
Subject: Bug#784: Acknowledgement (was: Infelicities in fopen manpage)
In-Reply-To: <m0ry5ET-0000YjZ.ijackson@nyx.cs.du.edu>
References: <m0ry5ET-0000YjZ.ijackson@nyx.cs.du.edu>

Thank you for the problem report you have sent regarding Debian GNU/Linux.
This is an automatically generated reply, to let you know your message has
been received.  It is being forwarded to the developers' mailing list for
their attention; they will reply in due course.

If you wish to submit further information on your problem, please send
it to debian-bugs@pixar.com, but please ensure that the Subject
line of your message starts with "Bug#784" or "Re: Bug#784" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)


Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov