summaryrefslogtreecommitdiff
path: root/win32/win32sck.c
Commit message (Collapse)AuthorAgeFilesLines
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-2/+2
| | | | | | | | 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
* Fix bug #33664: allow for transport providers with protocol == 0Steve Hay2005-04-181-1/+2
| | | | | | (This indicates that any protocol may be used, so don't bother checking that the requested protocol matches in this case.) p4raw-id: //depot/perl@24242
* A couple more Win32 compilation clean-upsSteve Hay2005-03-301-3/+3
| | | p4raw-id: //depot/perl@24099
* Implement new environment variable to allow the use of non-IFSSteve Hay2004-09-061-0/+5
| | | | | | | | | compatible LSP's on Windows to allow Perl to work in conjunction with a firewall such as McAfee Guardian. Bug report and possible solutions by Ken Fox <kfox@ford.com>; further assistance by Artiom Morozov <artiom@phreaker.net>. p4raw-id: //depot/perl@23275
* Fix [perl #24269] socket() call uses non-IFS providersSteve Hay2004-08-061-19/+65
| | | | | | | | 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
* 5.8.1 / bcc55 / win32 / Enable PerlIO and/ or USE_LARGE_FILESNigel Sandever2003-12-281-0/+8
| | | | | | | 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
* missing init in change#19533Gurusamy Sarathy2003-05-171-1/+1
| | | | | p4raw-link: @19533 on //depot/perl: 1c8780751e85c3ece441fc8ecdff2f1dc99f9906 p4raw-id: //depot/perl@19537
* avoid select() on windows destroying errno (used to typicallyGurusamy Sarathy2003-05-171-1/+4
| | | | | always sets it to EINVAL due to the way it maps the FD_SETs) p4raw-id: //depot/perl@19533
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-3/+3
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* fixes for all the warnings reported by Visual C (most of thisGurusamy Sarathy2002-04-211-1/+1
| | | | | | change is from change#12026) p4raw-link: @12026 on //depot/maint-5.6/perl: ff42b73b40f5a895aef4bed81c794f468e0609bc p4raw-id: //depot/perl@16048
* Windows 64-bit support:Gurusamy Sarathy2002-04-211-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* remove deprecated PERL_OBJECT cruft, it has long since stoppedGurusamy Sarathy2001-08-311-23/+18
| | | | | working in 5.7.x p4raw-id: //depot/perl@11803
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-3/+3
| | | | | | Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
* Borland C++ for Win32 fixes; perl@9359 (also perl@9424)Vadim Konovalov2001-03-291-0/+4
| | | | | Message-ID: <001c01c0b7d1$463dd880$5742983e@vad> p4raw-id: //depot/perl@9427
* fix open(FOO, ">&MYSOCK") failure under Windows 9x (problem isGurusamy Sarathy2000-12-051-0/+35
| | | | | | due to the notorious GetFileType() bug in Windows 9x, which fstat() tickles) p4raw-id: //depot/perl@7986
* Configure GCC/Win32 build -DuseperlioNick Ing-Simmons2000-11-191-0/+1
| | | | | | | Fix a couple of gross issues - double-include of ../deb.o in re.dll - win32sck.c needs PerlIO and FILE p4raw-id: //depot/perlio@7752
* Redo #7679 with LFs instead of CRLFs.Jarkko Hietaniemi2000-11-141-37/+37
| | | p4raw-id: //depot/perl@7680
* Get PerlIO building on Win32Benjamin Stuhl2000-11-141-2/+37
| | | | | Message-ID: <20001113230808.18659.qmail@web6305.mail.yahoo.com> p4raw-id: //depot/perl@7679
* tweak for change#7173Gurusamy Sarathy2000-10-091-0/+2
| | | | | p4raw-link: @7173 on //depot/perl: a10b7b7eee64efea010bfdba91243503341ba68d p4raw-id: //depot/perl@7181
* on Windows, avoid potential exception (could happen if MSVCRT isn'tGurusamy Sarathy2000-10-091-0/+1
| | | | | being used) when closing a socket handle p4raw-id: //depot/perl@7173
* change#6328 could make close(SOCKET) return false on windowsGurusamy Sarathy2000-08-161-8/+17
| | | | | | | when it shouldn't p4raw-link: @6328 on //depot/perl: 4e94524934c1af4124b2888d9716e5304ee50ad9 p4raw-id: //depot/perl@6657
* windows build tweaks (op/sprintf.t still fails tests 120-121, 149)Gurusamy Sarathy2000-07-111-1/+1
| | | p4raw-id: //depot/perl@6375
* accept() leaks memory on windows due to incorrect ordering ofGurusamy Sarathy2000-07-101-4/+5
| | | | | closesocket() and fclose() calls p4raw-id: //depot/perl@6328
* winsock options weren't being set in all threads under ithreadsGurusamy Sarathy2000-07-101-4/+4
| | | | | (caused send()s from second and subsequent threads to fail) p4raw-id: //depot/perl@6327
* winsock cleanup never done on Windows (leads to handle leaks)Gurusamy Sarathy2000-07-051-6/+7
| | | p4raw-id: //depot/perl@6317
* win32 internal data must be interpreter-localGurusamy Sarathy1999-11-081-22/+10
| | | p4raw-id: //depot/perl@4536
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-17/+17
| | | | | | | | | | | | | | | | builds; passing the implicit context is unified among the three flavors; PERL_IMPLICIT_CONTEXT is auto-enabled under all three flavors (see the top of perl.h) for testing; all varargs functions foo() have a va_list-taking variant vfoo() for generating the context-free versions; the PERL_OBJECT build should now be hyper-compatible with CPAN extensions (C++ is totally out of the picture) result has only been tested on Windows TODO: write docs on the THX rationale and idiomatic usage of the Perl API p4raw-id: //depot/perl@3667
* somewhat untested PERL_OBJECT cleanups (C++isms mostlyGurusamy Sarathy1999-06-271-1/+15
| | | | | | | | | gone from the public API); PERL_OBJECT builds again on windows TODO: namespace-clean the typedefs in iperlsys.h and elsewhere; remove C++ remnants from public headers p4raw-id: //depot/perl@3553
* win32 build fixesGurusamy Sarathy1999-06-101-20/+20
| | | p4raw-id: //depot/perl@3525
* win32_recvfrom() compatibility fixGurusamy Sarathy1998-11-211-0/+7
| | | p4raw-id: //depot/perl@2254
* fixes to enable PERL_OBJECT build with mingw32/egcs-1.0.2Gurusamy Sarathy1998-07-211-4/+0
| | | p4raw-id: //depot/perl@1612
* make 4-arg win32_select() sleep more reasonably on false valuesBlair Zajac1998-07-041-2/+5
| | | | | | | | | | | Message-Id: <199807020225.TAA18740@gobi.gps.caltech.edu> Date: Wed, 1 Jul 1998 19:25:56 -0700 (PDT) Subject: [PATCH 5.004_69] select dumps core on MSWin32-x86 -- Message-Id: <199807030107.SAA08595@gobi.gps.caltech.edu> Date: Thu, 2 Jul 1998 18:07:19 -0700 (PDT) Subject: [PATCH 5.004_69] select dumps core on MSWin32-x86 p4raw-id: //depot/perl@1303
* [asperl] add AS patch#21 (misc. fixes)Gurusamy Sarathy1998-05-271-1/+2
| | | p4raw-id: //depot/asperl@1036
* [asperl] integrate mainline changesGurusamy Sarathy1998-04-081-2/+27
|\ | | | | p4raw-id: //depot/asperl@884
| * [win32] set sockets to nonoverlapped mode for every threadSteve Nielsen1998-03-121-2/+27
| | | | | | | | | | | | Message-Id: <35081FE4.965A484D@enteract.com> Subject: [PATCH 5.004_62] win32: set sockopt on a per-thread basis p4raw-id: //depot/win32/perl@808
* | [asperl] various changes to get asperl working under BorlandGurusamy Sarathy1998-03-161-0/+4
| | | | | | | | | | (passes all tests when built under PERL_OBJECT) p4raw-id: //depot/asperl@809
* | [asperl] added AS patch#9Gurusamy Sarathy1998-02-261-1/+8
|/ | | p4raw-id: //depot/asperl@591
* [win32] support win32_select(0,0,0,msec) (winsock doesn't)Gurusamy Sarathy1998-02-041-0/+8
| | | p4raw-id: //depot/win32/perl@461
* [win32] bug: win32_select() must StartSockets()Gurusamy Sarathy1998-02-041-0/+1
| | | p4raw-id: //depot/win32/perl@460
* [win32] Various win32 fixesGurusamy Sarathy1998-01-041-1/+1
| | | | | | | | | | | | | | | - support spawn via system(&P_NOWAIT,...) like OS2 - support wait() and waitpid() - s/GetCurrentDirectory/GetCwd/, long-named XS to be removed - support -lfoo properly in ExtUtils::Liblist - fix outdated info about Win32 support in perlfaq2 - fix win32 bug in perldoc that causes spurious warnings - regularize global function/variable names yet more - fix bug in do_aspawn() (it was always invoking shell, instead of almost never) - implement and export win32_wait() - stub version of USE_RTL_THREAD_API p4raw-id: //depot/win32/perl@391
* [win32] support ioctl() on sockets (does what ioctlsocket() does) to makeGurusamy Sarathy1997-12-241-1/+23
| | | | | non-blocking IO on sockets possible p4raw-id: //depot/win32/perl@387
* Avoid __declspec(thread) by default, for both scratchNick Ing-Simmons1997-11-291-1/+12
| | | | | return areas and THR stuff. Use struct thread intern instead. p4raw-id: //depot/ansiperl@335
* Add files and tweak others to get 'native' Mingw32 gcc port asNick Ing-Simmons1997-11-271-0/+3
| | | | | | | | | | far as building miniperl and perl.dll (but not import lib yet) Seems to lack popen()/pclose() and fcloseall() and fflushall(). Also only CRTDLL not MCRTDLL so threading is probably not possible yet. Had to mess with win32iop.h's placement as we need __attribute__ to get STDCALL, and #define of printf messes up proto.h p4raw-id: //depot/ansiperl@325
* [Win32] Export our own FD_SET() et al to complete sockets-as-handles pretense.Gurusamy Sarathy1997-11-181-67/+19
| | | p4raw-id: //depot/win32/perl@261
* More cleanups of win32/win32*.[ch] files. win32/win32iop.h nowGurusamy Sarathy1997-11-121-1/+2
| | | | | | | | | contains the all the declarations and macros for the win32io layer. New std-ish functions are exported now. All win32-specific exported functions begin with "win32_" consistently. win32 version of init_os_extras() is now exported, so embedders can get the in-core xsubs. p4raw-id: //depot/win32/perl@244
* Egregious IOsubsystem code excised. Phew, what a relief! TwoGurusamy Sarathy1997-11-121-12/+3
| | | | | | | | files (win32/win32io.[ch]) completely removed, as are all traces of them in makefiles and MANIFEST. RunPerl() retains the void* arg for later. Various myfoo() things regularized to my_foo(). CPP not required anymore to create a perl binary :) p4raw-id: //depot/win32/perl@242
* Add missing win32_closesocket() and export it (extension writers' complaint).Gurusamy Sarathy1997-11-121-1/+11
| | | p4raw-id: //depot/win32/perl@239
* Clean up win32/win32sck.c (runtime load of Winsock now gone, it can beGurusamy Sarathy1997-11-121-251/+143
| | | | | | done cleaner, if really needed (perhaps only for efficiency reasons?)). Redundant EXTERN_C definitions and related warnings fixed. p4raw-id: //depot/win32/perl@238
* Initial (untested) merge of all non-ansi changes on ansiperl branchGurusamy Sarathy1997-11-101-0/+7
| | | | | into win32 branch. p4raw-id: //depot/win32/perl@221
* [inseparable changes from patch to perl 5.004_04]perl-5.004_04Perl 5 Porters1997-09-051-8/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [editor's note: this one imported like a charm!] TESTS - Subject: Improve pragma/locale test 102 - and don't fail, just warn From: Jarkko Hietaniemi <jhi@anna.in-berlin.de> Files: t/pragma/locale.t Subject: Invalid test output in t/op/taint.t in trial 1 From: Dan Sugalski <sugalsd@lbcc.cc.or.us> Files: t/op/taint.t t/op/taint.t prints out invalid ok messages for tests it skips. Rather than printing "ok 136" it prints "136 ok". p5p-msgid: 3.0.3.32.19970919160918.00857a50@stargate.lbcc.cc.or.us UTILITIES - Subject: Perldoc tiny patch to avoid $0 From: Ilya Zakharevich <ilya@math.ohio-state.edu> Files: utils/perldoc.PL Msg-ID: 199709122141.RAA16846@monk.mps.ohio-state.edu (applied based on p5p patch as commit 0b166b6635cf199f072db516b2a523ee659394d5) Subject: h2ph broken in 5.004_02 From: David Mazieres <dm@reeducation-labor.lcs.mit.edu> Files: utils/h2ph.PL Msg-ID: 199708201700.KAA02621@www.chapin.edu (applied based on p5p patch as commit 4a8e146e38ec2045f1f817a7cb578e1b1f80f39f) Subject: add key_t caddr_t to h2ph From: Tony Sanders <sanders@bsdi.com> Files: eg/sysvipc/ipcsem utils/h2ph.PL Msg-ID: 199708272301.RAA12803@austin.bsdi.com (applied based on p5p patch as commit 0806a92ffc3a74ca70aa81051cdf2a306cd0a8af) Subject: perldoc search ., lib and blib/* if -f 'Makefile.PL' From: Tim Bunce <Tim.Bunce@ig.co.uk> Files: utils/perldoc.PL Subject: perldoc finds wrong pod2man (from perldoc source) # We must look both in @INC for library modules and in PATH # for executables, like h2xs or perldoc itself. Unfortunately, searching PATH for installed perl executables like pod2man is INCORRECT. perldoc should start by searching the directory it was executed from, which might not be in the PATH at all. Credited: Joseph "Moof-in'" Hall <joseph@cscaper.com> p5p-msgid: 199708251732.KAA19299@gadget.cscaper.com Subject: 5.004m4t1: perlbug: NIS domainname gets into wrong places From: Andreas J. Koenig <koenig@anna.mind.de> Files: utils/perlbug.PL Msg-ID: sfcg1qy38as.fsf@anna.in-berlin.de (applied based on p5p patch as commit 41f926b844140b7f7eaa9302113e45df3a9f9ff4) Subject: add better local patch info to perlbug From: Tim Bunce <Tim.Bunce@ig.co.uk> Files: utils/perlbug.PL Subject: perldoc - suggest modules if requested module not found From: Anthony David <adavid@netinfo.com.au> Files: utils/perldoc.PL private-msgid: 3439CD83.6969@netinfo.com.au Subject: perldoc mail::foo tries to read binary /usr/ucb/mail From: Tim Bunce <Tim.Bunce@ig.co.uk> Files: utils/perldoc.PL Subject: perldoc weirdness perldoc mail::imap yields: {joseph}:79% perldoc mail::foo can't open /usr/ucb/mail: Permission denied at ./pod2man line 362. Credited: Joseph "Moof-in'" Hall <joseph@cscaper.com> p5p-msgid: 199710082014.NAA00808@gadget.cscaper.com Subject: perldoc -f setpwent (for example) returns no descriptive text From: Tim Bunce <Tim.Bunce@ig.co.uk> Files: utils/perldoc.PL Subject: perldoc diffs: don't search auto - much faster From: "Joseph N. Hall" <joseph@5sigma.com> Files: utils/perldoc.PL Msg-ID: MailDrop1.2d7dPPC.971012211957@screechy.cscaper.com (applied based on p5p patch as commit 62b753c6ae4ab9bf22fbb6ec7ceac820bcef8fe4)