summaryrefslogtreecommitdiff
path: root/win32/win32.c
Commit message (Collapse)AuthorAgeFilesLines
* Re: [PATCH] Patch for win32.c to fix #38723 and #39531Andrew Savige2006-09-201-11/+11
| | | | | Message-ID: <20060919134231.87370.qmail@web56407.mail.re3.yahoo.com> p4raw-id: //depot/perl@28873
* Need to migrate the refcounted_he structure to be properly shared.Nicholas Clark2006-04-111-0/+1
| | | | | | Add a mutex for manipulated their reference counts. Unwrap the structure, so that for ithreads it can store SVs in pads. p4raw-id: //depot/perl@27764
* win32_async_check must *always* check for pending signalsJan Dubois2006-03-201-0/+2
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <00d401c64a00$96af8ae0$2217a8c0@candy> p4raw-id: //depot/perl@27545
* win32_pclose() error exit doesn't unlock mutexJan Dubois2006-03-171-0/+1
| | | | | Message-ID: <02c701c64959$fac63ad0$6062a8c0@candy> p4raw-id: //depot/perl@27528
* win32_async_check() can loop indefinitely; 5.8.8 regressionJan Dubois2006-03-171-1/+10
| | | | | Message-ID: <02ab01c64957$62142e70$6062a8c0@candy> p4raw-id: //depot/perl@27527
* Implement ${^WIN32_SLOPPY_STAT}Jan Dubois2006-02-231-10/+16
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <019601c63726$7fcca200$6062a8c0@candy> p4raw-id: //depot/perl@27283
* stat() on Windows doesn't handle trailing slashes/backslashes correctlyJan Dubois2006-02-161-6/+20
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <017901c63297$08e1e3f0$2217a8c0@candy> p4raw-id: //depot/perl@27200
* Fix bug in change #26379Jan Dubois2005-12-211-1/+1
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <046001c605c7$69470290$d563a8c0@candy> p4raw-id: //depot/perl@26430
* RE: PeekMessage() call in win32\win32.c win32_async_checkJan Dubois2005-12-161-102/+136
| | | | | | | Message-ID: <015901c60207$abd64210$d563a8c0@candy> (Without the proposed alarm.t test) p4raw-id: //depot/perl@26379
* Remove an unused variable left over from change #26041Steve Hay2005-11-081-1/+1
| | | | | p4raw-link: @26041 on //depot/perl: 8c56068e9474ff1eb28abd58496550d54581dd25 p4raw-id: //depot/perl@26044
* Remove unused USING_WIDE code from win32 and wince branchesJan Dubois2005-11-081-362/+96
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <078001c5e41e$585c4140$6401a8c0@candy> p4raw-id: //depot/perl@26041
* RE: [perl #37571] -z FH broken with Borland build Paul Marquess2005-11-021-1/+23
| | | | | | From: "Paul Marquess" <paul.marquess@ntlworld.com> Message-ID: <003501c5df06$7d63fdb0$0505140a@myopwv.com> p4raw-id: //depot/perl@25952
* Make change 25286 betterSteve Hay2005-08-121-6/+6
| | | | | Thanks to John E. Malmberg <wb8tyw@qsl.net> for pointing this out. p4raw-id: //depot/perl@25288
* Silence Win32 compiler warnings following change 25280Steve Hay2005-08-111-3/+3
| | | p4raw-id: //depot/perl@25286
* Silence Win32 warnings when not using USE_LARGE_FILESSteve Hay2005-07-221-3/+3
| | | p4raw-id: //depot/perl@25211
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-19/+19
| | | | | | | | Message-ID: <42CC3CE9.5050606@divsol.com> (reverted all dual-lived modules since they must work with older perls too so must wait for a new Devel::PPPort) p4raw-id: //depot/perl@25101
* Silence some cast warnings from bcc32 on Win32Steve Hay2005-07-011-0/+12
| | | | | | See the thread starting here for arguments: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-06/msg00994.html p4raw-id: //depot/perl@25033
* Fix typo in win32.cSteve Hay2005-06-241-1/+1
| | | | | Doesn't fix bcc32 + USE_LARGE_FILES, though :-( p4raw-id: //depot/perl@24977
* Make opendir() filename const in Win32-land & friendsSteve Hay2005-06-241-1/+1
| | | | | | | | That fact that it wasn't const already was highlighted by a warning from pp_open_dir() generated by change 24743. Rather than undo the const change in pp_open_dir(), this seems to make more sense. Hope I haven't broken Netware or WinCE. p4raw-id: //depot/perl@24974
* Silence some bcc32 compiler warningsSteve Hay2005-06-221-2/+2
| | | | | ("Superfluous & with function") p4raw-id: //depot/perl@24937
* Silence STDERR grumblings from Borland's math library.Steve Hay2005-06-171-0/+10
| | | | | | This fixes failures in ext/B/t/deparse.t and lib/warnings.t (and renders change 24870 obsolete, hence it is reverted here). p4raw-id: //depot/perl@24883
* Strip \\?\ prefix from Perl path in win32/win32.c:set_w32_module_name()Jan Dubois2005-06-171-0/+4
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-Id: <200506161843.j5GIhKhL024472@smtp3.ActiveState.com> p4raw-id: //depot/perl@24880
* Fix USE_SITECUSTOMIZE on Win32Steve Hay2005-03-311-1/+2
| | | | | | | This fixes the problem described in: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-03/msg00740.html p4raw-id: //depot/perl@24122
* Fix [perl #24269] socket() call uses non-IFS providersSteve Hay2004-08-061-2/+0
| | | | | | | | causing subsequent print/read to hang or misbehave Patch supplied by Artiom Morozov <artiom@phreaker.net> in the bug report at http://rt.perl.org/rt3/index.html?q=24269 p4raw-id: //depot/perl@23200
* Use VirtualAlloc() more flexibly when using it to mimic UNIX's sbrk().Steve Hay2004-07-161-11/+30
| | | | | | | | | | | | | | | | | CC: perl-win32-porters@listserv.ActiveState.com Message-ID: <40F6B295.8010804@uk.radan.com> Assumes perl's malloc can now handle non-contiguous memory (believed to be true). Does not address threading issues. "The attached patch (against blead) makes sbrk() initially try to extend the existing block of memory exactly as it currently does, but to not fail immediately if it can't -- it now frees up that part of whatever it had previously reserved+committed which hadn't actually been used yet, resets all its static variables and basically starts anew." p4raw-id: //depot/perl@23128
* This seems to be needed to get COW working on Win32Nicholas Clark2004-07-151-2/+4
| | | p4raw-id: //depot/perl@23111
* Problem with system() on Win9x and command.com (perl 5.8.x-5.9.x)bilbo@ua.fm2004-05-061-2/+3
| | | | | Message-ID: <611491036.20040428001955@ua.fm> p4raw-id: //depot/perl@22789
* re: [PATCH] for bug 28525: Buffer overflow issue in the Win32 distribution ↵Jan Dubois2004-04-141-7/+6
| | | | | | | of 5.8.3 Message-ID: <vm7p70h7au8unrnq4jp85oich7n71ar5ab@4ax.com p4raw-id: //depot/perl@22691
* win32_fstat has a potential buffer overrun problemJan Dubois2004-03-081-0/+4
| | | | | Message-ID: <8lgn409p4k2kpde8d428d7a4r7fsgjc8b4@4ax.com> p4raw-id: //depot/perl@22466
* Fix [perl #27357] Scalar Win32::GetOSVersion() broken in 5.8.3Rafael Garcia-Suarez2004-03-041-0/+6
| | | | | (by Steve Hay) p4raw-id: //depot/perl@22431
* win32_chsize bugletKevin Chase2003-12-291-1/+1
| | | | | | From: "Kevin Chase" <kevincha99@hotmail.com> Message-ID: <BAY2-F90usv0ccZRh8Z0005683d@hotmail.com> p4raw-id: //depot/perl@21992
* Fix a little syntax error, reported by Marcus Holland-MoritzRafael Garcia-Suarez2003-12-281-1/+1
| | | p4raw-id: //depot/perl@21990
* 5.8.1 / bcc55 / win32 / Enable PerlIO and/ or USE_LARGE_FILESNigel Sandever2003-12-281-0/+57
| | | | | | | From: "Nigel Sandever" <njsandever@hotmail.com> Message-ID: <Law9-F94BdsnvUFcxT500000ea5@hotmail.com> Date: Thu, 25 Sep 2003 21:49:07 +0000 p4raw-id: //depot/perl@21989
* kill 'INT' doesn't work on WindowsJan Dubois2003-08-091-0/+10
| | | | | Message-ID: <ite8jvgjgcfm8e9dhl6f4dtstrbmn1vmpk@4ax.com> p4raw-id: //depot/perl@20572
* Re: win32.c bug - handle leakJan Dubois2003-08-031-6/+12
| | | | | Message-ID: <9gsnivssuml394bttjb3mfsmdgfn9l6kh9@4ax.com> p4raw-id: //depot/perl@20455
* Extend Win32::GetOSVersion() to return additional informationJan Dubois2003-07-301-12/+60
| | | | | Message-ID: <i06eivs0h9khken8rloevj68iqu6n45hnq@4ax.com> p4raw-id: //depot/perl@20331
* Win32: fix WM_TIMER handlingMattia Barbon2003-07-031-1/+4
| | | | | Message-ID: <Mahogany-0.64.2-1016-20030703-160523.00@rbnet.it> p4raw-id: //depot/perl@19965
* Salvage parts of #19667.Jarkko Hietaniemi2003-06-031-3/+12
| | | p4raw-id: //depot/perl@19673
* Retract #19667, #19660, #19659, #19658, #19657, #19656,Jarkko Hietaniemi2003-06-031-12/+3
| | | | | | #19655, #19418; File::Temp no more used internally. Some parts of these will be salvaged later. p4raw-id: //depot/perl@19670
* resurrect change#19628 and make it work by generalizingGurusamy Sarathy2003-06-021-2/+4
| | | | | | | a spot that had a hardcoded dependency on the cmd.exe arguments being "/x/c" or "/c" p4raw-link: @19628 on //depot/perl: 7b24c8f3b02202da900623391393234a869d1b34 p4raw-id: //depot/perl@19668
* don't use File::Temp to implement PerlIO_tmpfile() on windows;Gurusamy Sarathy2003-06-021-3/+12
| | | | | | | | | | reuse the straightforward native implementation instead this fixes the warning from io_xs.t NOTE: File::Temp has a less-than-robust implementation on windows that relies on END blocks being run (this may not happen always) p4raw-id: //depot/perl@19667
* change#19628 broke many win32/system.t tests, so back it outGurusamy Sarathy2003-06-021-1/+1
| | | | | p4raw-link: @19628 on //depot/perl: 7b24c8f3b02202da900623391393234a869d1b34 p4raw-id: //depot/perl@19666
* Use "cmd.exe /x/d/c" as the default PERL5SHELL on Windows NT/2K/XPJan Dubois2003-05-281-1/+1
| | | | | Message-ID: <dv06dv48900iqv5hqddmbc6vt0efvto8d6@4ax.com> p4raw-id: //depot/perl@19628
* fix Embed.t failure on windows: PERL_SYS_TERM() is implementedGurusamy Sarathy2003-05-111-0/+7
| | | | | | | | in terms of an exported function rather than as an inlined macro (latter wants PL_op_mutex which isn't exported as such) Jarkko: please merge into maint-5.8 p4raw-id: //depot/perl@19484
* silence compiler warningsAbe Timmerman2003-05-021-3/+3
| | | | | Message-Id: <200305020051.43166.abe@ztreet.demon.nl> p4raw-id: //depot/perl@19384
* Integrate:Jarkko Hietaniemi2003-03-201-0/+2
| | | | | | | | | | | | | | | [ 19033] file test operators weren't doing the right thing if the SV passed to them wasn't NUL-terminated [ 19034] ensure SVs returned by Win32::Get{Short,Full}PathName() are NUL-terminated p4raw-link: @19034 on //depot/maint-5.6/perl: d453a28c5f70420dd114c2f0f61ec1aaf34109e0 p4raw-link: @19033 on //depot/maint-5.6/perl: 1ad7974d3a92321c870ce2bd5ce4e57098b51c10 p4raw-id: //depot/perl@19036 p4raw-integrated: from //depot/maint-5.6/perl@19028 'merge in' doio.c (@16333..) win32/win32.c (@18377..)
* win32_msgwait() problemGurusamy Sarathy2003-01-031-4/+3
| | | | | Message-Id: <200212140132.gBE1Vxp02090@smtp3.ActiveState.com> p4raw-id: //depot/perl@18408
* integrate change#18377 from maint-5.6 branchGurusamy Sarathy2002-12-311-9/+13
| | | | | | | | | | change#17566 needs to be more defensive about win32_dup2() itself calling SetStdHandle() (at least MSVCRT does this) p4raw-link: @18377 on //depot/maint-5.6/perl: 0da6bbac9a33d465c32cde5247be045d49864a2d p4raw-link: @17566 on //depot/maint-5.6/perl: c7efefc2a43b65746e10207fe89bc47b7f7c27ea p4raw-id: //depot/perl@18378 p4raw-integrated: from //depot/maint-5.6/perl@18376 'merge in' win32/win32.c (@18329..)
* fix for GPF in C<print Win32::GetFullPathName('\\\\host\share')>Gurusamy Sarathy2002-12-181-2/+7
| | | p4raw-id: //depot/perl@18328
* windows: support for large filesGurusamy Sarathy2002-12-181-0/+49
| | | | | | | | note that this change will break binary compatibility with the default 5.8.0 build options; nevertheless I think it is worth having in 5.8.1 (people who want the compatibility can disable the option in the makefile) p4raw-id: //depot/perl@18327