public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug manual/2074] _IO_new_file_xsputn() in fileops.c not checking for EOF
       [not found] <bug-2074-131@http.sourceware.org/bugzilla/>
@ 2012-04-12 19:05 ` aj at suse dot de
  2012-04-12 19:10 ` aj at suse dot de
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: aj at suse dot de @ 2012-04-12 19:05 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=2074

Andreas Jaeger <aj at suse dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |aj at suse dot de
         Resolution|                            |FIXED

--- Comment #12 from Andreas Jaeger <aj at suse dot de> 2012-04-12 19:05:39 UTC ---
The patch to the manual and also a corresponding change to libio.h has been put
into git now.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug manual/2074] _IO_new_file_xsputn() in fileops.c not checking for EOF
       [not found] <bug-2074-131@http.sourceware.org/bugzilla/>
  2012-04-12 19:05 ` [Bug manual/2074] _IO_new_file_xsputn() in fileops.c not checking for EOF aj at suse dot de
@ 2012-04-12 19:10 ` aj at suse dot de
  2012-04-30  1:11 ` mtk.manpages at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: aj at suse dot de @ 2012-04-12 19:10 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=2074

--- Comment #13 from Andreas Jaeger <aj at suse dot de> 2012-04-12 19:09:46 UTC ---
I also filed Bug 13975 - fopencookie interface surprising.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug manual/2074] _IO_new_file_xsputn() in fileops.c not checking for EOF
       [not found] <bug-2074-131@http.sourceware.org/bugzilla/>
  2012-04-12 19:05 ` [Bug manual/2074] _IO_new_file_xsputn() in fileops.c not checking for EOF aj at suse dot de
  2012-04-12 19:10 ` aj at suse dot de
@ 2012-04-30  1:11 ` mtk.manpages at gmail dot com
  2014-02-16 18:25 ` jackie.rosen at hushmail dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: mtk.manpages at gmail dot com @ 2012-04-30  1:11 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=2074

Michael Kerrisk <mtk.manpages at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtk.manpages at gmail dot
                   |                            |com

--- Comment #14 from Michael Kerrisk <mtk.manpages at gmail dot com> 2012-04-30 01:11:15 UTC ---
(In reply to comment #11)
> Created attachment 4777 [details]
> proposed patch
> 
> Ok to commit?

I've committed a corresponding change to the fopencookie(3) man page.

@@ -158,7 +158,8 @@ As its function result, the
 .I write
 function should return the number of bytes copied from
 .IR buf ,
-or \-1 on error.
+or 0 on error.
+(The function must not return a negative value.)
 The
 .I write
 function should update the stream offset appropriately.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug manual/2074] _IO_new_file_xsputn() in fileops.c not checking for EOF
       [not found] <bug-2074-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2012-04-30  1:11 ` mtk.manpages at gmail dot com
@ 2014-02-16 18:25 ` jackie.rosen at hushmail dot com
  2014-05-28 19:46 ` schwab at sourceware dot org
  2014-06-13 14:41 ` fweimer at redhat dot com
  5 siblings, 0 replies; 8+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 18:25 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=2074

Jackie Rosen <jackie.rosen at hushmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackie.rosen at hushmail dot com

--- Comment #15 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug manual/2074] _IO_new_file_xsputn() in fileops.c not checking for EOF
       [not found] <bug-2074-131@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-02-16 18:25 ` jackie.rosen at hushmail dot com
@ 2014-05-28 19:46 ` schwab at sourceware dot org
  2014-06-13 14:41 ` fweimer at redhat dot com
  5 siblings, 0 replies; 8+ messages in thread
From: schwab at sourceware dot org @ 2014-05-28 19:46 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=2074

Andreas Schwab <schwab at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|jackie.rosen at hushmail dot com   |

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug manual/2074] _IO_new_file_xsputn() in fileops.c not checking for EOF
       [not found] <bug-2074-131@http.sourceware.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2014-05-28 19:46 ` schwab at sourceware dot org
@ 2014-06-13 14:41 ` fweimer at redhat dot com
  5 siblings, 0 replies; 8+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 14:41 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=2074

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug manual/2074] _IO_new_file_xsputn() in fileops.c not checking for EOF
  2005-12-20 20:28 [Bug libc/2074] New: " jfardo at laurelnetworks dot com
  2010-05-10 23:46 ` [Bug manual/2074] " pasky at suse dot cz
@ 2010-05-11  0:51 ` pasky at suse dot cz
  1 sibling, 0 replies; 8+ messages in thread
From: pasky at suse dot cz @ 2010-05-11  0:51 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pasky at suse dot cz  2010-05-11 00:51 -------
Created an attachment (id=4777)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4777&action=view)
proposed patch

Ok to commit?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2074

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug manual/2074] _IO_new_file_xsputn() in fileops.c not checking for EOF
  2005-12-20 20:28 [Bug libc/2074] New: " jfardo at laurelnetworks dot com
@ 2010-05-10 23:46 ` pasky at suse dot cz
  2010-05-11  0:51 ` pasky at suse dot cz
  1 sibling, 0 replies; 8+ messages in thread
From: pasky at suse dot cz @ 2010-05-10 23:46 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pasky at suse dot cz  2010-05-10 23:46 -------
Then this is a documentation bug - 12.21.3.2 Custom Stream Hook Functions says:

   You should define the function to write data to the cookie as:

     ssize_t WRITER (void *COOKIE, const char *BUFFER, size_t SIZE)

   This is very similar to the `write' function; see *note I/O
Primitives::.  Your function should transfer up to SIZE bytes from the
buffer, and return the number of bytes written.  You can return a value
of `-1' to indicate an error.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
          Component|libc                        |manual
         Resolution|INVALID                     |


http://sourceware.org/bugzilla/show_bug.cgi?id=2074

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-06-13 14:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-2074-131@http.sourceware.org/bugzilla/>
2012-04-12 19:05 ` [Bug manual/2074] _IO_new_file_xsputn() in fileops.c not checking for EOF aj at suse dot de
2012-04-12 19:10 ` aj at suse dot de
2012-04-30  1:11 ` mtk.manpages at gmail dot com
2014-02-16 18:25 ` jackie.rosen at hushmail dot com
2014-05-28 19:46 ` schwab at sourceware dot org
2014-06-13 14:41 ` fweimer at redhat dot com
2005-12-20 20:28 [Bug libc/2074] New: " jfardo at laurelnetworks dot com
2010-05-10 23:46 ` [Bug manual/2074] " pasky at suse dot cz
2010-05-11  0:51 ` pasky at suse dot cz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).