summaryrefslogtreecommitdiff
path: root/win32/perlhost.h
Commit message (Collapse)AuthorAgeFilesLines
* integrate a variant of change#17568 from maint-5.6 branch (theGurusamy Sarathy2002-07-161-23/+0
| | | | | | | do_exec parts elided so that change is restricted strictly to windows; binary compatibility stubs not needed) p4raw-link: @17568 on //depot/maint-5.6/perl: 07691bcd6c6d7fd92f508fd5268e700370ea47c2 p4raw-id: //depot/perl@17570
* make the gettimeofday() implementation in Time::HiRes availableGurusamy Sarathy2002-05-081-1/+8
| | | | | from perl p4raw-id: //depot/perl@16503
* Windows 64-bit support:Gurusamy Sarathy2002-04-211-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | * support for building it in the regular makefiles * large files support via the _*i64() functions (this should be portable to the 32-bit universe too, but quite untested and and binary-incompatible, therefore not enabled there) * three additional test failures in addition to the t/end.t one (see README.win32) * sprintf() on Windows gets %I{32,64,}[xoud] format that parallel the ones available from the CRT (needed because Perl uses the UVxf macros in both sprintf() *and* in sv_catpvf() et al.) * add a few 64-bit notes to README.win32 The following general problems were also fixed: * s/struct stat/Stat_t/g * Data::Dumper had some naughty 'long' typecasts * Errno_pm.PL didn't work safe when winsock.h was not in the same directory as errno.h * various tell/seek things were incorrectly prototyped * squelch ugly looking noise when running tests * Embed.t wasn't linking in all the libraries * perl57.dll is now perl58.dll (anticipating 5.8.0-RC1) * re-enable all the disabled warnings (additional fixes may be needed for the warnings uncovered by this) p4raw-id: //depot/perl@16033
* Win32 signal emulation cleanup.Nick Ing-Simmons2002-01-261-5/+4
| | | p4raw-id: //depot/perlio@14428
* Use PerlMemShared for CopSTASHPV and CopFILE. MUCH harder than it sounds!Nick Ing-Simmons2002-01-141-4/+2
| | | | | | | | | | | | Need to use CopXXXXX macros everywhere and add CopSTASH_free Add new scope type and add support for it to scope.c and scope stack dup-er in sv.c. Add savesharedpv(). Also zealous version of Win32's vmem.h to catch all the abuses. With this t/op/fork.t passes even with zealous checking and checker is point a finger at various threads/shared issues. PL_curcop->cop_io is still an issue. p4raw-id: //depot/perlio@14259
* Win32 fixes:Nick Ing-Simmons2002-01-131-2/+25
| | | | | | - vmem.h hack to handle free-by-wrong-thread after eval "". - Initialize timerid p4raw-id: //depot/perlio@14232
* Integrate perlio:Jarkko Hietaniemi2001-12-301-5/+7
|\ | | | | | | | | | | | | | | | | | | | | | | [ 13959] Win32 stuff: A. Use Perl_my_socketpair() B. Use PerlSock_xxxx() rather than raw xxxx() so we get to load winsock. C. (In passing) work round fact that $$ is now SvREADONLY so we need to take special measures to set it during pseudo-fork. p4raw-link: @13959 on //depot/perlio: e10bb1e95b6ccccae69758ba14c120c19396b201 p4raw-id: //depot/perl@13961
| * Win32 stuff:Nick Ing-Simmons2001-12-301-5/+7
| | | | | | | | | | | | | | | | A. Use Perl_my_socketpair() B. Use PerlSock_xxxx() rather than raw xxxx() so we get to load winsock. C. (In passing) work round fact that $$ is now SvREADONLY so we need to take special measures to set it during pseudo-fork. p4raw-id: //depot/perlio@13959
* | Sarathy thinks undoing C++ comments from C++ filesJarkko Hietaniemi2001-12-301-28/+28
|/ | | | | is a bit too zealous. p4raw-id: //depot/perl@13951
* from the non-ANSI comment police (was: it won't compile on win32) H.Merijn Brand2001-12-291-28/+28
| | | | | | | Message-Id: <20011229203646.24CF.H.M.BRAND@hccnet.nl> (NetWare tree not touched because it's very //) p4raw-id: //depot/perl@13939
* integrate change#13453 from maint-5.6Gurusamy Sarathy2001-12-041-3/+7
| | | | | | | | | | | | | tweak change#11399 to use an explicit flag rather than ass_u_ming w32_pseudo_id will only be zero for the real toplevel interpreter; avoids multiple hosts from diddling the environment at the same time p4raw-link: @13453 on //depot/maint-5.6/perl: 829f00ecc11a9cddae48275231aee0af40ec2be6 p4raw-link: @11399 on //depot/maint-5.6/perl: 0f7fbaf2aaedb3ed60637203319f491dc1812a50 p4raw-id: //depot/perl@13457 p4raw-integrated: from //depot/maint-5.6/perl@13456 'merge in' win32/perlhost.h (@12200..)
* Fix typos in new locking on MemSharedNick Ing-Simmons2001-10-201-3/+3
| | | | | | | Make buffers in PerlIOBuf_* in per-thread heap (they are cloned after all...) - seems to make segfaults more deterministic - suspect they are attempt to free() after Interp and Host have gone. p4raw-id: //depot/perlio@12541
* Use locks on MemSharedNick Ing-Simmons2001-10-201-14/+35
| | | p4raw-id: //depot/perlio@12539
* Integrate change #12200 from maintperl;Jarkko Hietaniemi2001-09-251-5/+6
| | | | | | | | | | on windows, virtualized environment could propagate deleted variables into children if they happen to be at the very end of the table p4raw-link: @12200 on //depot/maint-5.6/perl: a54e6844a84a87ee0c736e691b5bedbfcbccb5bd p4raw-id: //depot/perl@12201 p4raw-integrated: from //depot/maint-5.6/perl@12199 'merge in' win32/perlhost.h (@12146..)
* Integrate change #12146 from maintperl;Jarkko Hietaniemi2001-09-221-0/+4
| | | | | | | | | win32_chdir() et al don't handle a NULL argument gracefully p4raw-link: @12146 on //depot/maint-5.6/perl: 4e267243e0f1e4a79c99c8aa048aeec9c0d5cd6f p4raw-id: //depot/perl@12147 p4raw-integrated: from //depot/maint-5.6/perl@12144 'merge in' win32/perlhost.h (@11401..) win32/win32.c (@12026..)
* remove deprecated PERL_OBJECT cruft, it has long since stoppedGurusamy Sarathy2001-08-311-32/+20
| | | | | working in 5.7.x p4raw-id: //depot/perl@11803
* Integrate win32/perlhost.h from maintenance branch.Nick Ing-Simmons2001-07-191-1/+1
| | | | | | | (Rest of $ENV{PATH} / system() fix.) p4raw-id: //depot/perl@11412 p4raw-integrated: from //depot/maint-5.6/perl@11411 'merge in' win32/perlhost.h (@11400..)
* Integrate Sarathy's Win32 $ENV{'PATH'}/system fixes (11399, 11400)Nick Ing-Simmons2001-07-181-10/+14
| | | | | | | | | from perl5.6* p4raw-id: //depot/perl@11405 p4raw-integrated: from //depot/maint-5.6/perl@11404 'merge in' win32/win32.c (@8917..) p4raw-integrated: from //depot/maint-5.6/perl@11400 'merge in' win32/perlhost.h (@11399..)
* PerlIO fixups for Win32:Nick Ing-Simmons2001-03-241-1/+10
| | | | | | | | | - provide win33_popenlist() - non-functional as yet. - avoid need for aTHX in PerlIO_debug calls - even if not enabled args are still evaluated so Win32 has trouble during fork(). - Add PerlIO/Scalar to list of extensions in win32/makefile.mk - Fixup makedef.pl for latest set of symbols. p4raw-id: //depot/perlio@9321
* Integrate change #9116 from maintperl into mainline.Jarkko Hietaniemi2001-03-131-4/+4
| | | | | | | | | | Win32::GetCwd() returns C: instead of C:\ in the root directory under ithreads p4raw-link: @9116 on //depot/maint-5.6/perl: 864201fef66f086d79f15d5f6659d358d38b3288 p4raw-id: //depot/perl@9119 p4raw-integrated: from //depot/maint-5.6/perl@9118 'merge in' win32/perlhost.h (@8167..)
* Re: sync sync sync: have I missed any patches?Tim Jenness2001-02-281-1/+1
| | | | | | | | In-Reply-To: <20010227140737.Y10633@chaos.wustl.edu> Message-ID: <Pine.LNX.4.30.0102271322070.8623-100000@lapaki.jach.hawaii.edu> Replace djSP with dSP. p4raw-id: //depot/perl@8963
* PERL_IMPLICIT_SYS (almost) works - something odd with "signal"Nick Ing-Simmons2000-12-041-0/+21
| | | p4raw-id: //depot/perlio@7983
* PERL_IMPLICIT_SYS compiles but does not work.Nick Ing-Simmons2000-12-031-90/+89
| | | p4raw-id: //depot/perlio@7970
* Missing change from #7362.Jarkko Hietaniemi2000-10-181-1/+1
| | | p4raw-id: //depot/perl@7363
* trailing new %ENV entries weren't being pushed into the realGurusamy Sarathy2000-08-171-1/+11
| | | | | environment of subprocesses on Windows p4raw-id: //depot/perl@6662
* waitpid() now handles externally spawned pids correctly;Gurusamy Sarathy2000-08-171-0/+10
| | | | | | | | | | fixes for backtick/wait/waitpid failures on Windows 9x these changes make the pid returned by process functions on Windows 9x always positive by clearing the high bit (which is always set on Win9x); pseudo-process PIDs are likewise always negative now on Win9x (just as on NT/2000) p4raw-id: //depot/perl@6661
* check that the number pseudo children doesn't exceedGurusamy Sarathy2000-08-161-1/+7
| | | | | | | | | | | MAXIMUM_WAIT_OBJECTS, which is currently 64 (avoids overflowing the WaitForMultipleObjects() limit that would cause wait() to crash) wait() and waitpid() could potentially be rewritten to use more than one thread to do the waiting to eliminate this limitation p4raw-id: //depot/perl@6656
* reenable fake signal handling on Windows, bugs and allGurusamy Sarathy2000-05-171-1/+2
| | | p4raw-id: //depot/perl@6108
* fork() failure to create pseudo process sets errno=EAGAIN and returnsGurusamy Sarathy2000-05-081-2/+4
| | | | | undef on windows (from Clinton Pierce <clintp@geeksalad.org>) p4raw-id: //depot/perl@6093
* due to an oversight during PERL_OBJECT migration, hosts createdGurusamy Sarathy2000-03-161-0/+7
| | | | | | | | | by pseudo-fork were never being deleted, leading to a sizeable memory leak; std FDs in pseudo-children are now closed automatically to avoid resource leaks; basic infinite looping fork() test works without leaking again in non-PERL_OBJECT build p4raw-id: //depot/perl@5761
* vendorlib support for Windows; regen win32/config*Gurusamy Sarathy2000-03-061-4/+12
| | | p4raw-id: //depot/perl@5574
* support fetching current interpreter from TLS under useithreadsGurusamy Sarathy2000-02-291-3/+3
| | | p4raw-id: //depot/perl@5342
* windows fixes for virtualizing child std{in,out,err} handles,Gurusamy Sarathy2000-02-201-0/+7
| | | | | | attempts to lock uninitialized critical section in files that were never explicitly opened (from Doug Lankshear) p4raw-id: //depot/perl@5169
* assorted little nitsGurusamy Sarathy2000-01-241-2/+7
| | | p4raw-id: //depot/perl@4882
* pseudo forked children inherit environment correctlyGurusamy Sarathy2000-01-111-10/+11
| | | p4raw-id: //depot/perl@4792
* add workaround for textmode read() bug in MSVCRT; make chdir() doGurusamy Sarathy2000-01-101-2/+2
| | | | | a real SetCurrentDirectory() in toplevel host p4raw-id: //depot/perl@4789
* Win9x + GCC update from Benjamin Stuhl <sho_pi@hotmail.com>Gurusamy Sarathy1999-12-281-1/+1
| | | p4raw-id: //depot/perl@4729
* windows build tweaks for Borland compilerGurusamy Sarathy1999-12-051-0/+16
| | | p4raw-id: //depot/perl@4654
* Windows build tweaks due to change#4623Gurusamy Sarathy1999-12-031-3/+10
| | | | | p4raw-link: @4623 on //depot/perl: 9426adcd48655815b65cea5a9f1eebbe7e23a9df p4raw-id: //depot/perl@4625
* more complete pseudo-fork() support for WindowsGurusamy Sarathy1999-12-011-0/+2283
| | | p4raw-id: //depot/perl@4602
* make autogenerated files writableGurusamy Sarathy1999-06-281-953/+0
| | | p4raw-id: //depot/perl@3557
* s/isspace/isSPACE/g and make sure the CRT version is alwaysGurusamy Sarathy1999-05-211-1/+1
| | | | | | | passed an unsigned char (fixes random occurrence of spaces in arguments containing high-bit chars passed to spawned children, on win32) p4raw-id: //depot/perl@3445
* various little nitsGurusamy Sarathy1999-05-201-3/+4
| | | p4raw-id: //depot/perl@3436
* various fixes for clean build and test on win32; configpm broken,Gurusamy Sarathy1999-05-111-0/+7
| | | | | | | | | | needed to open myconfig.SH rather than myconfig; sundry adjustments to bytecode stuff; tweaks to DYNAMIC_ENV_FETCH code to make it work under win32; getenv_sv() changed to getenv_len() since SVs aren't visible in the lower echelons; remove bogus exports from config.sym; PERL_OBJECT-ness for C++ exception support; null out IoDIRP in filter_del() or sv_free() will attempt to close it p4raw-id: //depot/perl@3387
* support POSIX::uname() via win32_uname()Gurusamy Sarathy1999-03-241-0/+4
| | | p4raw-id: //depot/perl@3134
* support win32_putenv()Gurusamy Sarathy1999-02-121-1/+1
| | | p4raw-id: //depot/perl@2898
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-6/+6
| | | | | | | | | | (objpp.h is gone, embed.pl now does some of that); objXSUB.h should soon be automated also; the global variables that escaped the PL_foo conversion are now reined in; renamed MAGIC in regcomp.h to REG_MAGIC to avoid collision with the type of same name; duplicated lists of pp_things in various places is now gone; result has only been tested on win32 p4raw-id: //depot/perl@2133
* support optional crypt() with PERL_OBJECTDouglas Lankshear1998-07-221-0/+4
| | | | | | Message-Id: <000701bdb584$5b57c070$a32fa8c0@tau.Active> Subject: [PATCH 5.005 maybe] for crypt with PERL_OBJECT p4raw-id: //depot/perl@1641
* win32 tweaks: disable XSLOCKS in perl.c, correct typo, searchDouglas Lankshear1998-07-221-1/+1
| | | | | | the registry for anything that begins with "PERL", not "PERL5" Message-Id: <000601bdb4d2$7ee74720$a32fa8c0@tau.Active> p4raw-id: //depot/perl@1629
* final tweaks before beta2Gurusamy Sarathy1998-07-211-10/+33
| | | p4raw-id: //depot/perl@1613