public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/8504: ios::app + pipes
@ 2002-11-22  9:23 paolo
  0 siblings, 0 replies; 5+ messages in thread
From: paolo @ 2002-11-22  9:23 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, papadopo

Synopsis: ios::app + pipes

State-Changed-From-To: open->feedback
State-Changed-By: paolo
State-Changed-When: Sat Nov 16 04:07:59 2002
State-Changed-Why:
    I cannot reproduce the error on i686-pc-linux-gnu (glibc2.3.1)
    with 3.2.1 pre and 3.3 exp: seems either platform dependent
    or already fixed. Could you possibly test on Solaris and/or
    IRIX 3.2.1 pre?

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8504


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

* Re: libstdc++/8504: ios::app + pipes
@ 2003-04-22 12:36 Dimitri Papadopoulos-Orfanos
  0 siblings, 0 replies; 5+ messages in thread
From: Dimitri Papadopoulos-Orfanos @ 2003-04-22 12:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/8504; it has been noted by GNATS.

From: Dimitri Papadopoulos-Orfanos <papadopo@shfj.cea.fr>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
   gcc-prs@gcc.gnu.org
Cc:  
Subject: Re: libstdc++/8504: ios::app + pipes
Date: Tue, 22 Apr 2003 14:35:02 +0200

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8504
 
  > It seems that not much can be done on the v3 side...
 
 What do you mean by that. Can something be done for v4? Or is this not 
 annoying enough to be ever fixed?
 
 --
 Dimitri
 


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

* Re: libstdc++/8504: ios::app + pipes
@ 2003-02-03 13:05 paolo
  0 siblings, 0 replies; 5+ messages in thread
From: paolo @ 2003-02-03 13:05 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, papadopo

Synopsis: ios::app + pipes

State-Changed-From-To: analyzed->closed
State-Changed-By: paolo
State-Changed-When: Mon Feb  3 13:05:46 2003
State-Changed-Why:
    It seems that not much can be done on the v3 side...

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8504


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

* Re: libstdc++/8504: ios::app + pipes
@ 2002-11-22 15:12 paolo
  0 siblings, 0 replies; 5+ messages in thread
From: paolo @ 2002-11-22 15:12 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, papadopo

Synopsis: ios::app + pipes

State-Changed-From-To: feedback->analyzed
State-Changed-By: paolo
State-Changed-When: Mon Nov 18 00:52:05 2002
State-Changed-Why:
    Submitter cannot reproduce on i686-pc-linux-gnu either, but
    the problem it's still present on Solaris and IRIX.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8504


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

* libstdc++/8504: ios::app + pipes
@ 2002-11-08  6:26 papadopo
  0 siblings, 0 replies; 5+ messages in thread
From: papadopo @ 2002-11-08  6:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         8504
>Category:       libstdc++
>Synopsis:       ios::app + pipes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 08 06:26:10 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     papadopo@shfj.cea.REMOVE.fr
>Release:        gcc-3.2
>Organization:
>Environment:
Solaris 8 7/01 + gcc-3.2
IRIX 6.5.13 + gcc-3.0.2
>Description:
fstream::open() with ios::app flag fails on pipes for gcc 3.0 and better.

This used to work fine with gcc 2.95.3.
>How-To-Repeat:
To reproduce:
- build the attached openapp.cc source file
- create a pipe named /tmp/pipe - use "mkfifo /tmp/pipe"
- run the program, it will attempt to open /tmp/pipe with
  fstream::open() and ios::app flag
- read the pipe from a shell to unblock - "cat /tmp/pipe"
- fstream::open() will fail with error "Illegal seek"
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="openapp.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="openapp.cc"

I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8ZnN0cmVhbT4KI2luY2x1ZGUgPGNzdHJpbmc+
CiNpbmNsdWRlIDxjZXJybm8+Cgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CiAg
b2ZzdHJlYW0gcGlwZTsKICBwaXBlLm9wZW4oICIvdG1wL3BpcGUiLCBpb3M6Om91dHxpb3M6OmFw
cCApOwogIGlmKCAhcGlwZSApCiAgICBjZXJyIDw8ICJjb3VsZCBub3Qgb3BlbiBwaXBlICgiIDw8
IGVycm5vIDw8ICIsICIgPDwgc3RyZXJyb3IoZXJybm8pIDw8ICIpIiA8PCBlbmRsOwp9Cg==


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

end of thread, other threads:[~2003-04-22 12:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-22  9:23 libstdc++/8504: ios::app + pipes paolo
  -- strict thread matches above, loose matches on Subject: below --
2003-04-22 12:36 Dimitri Papadopoulos-Orfanos
2003-02-03 13:05 paolo
2002-11-22 15:12 paolo
2002-11-08  6:26 papadopo

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).