public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/13731] New: [3.4/3.5 regression] Low level I/O not safe wrt short writes
@ 2004-01-18 19:35 paolo at gcc dot gnu dot org
2004-01-18 19:36 ` [Bug libstdc++/13731] " paolo at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: paolo at gcc dot gnu dot org @ 2004-01-18 19:35 UTC (permalink / raw)
To: gcc-bugs
This issue must be fixed before the release of 3.4.0,
http://gcc.gnu.org/ml/libstdc++/2003-07/msg00212.html,
particularly relevant for pipes.
It's a regression, because 3_3-branch uses fwrite.
--
Summary: [3.4/3.5 regression] Low level I/O not safe wrt short
writes
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: libstdc++
AssignedTo: paolo at gcc dot gnu dot org
ReportedBy: paolo at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: Any
GCC target triplet: Any
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13731
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/13731] [3.4/3.5 regression] Low level I/O not safe wrt short writes
2004-01-18 19:35 [Bug libstdc++/13731] New: [3.4/3.5 regression] Low level I/O not safe wrt short writes paolo at gcc dot gnu dot org
@ 2004-01-18 19:36 ` paolo at gcc dot gnu dot org
2004-01-18 19:38 ` paolo at gcc dot gnu dot org
2004-01-18 19:52 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu dot org @ 2004-01-18 19:36 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-01-18 19:35:59
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13731
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/13731] [3.4/3.5 regression] Low level I/O not safe wrt short writes
2004-01-18 19:35 [Bug libstdc++/13731] New: [3.4/3.5 regression] Low level I/O not safe wrt short writes paolo at gcc dot gnu dot org
2004-01-18 19:36 ` [Bug libstdc++/13731] " paolo at gcc dot gnu dot org
@ 2004-01-18 19:38 ` paolo at gcc dot gnu dot org
2004-01-18 19:52 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu dot org @ 2004-01-18 19:38 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13731
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/13731] [3.4/3.5 regression] Low level I/O not safe wrt short writes
2004-01-18 19:35 [Bug libstdc++/13731] New: [3.4/3.5 regression] Low level I/O not safe wrt short writes paolo at gcc dot gnu dot org
2004-01-18 19:36 ` [Bug libstdc++/13731] " paolo at gcc dot gnu dot org
2004-01-18 19:38 ` paolo at gcc dot gnu dot org
@ 2004-01-18 19:52 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-18 19:52 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13731
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libstdc++/13731] [3.4/3.5 regression] Low level I/O not safe wrt short writes
[not found] <20040118193545.13731.pcarlini@suse.de>
@ 2004-02-12 0:05 ` cvs-commit at gcc dot gnu dot org
0 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-12 0:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-12 00:05 -------
Subject: Bug 13731
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: paolo@gcc.gnu.org 2004-02-12 00:05:35
Modified files:
libstdc++-v3 : ChangeLog
libstdc++-v3/config/io: basic_file_stdio.cc basic_file_stdio.h
Log message:
2004-02-11 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/13731 (first part: write)
* config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
New, declare.
* config/io/basic_file_stdio.cc (__basic_file<char>::xwrite):
Define it: a wrapper around write() handling partial write.
(__basic_file<char>::xsputn): Use it.
(__basic_file<char>::xsputn_2): Likewise.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.2326&r2=1.2327
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/io/basic_file_stdio.cc.diff?cvsroot=gcc&r1=1.27&r2=1.28
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/io/basic_file_stdio.h.diff?cvsroot=gcc&r1=1.17&r2=1.18
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13731
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-02-12 0:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-18 19:35 [Bug libstdc++/13731] New: [3.4/3.5 regression] Low level I/O not safe wrt short writes paolo at gcc dot gnu dot org
2004-01-18 19:36 ` [Bug libstdc++/13731] " paolo at gcc dot gnu dot org
2004-01-18 19:38 ` paolo at gcc dot gnu dot org
2004-01-18 19:52 ` pinskia at gcc dot gnu dot org
[not found] <20040118193545.13731.pcarlini@suse.de>
2004-02-12 0:05 ` cvs-commit at gcc dot gnu dot org
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).