On Tue Jul 29 06:04:29 2014, gra...@wdlabs.com wrote:
> This is a bug report for perl from gra...@wdlabs.com,> generated with the help of perlbug 1.40 running under perl 5.20.0.> > > -----------------------------------------------------------------> The documentation here repeats winpid_to_pid twince, I think> the intent is to mention Cygwin::pid_to_winpid.> >
I have prepared the patch attached but someone more familiar with Cygwin than I should review it first.
Thank you very much.
Jim Keenan
---
via perlbug: queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=122430
From aedb2c292cbab9e0438c6df6db46e72e96cbfb39 Mon Sep 17 00:00:00 2001
From: James E Keenan <jkee...@cpan.org>
Date: Wed, 30 Jul 2014 07:45:40 -0400
Subject: [PATCH] Correct double mention of winpid_to_pid.
As reported by graham at wdlabs dot com.
For: RT #122430
---
README.cygwin | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.cygwin b/README.cygwin
index 02ab4fb..691da50 100644
--- a/README.cygwin
+++ b/README.cygwin
@@ -390,7 +390,7 @@ Cygwin processes have their own pid, which is different from the
underlying windows pid. Most posix compliant Proc functions expect
the cygwin pid, but several Win32::Process functions expect the
winpid. E.g. C<$$> is the cygwin pid of F</usr/bin/perl>, which is not
-the winpid. Use C<Cygwin::winpid_to_pid()> and C<Cygwin::winpid_to_pid()>
+the winpid. Use C<Cygwin::pid_to_winpid()> and C<Cygwin::winpid_to_pid()>
to translate between them.
=item * Cygwin vs. Windows errors
--
1.9.1