CARVIEW |
Select Language
HTTP/2 200
cache-control: max-age=43200
server: Combust/Plack (Perl)
vary: Accept-Encoding
content-encoding: gzip
content-length: 1638
content-type: text/html; charset=utf-8
last-modified: Sun, 12 Oct 2025 03:49:56 GMT
traceparent: d3d164b71149d9e79995eb65e69d1b70
strict-transport-security: max-age=15768000
Re: Changing magic <> without changing core - nntp.perl.org
Front page | perl.perl5.porters |
Postings from July 2008
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About

Re: Changing magic <> without changing core
Thread Previous | Thread NextFrom:
BramDate:
July 28, 2008 01:18Subject:
Re: Changing magic <> without changing coreMessage ID:
20080728101601.263hx71wo0ow40k4@horde.wizbit.beCiteren Aristotle Pagaltzis <pagaltzis@gmx.de>: > * Bram <p5p@perl.wizbit.be> [2008-07-28 09:40]: >> Safe by default is pretty simple. >> >> doio.c in Perl_nextargv: change line 724 from: (Actually it's not line 724 - it's 742) >> >> if (do_open(gv,PL_oldname,oldlen,PL_inplace!=0,O_RDONLY,0,NULL)) { >> >> to >> >> if (do_open(gv,PL_oldname,oldlen,1,O_RDONLY,0,NULL)) { > > Will that respect `-` properly? > Nope it won't. But this should: if (do_open(gv,PL_oldname,oldlen,PL_inplace!=0 || *PL_oldname != '-',O_RDONLY,0,NULL)) {Thread Previous | Thread Next
- Changing magic <> without changing core by Aaron Crane
- Re: Changing magic <> without changing core by Ed Avis
- Re: Changing magic <> without changing core by Bram
- Re: Changing magic <> without changing core by Aristotle Pagaltzis
- Re: Changing magic <> without changing core by Bram
- Re: Changing magic <> without changing core by Rafael Garcia-Suarez
- Re: Changing magic <> without changing core by Aristotle Pagaltzis
- Re: Changing magic <> without changing core by Mark Mielke
- Re: Changing magic <> without changing core by Johan Vromans
- Re: Changing magic <> without changing core by Glenn Linderman
- Re: Changing magic <> without changing core by Ed Avis
- Re: Changing magic <> without changing core by Mark Mielke
- Re: Changing magic <> without changing core by Ed Avis
- Re: Changing magic <> without changing core by Rafael Garcia-Suarez
- magic <<>> (was: Re: Changing magic <> without changing core) by Bram
- Re: magic <<>> (was: Re: Changing magic <> without changing core) by Rafael Garcia-Suarez
- Re: Changing magic <> without changing core by Ed Avis
- Re: Changing magic <> without changing core by Rafael Garcia-Suarez
- RE: Changing magic <> without changing core by Ed Avis
- Re: Changing magic <> without changing core by Rafael Garcia-Suarez
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About