develooper Front page | perl.perl5.porters | Postings from September 2013

[perl #7586] STDOUT is not flushed before exec().

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
September 16, 2013 12:03
Subject:
[perl #7586] STDOUT is not flushed before exec().
Message ID:
rt-3.6.HEAD-1873-1379333018-381.7586-15-0@perl.org
On Mon Sep 16 04:14:07 2013, hmbrand wrote:
> On Mon, 16 Sep 2013 11:39:42 +0100, Nicholas Clark <nick@ccl4.org>
> wrote:
> 
> > On Mon, Sep 16, 2013 at 12:27:45PM +0200, H.Merijn Brand wrote:
> > > On Mon, 16 Sep 2013 11:20:24 +0100, Nicholas Clark <nick@ccl4.org>
> > > wrote:
> > >
> > > > On Mon, Sep 16, 2013 at 10:09:02AM +0100, Nicholas Clark wrote:
> > > >
> > > > > It turns out* that $Config{fflushNULL} on HP-UX is *STILL*
> undef, because
> > > > > fflush(NULL) wrongly closes STDIN if STDIN is a pipe (which is
> what the
> > > > > Configure test probes for).
> > > >
> > > > Is it worth documenting the specific failure case more clearly?
> Something
> > > > like this?
> > >
> > > YES!
> > >
> > > Do you want to commit that yourself?
> > > Follow-up steps are to regenerate the files in the perl repo and
> > > Porting/glossary. Not too much work once you know the tantra. I
> can do
> > > that now if you want
> >
> > I think this time I'd prefer it if you did it. My head is rather
> full with
> > a lot of other things.
> 
> Doing it right now, alongside the other lingering changes
> 
> > If I looks like I'm getting into a regular habit of patching
> Configure
> > then I'll try to figure out how to do it myself (and check that I'm
> getting
> > it right)
> >
> > But in particular I'm not sure when I'm patching local units, versus
> when
> > I would be about to make the first change to an unmodified upstream
> unit.
> 
> I have TWO perl source trees. One is the git repo, the other is an
> rsync "clone" in which meta generates and modifies the files with
> symlinks back into meta for Glossary generation (see .gitignore)
> 
> After a generation, I do �xxdiff perl{,-git}/Configure&� to see if
> what
> is generated is now in sync. In an ideal case, that'll just show the
> time stamp in the header section.
> 
> When I am done (and satisfied), I'll run a complete test in "perl", if
> that passes, I'll generate the Glossary, after that, I copy all
> changed
> files to ../perl-git and check against the git repo. I pull/rebase and
> run a final make test_porting and commit and push
> 
> > Nicholas Clark
> 


I'm moving this ticket's status back to Open until this
Configure-related discussion settles down.

---
via perlbug:  queue: perl5 status: rejected
https://rt.perl.org:443/rt3/Ticket/Display.html?id=7586

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About