| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
to compile
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. I've removed some erroneous code regarding signal names (it doesn't
handle signal aliases) with a reference to a module that does handle
it correctly.
2. Removed the sample on temporary signal ignoring; this is not likely
to do what users want it to do. Possibly this should be replaced by a
discussion on sigprocmask & friends, but perhaps we can skip in
altogether
3. Corrected the discussion on permissions to take the difference
between real, effective and saved UIDs into account.
4. Removed all mention of the SysV signaling issue. This was rather
relevant when perlipc was written 15 years ago but it isn't anymore
nowadays.
5. Removed the suggestion that you can longjmp out of a signal handler
(see CERT's SIG32-C).
|
|
|
|
|
|
|
| |
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81906]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81906 >
|
|
|
|
|
| |
Move the '=head1 Named Pipes' section down so that it's no longer nested,
cuckoo-like, in the middle of the '=head1 Signals' section.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently if an operation on a file handle is interrupted, and if
the signal handler accesses that same file handle (e.g. closes it),
then perl will crash. See [perl #75556].
This commit provides some basic infrastructure to avoid segfaults.
Basically it adds a lock count field to each handle (by re-purposing the
unused flags field in the PL_perlio array), then each time a signal
handler is called, the count is incremented. Then various parts of PerlIO
use a positive count to change behaviour. Most importantly, when layers
are popped, the PerlIOl structure is cleared, but not freed, and is left
in the chain of layers. This means that callers still holding pointers to
the various layers won't access freed structures. It does however mean
that PerlIOl structs may be leaked, and possibly slots in PL_perlio. But
this is better than crashing.
Not much has been done to give sensible behaviour on re-entrancy; for
example, a buffer that has already been written once might get written
again. Fixing this sort of thing would require a large-scale audit of
perlio.c.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Looking through perlipc to make little fixes, it quickly became clear to me
that it had been patched with code by people with a Perl coding style, and
sometimes with an English language style, both very different to my own.
This made it seem like an old patchwork tattercloth that didn't fit
together very well. It was confusing and detracted from the overall
message. I've tried to fix all this. I started with a recent git pull
and edited. The result is something that is once again internally
self-consistent.
|
|
|
|
| |
Signed-off-by: David Golden <dagolden@cpan.org>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I looked at all the instances of spaces around -- and in most cases
converted the sentences to use more appropriate punctuation. In
general, the -- in the perl docs seem to be there only to make
really complicated and really long sentences.
I didn't look at the closed em-dashes. They probably have the same
sentence-complexity problem.
I left some open em-dashes in place. Those are the ones used in
lists.
|
|
|
|
| |
Documentation in perlipc thus fixed by using // instead of ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These are all in the pod/ directory, and only the first is a code fix.
There was also a single lingering ISO 8859-1 encoding that missed the
UTF-8 upconvert. The rest are cleanups for typos, some of which seem
to have been around for a rather long time: spelling errors, incorrect
possessives, and extra, missing, or duplicated words.
If you actually read through, I bet you'll realize what sparked this. :)
--tom
Signed-off-by: Abigail <abigail@abigail.be>
|
|
|
|
|
|
|
| |
Subject: Comment doesn't match code in perlipc.pod.
Date: Thu, 30 Jul 2009 07:31:48 -0600
To: perlbug@perl.org
From: David Fifield <david@bamsoftware.com>
|
|
|
|
|
| |
Tracking down deadlocks when using pipes for IPC can be hard, so put
even more notes about gotchas in this section of perlipc.
|
| |
|
|
|
| |
p4raw-id: //depot/perl@34976
|
|
|
|
|
|
| |
From: andrew@sundale.net (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-11257-1211174406-1790.54424-75-0@perl.org>
p4raw-id: //depot/perl@33977
|
|
|
|
|
| |
Message-ID: <46FD4B30.9070802@landgren.net>
p4raw-id: //depot/perl@32026
|
|
|
|
|
| |
provide full urls when linking to web sites.
p4raw-id: //depot/perl@30688
|
|
|
| |
p4raw-id: //depot/perl@30525
|
|
|
|
|
| |
signals in perlipc.pod.
p4raw-id: //depot/perl@30392
|
|
|
|
|
|
|
|
| |
signals and accept()
From: Andy Wardley (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-20371-1152897103-1865.39835-75-0@perl.org>
p4raw-id: //depot/perl@28622
|
|
|
|
|
| |
Message-ID: <4475D20D.9010600@gmail.com>
p4raw-id: //depot/perl@28313
|
|
|
|
|
| |
Message-ID: <20051031214827.GH24416@accognoscere.homeunix.org>
p4raw-id: //depot/perl@26073
|
|
|
|
|
| |
Message-ID: <20050611122656.GC8181@solemn.turbinal.org>
p4raw-id: //depot/perl@24807
|
|
|
|
|
| |
Message-ID: <20050602211954.GA22107@petdance.com>
p4raw-id: //depot/perl@24686
|
|
|
|
|
| |
Message-ID: <20041211232504.GA8380@londo.c47.org>
p4raw-id: //depot/perl@23642
|
|
|
|
|
| |
Message-ID: <41A4B5EA.3020804@stason.org>
p4raw-id: //depot/perl@23533
|
|
|
|
|
|
| |
From: Richard Soderberg (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-32419-100173.13.0717895191322@perl.org>
p4raw-id: //depot/perl@23496
|
|
|
|
|
| |
now that we have "safe signals".
p4raw-id: //depot/perl@22927
|
|
|
|
|
|
|
| |
From: Axel Boldt (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.8-28456-84424.10.5222745276547@perl.org>
Date: 11 Apr 2004 13:08:17 -0000
p4raw-id: //depot/perl@22727
|
|
|
|
|
|
|
| |
Message-ID: <20040125222218.GA13499@openwall.com>
Remove insecure usage of /tmp from code and documentation
p4raw-id: //depot/perl@22258
|
|
|
|
|
|
|
| |
Message-ID: <20030821210917.GB164965@linguist.thayer.dartmouth.edu>
(the pod part)
p4raw-id: //depot/perl@20813
|
|
|
| |
p4raw-id: //depot/perl@20668
|
|
|
|
|
|
| |
From: "John P. Linderman" <jpl@research.att.com>
Message-Id: <200308101944.PAA96547@raptor.research.att.com>
p4raw-id: //depot/perl@20607
|
|
|
|
|
| |
Message-ID: <20030716125620.GA7022@grazzini.net>
p4raw-id: //depot/perl@20178
|
|
|
| |
p4raw-id: //depot/perl@19929
|
|
|
|
|
|
|
|
|
|
| |
[ 18568]
Add the POSIX::sigaction() trick by Slaven Rezic
for [perl #17341].
p4raw-link: @18568 on //depot/maint-5.8/perl: b63b4058977cacb57fd0a26b3de014d3f4ca3296
p4raw-id: //depot/perl@19406
p4raw-integrated: from //depot/maint-5.8/perl@18568 'merge in'
pod/perlipc.pod (@18197..) pod/perlfunc.pod (@18379..)
|
|
|
| |
p4raw-id: //depot/perl@19164
|
|
|
| |
p4raw-id: //depot/perl@18766
|
|
|
|
|
| |
Message-ID: <87bs4gdohz.fsf@vran.herceg.de>
p4raw-id: //depot/perl@18183
|
|
|
|
|
| |
Message-Id: <200210131226.g9DCQQLN014591@vran.herceg.de>
p4raw-id: //depot/perl@18017
|
|
|
|
|
| |
Message-id: <20020806121601.GK40785@aragorn.noc.nl.demon.net>
p4raw-id: //depot/perl@17700
|
|
|
| |
p4raw-id: //depot/perl@17525
|
|
|
| |
p4raw-id: //depot/perl@17285
|