Yitzchak Scott-Thoennes schrieb:
After discussion with Reini and Gerrit, I made some changes. Package
for the builtin extra functions is now Cygwin::, and the cygwin32_
prefix is removed.
Gerrit, if this looks good to you, do you want to release a new
cygwin perl?
Great! Now we only have to provide better place for the docs.
See the attached patch for pods/perlcygwin.pod
How about that?
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
--- pods/perlcygwin.pod.orig 2005-01-10 00:30:40.001000000 +0100
+++ pods/perlcygwin.pod 2005-02-11 20:04:00.609375000 +0100
@@ -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