On Fri, Feb 11, 2005 at 08:08:25PM +0100, Reini Urban wrote: > --- pods/perlcygwin.pod.orig 2005-01-10 00:30:40.001000000 +0100 > +++ pods/perlcygwin.pod 2005-02-11 20:04:00.609375000 +0100
Appliers note that this is README.cygwin in the source distribution. > @@ -436,6 +436,15 @@ > in a makefile) the F<.exe> is not transparent. The I<install> included > with Cygwin automatically appends a F<.exe> when necessary. > > +=item * cygwin vs. windows process ids > + > +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()> > +to translate between them. > + > =item * C<chown()> > > On WinNT C<chown()> can change a file's user and group IDs. On Win9x > C<chown()> > @@ -528,12 +537,14 @@ > t/op/stat.t - no /dev, skip Win32 ftCreationTime quirk > (cache manager sometimes preserves ctime of file > previously created and deleted), no -u (setuid) > + t/lib/cygwin.t - builtin cygwin function tests > > =item Compiled Perl Source > > EXTERN.h - __declspec(dllimport) > XSUB.h - __declspec(dllexport) > - cygwin/cygwin.c - os_extras (getcwd, spawn) > + cygwin/cygwin.c - os_extras (getcwd, spawn, Cygwin::winpid_to_pid, > + Cygwin::pid_to_winpid) > perl.c - os_extras > perl.h - binmode > doio.c - win9x can not rename a file when it is open > @@ -582,4 +593,4 @@ > > =head1 HISTORY > > -Last updated: 2003-08-12 > +Last updated: 2005-02-11 Looks good; thanks.
