summaryrefslogtreecommitdiff
path: root/util.c
Commit message (Collapse)AuthorAgeFilesLines
* Abolish USE_WIN32_RTL_ENV.Jarkko Hietaniemi2001-02-231-43/+0
| | | p4raw-id: //depot/perl@8916
* Integrate changes #8853,8854 from maintperl to mainline.Jarkko Hietaniemi2001-02-201-0/+3
| | | | | | | | | | EBDIC fixes, README.win32 Borland update. p4raw-link: @8854 on //depot/maint-5.6/perl: ece00f1416215bb2d7a51174ba7aa627e0b0a3ad p4raw-link: @8853 on //depot/maint-5.6/perl: 3ef34714520621f9238ff67b9f34f043113325c1 p4raw-id: //depot/perl@8857 p4raw-integrated: from //depot/maint-5.6/perl@8851 'merge in' README.win32 (@8175..) handy.h (@8789..) util.c (@8806..)
* Don't skip too much of the locale error message if no environ array,Jarkko Hietaniemi2001-02-141-2/+7
| | | | | from Chris Nandor. p4raw-id: //depot/perl@8804
* environ array wrongly assumed in Perl_init_i18nl10n(),Jarkko Hietaniemi2001-02-131-2/+2
| | | | | noticed by Chris Nandor in MacOS Classic. p4raw-id: //depot/perl@8790
* Merge ebcdic.c (only one function, ebcdic_control()) into util.c.Jarkko Hietaniemi2001-02-131-0/+37
| | | p4raw-id: //depot/perl@8783
* Fix for the fa_IR locale failure. The reason for the failureJarkko Hietaniemi2001-01-301-5/+12
| | | | | | | | | was that Perl was assuming the decimal separator aka the radix separator is one character. The Farsi-Iranian locale crushed that bad assumption since there the separator is 'Momayyez', glyphwise looking somewhat like a slash, and in Unicode UTF-8 encoded in two bytes, 0xd9 0xab. p4raw-id: //depot/perl@8625
* "Safe" signals - trial implementation.Nick Ing-Simmons2001-01-171-0/+4
| | | | | | | | gv.c tweaked to zero PL_sig_pend array perlio.c tweaked to PERL_ASYNC_CHECK() on EINTR util.c tweaked to not set SA_RESTART to give perlio.c a chance. Odd thing is that it "works" with PERLIO=stdio as well (linux). p4raw-id: //depot/perlio@8467
* Under 5.005 threads and debugging crashed in Debian 2.2 Linux/x86Jarkko Hietaniemi2001-01-161-2/+2
| | | | | | | | at the setting of the ofs_sv in new_struct_thread() as the thr->Tofs_sv (PL_ofs_sv) was still 0xabab.... (this is what uninitialized fields are, uh, initialized with), SvREFCNT_inc()ing that invited a core dump. p4raw-id: //depot/perl@8449
* Safe fix for Simon's pclose() doing SvIVX of undef -> core bug.Nick Ing-Simmons2001-01-101-1/+1
| | | p4raw-id: //depot/perlio@8399
* Back out Simon's pid hackery for now.Nick Ing-Simmons2001-01-101-3/+1
| | | p4raw-id: //depot/perlio@8393
* Fix my_pclose segfaultSimon Cozens2001-01-101-1/+3
| | | | | Message-ID: <20010110183934.A25640@pembro26.pmb.ox.ac.uk> p4raw-id: //depot/perl@8391
* Re: [ID 20010105.002] close() on process filehandle leaves defunct processRadu Greab2001-01-051-0/+4
| | | | | Message-ID: <14934.6849.742435.23178@ix.netsoft.ro> p4raw-id: //depot/perl@8340
* Bump up Larry's copyright.Jarkko Hietaniemi2001-01-011-1/+1
| | | p4raw-id: //depot/perl@8289
* Retract #8261.Jarkko Hietaniemi2000-12-301-8/+6
| | | p4raw-id: //depot/perl@8262
* (Retracted by #8261). (Unsuccessful memory access tweaks.)Jarkko Hietaniemi2000-12-301-6/+8
| | | p4raw-id: //depot/perl@8261
* UTF8 output prework.Nick Ing-Simmons2000-12-091-3/+2
| | | | | | - Store $\ and $, as SVs so they can have SvUTF8 flag - use do_print() rather than raw PerlIO_write() to print them. p4raw-id: //depot/perlio@8049
* shrink pp_hot fractionallyNicholas Clark2000-12-051-1/+9
| | | | | | | Message-ID: <20001205124431.E74518@plum.flirble.org> Use report_evil_fh(). p4raw-id: //depot/perl@7990
* dTHR is a nop in 5.6.0 onwards. Ergo, it can go.Jarkko Hietaniemi2000-12-051-18/+0
| | | p4raw-id: //depot/perl@7984
* Go ahead and #include <unistd.h> in perl.h.Jarkko Hietaniemi2000-11-221-5/+0
| | | p4raw-id: //depot/perl@7816
* Make hex scanning warn on "\x{x}" and "\xx".Jarkko Hietaniemi2000-11-191-6/+11
| | | | | "\x" and and hex("x") are still valid. p4raw-id: //depot/perl@7746
* Minor tweaks:Nick Ing-Simmons2000-11-161-47/+49
| | | | | | | | consistent way of getting 'rb', 'wb' etc. for binary opens move *perlio::layers to *open::layers a #define to show layers available DOSISH popen/PerlIO had export/import sense inverted. p4raw-id: //depot/perlio@7711
* Add fwalk() probe to the configuration files and regen perltoc.Jarkko Hietaniemi2000-11-161-14/+21
| | | p4raw-id: //depot/perl@7705
* Locale buglets.Vadim Konovalov2000-11-081-1/+1
| | | | | | | Subject: RE: Locales support (setlocale) fixes From: "Konovalov, Vadim" <vkonovalov@lucent.com> Message-ID: <402099F49BEED211999700805FC7359F825283@ru0028exch01.spb.lucent.com> p4raw-id: //depot/perl@7609
* cygwin portFifer, Eric2000-11-071-38/+6
| | | | | | | Message-ID: <779F20BCCE5AD31186A50008C75D99791717BB@silldn_mail1.sanwaint.com> Synchronize with Cygwin 1.1.5. p4raw-id: //depot/perl@7597
* Locales support (setlocale) fixesVadim Konovalov2000-11-041-10/+55
| | | | | | | | From: "Konovalov, Vadim" <vkonovalov@lucent.com> Message-ID: <402099F49BEED211999700805FC7359F82511F@ru0028exch01.spb.lucent.com> Modified quite a bit to be more portable. p4raw-id: //depot/perl@7545
* Add non-blocking thread doneness checkingDan Sugalski2000-10-251-0/+1
| | | | | | | Message-Id: <5.0.0.25.0.20001025133504.01ef1e20@24.8.96.48> plus regen global.sym. p4raw-id: //depot/perl@7442
* Make the UTF-8 decoding stricter and more verbose whenJarkko Hietaniemi2000-10-241-3/+3
| | | | | | | | | | | | malformation happens. This involved adding an argument to utf8_to_uv_chk(), which involved changing its prototype, and prefer STRLEN over I32 for the UTF-8 length, which as a domino effect necessitated changing the prototypes of scan_bin(), scan_oct(), scan_hex(), and reg_uni(). The stricter UTF-8 decoding checking uses Markus Kuhn's UTF-8 Decode Stress Tester from http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt p4raw-id: //depot/perl@7416
* Re: [ID 20001009.004] SEGV from sprintf in a thread Hugo van der Sanden2000-10-101-0/+2
| | | | | Message-Id: <200010101310.OAA00953@hugo.hybyte.com> p4raw-id: //depot/perl@7186
* Introduce NO_ENVIRON_ARRAY (and USE_ENVIRON_ARRAY) definesJarkko Hietaniemi2000-10-031-3/+3
| | | | | as suggested by Olaf Flebbe and Nicholas Clark. p4raw-id: //depot/perl@7126
* Epoc updateOlaf Flebbe2000-10-031-3/+4
| | | | | Message-ID: <26423.969484586@www10.gmx.net> p4raw-id: //depot/perl@7124
* Inside require() $^S was always left undefined.Ilya Zakharevich2000-10-031-1/+1
| | | | | | Subject: Re: Tiny 2-byte change to fix debugger's eval bug Message-ID: <20000927185449.A24927@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@7120
* The return value of setlocale must be copied away.Alan Burlison2000-09-141-3/+29
| | | | | | Subject: [ID 20000913.001] Heap corruption in Perl_init_i18nl10n Message-Id: <39BF9CE9.3D7FBBDD@uk.sun.com> p4raw-id: //depot/perl@7070
* sscanf() may be the only way to read long doubles from strings.Jarkko Hietaniemi2000-08-311-6/+7
| | | p4raw-id: //depot/perl@6937
* Get -DLEAKTEST to compile (not necessarily to work, mind)Jarkko Hietaniemi2000-08-171-1/+6
| | | | | | | | | | | | | | | Subject: [ID 20000724.006] -DLEAKTEST problem From: Gregory Martin Pfeil <pfeilgm@technomadic.org> Date: Tue, 25 Jul 2000 00:36:32 -0500 Message-Id: <20000725003632.A26186@www.llamacom.com> Reminder sent Subject: [PATCH bleadperl@6647] -DLEAKTEST compile error From: Hugo <hv@crypt.compulink.co.uk> Date: Thu, 17 Aug 2000 15:23:42 +0100 Message-Id: <200008171423.PAA06749@crypt.compulink.co.uk> p4raw-id: //depot/perl@6674
* on windows, the return values from wait() and waitpid() don'tGurusamy Sarathy2000-08-161-0/+2
| | | | | match those of pseudo-pids p4raw-id: //depot/perl@6659
* warn is a macro, avoid using at a variable to avoid warningsGurusamy Sarathy2000-08-101-7/+7
| | | | | | in some configurations; readdir.t is too conservative in estimating number of *.t's p4raw-id: //depot/perl@6562
* Double check that we have a dirhandle.Jarkko Hietaniemi2000-08-081-2/+2
| | | p4raw-id: //depot/perl@6557
* Tiny tidying on report_evil_fh().Jarkko Hietaniemi2000-08-071-8/+8
| | | p4raw-id: //depot/perl@6541
* Have symbols for the IoTYPEs.Jarkko Hietaniemi2000-08-061-2/+2
| | | p4raw-id: //depot/perl@6532
* Continue fixing the io warnings. This alsoJarkko Hietaniemi2000-08-061-5/+7
| | | | | | | sort of fixes bug ID 20000802.003: the core dump is no more. Whether the current behaviour is correct (giving a warning: "Not a format reference"), is another matter. p4raw-id: //depot/perl@6531
* Essential prototype changes were missing from #6527.Jarkko Hietaniemi2000-08-051-9/+16
| | | | | Also make report_evil_fh() more bomb-proof. p4raw-id: //depot/perl@6528
* [ID 20000724.004] Perl interpreter segfault when using built-in flockRonald F. Guilmette2000-08-051-17/+35
| | | | | Message-Id: <200007242247.PAA52177@monkeys.com> p4raw-id: //depot/perl@6527
* Remove the extraneous "main::" prefix from all theGurusamy Sarathy2000-08-021-1/+1
| | | | | | | | "opened only for", "on closed", and "never opened" warnings. Subject: Re: inappropriate warning Message-Id: <200003201928.LAA32224@maul.ActiveState.com> p4raw-id: //depot/perl@6489
* rename totally bletcherous SvLOCK() thingy (doesn't do what theGurusamy Sarathy2000-07-141-4/+2
| | | | | name suggests anyway) p4raw-id: //depot/perl@6398
* integrate cfgperl changes#6293..6324 into mainlineGurusamy Sarathy2000-07-111-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | p4raw-link: @6324 on //depot/cfgperl: 81bf48a6dbba4b295dfa172a17ca70b654dbf225 p4raw-link: @6293 on //depot/cfgperl: 6e37ea6052902cde1aeb08a2129ffc7c8ea53736 p4raw-id: //depot/perl@6369 p4raw-branched: from //depot/cfgperl@6368 'branch in' lib/Win32.pod lib/lib_pm.PL p4raw-deleted: from //depot/cfgperl@6368 'delete in' pod/Win32.pod (@5937..) pod/buildtoc (@6091..) lib/lib.pm.PL (@6227..) pod/Makefile (@6232..) p4raw-integrated: from //depot/cfgperl@6368 'copy in' thread.h (@5656..) lib/warnings/register.pm (@5704..) ext/B/B/Stash.pm (@5972..) lib/CGI/Util.pm (@6034..) util.c (@6217..) gv.c (@6244..) pp.c (@6260..) doop.c (@6269..) pod/perlfunc.pod (@6277..) pp_ctl.c (@6293..) makedef.pl (@6301..) embed.h global.sym objXSUB.h perlapi.c proto.h (@6305..) win32/Makefile (@6307..) Makefile.SH (@6309..) t/op/method.t (@6312..) sv.h (@6315..) 'ignore' op.c (@6273..) 'merge in' embed.pl win32/win32.c (@6305..) p4raw-integrated: from //depot/cfgperl@6324 'merge in' toke.c (@6307..) p4raw-branched: from //depot/cfgperl@6323 'branch in' pod/buildtoc.PL (@6319..) p4raw-integrated: from //depot/cfgperl@6323 'copy in' pod/perl.pod (@6319..) pod/perltoc.pod (@6322..) 'merge in' MANIFEST (@6319..) p4raw-branched: from //depot/cfgperl@6319 'branch in' pod/Makefile.SH p4raw-integrated: from //depot/cfgperl@6315 'ignore' pp_hot.c (@6313..) p4raw-integrated: from //depot/cfgperl@6311 'copy in' ext/POSIX/POSIX.pod (@6296..) p4raw-integrated: from //depot/cfgperl@6307 'merge in' doio.c (@6223..)
* integrate cfgperl change#6217 into mainlineGurusamy Sarathy2000-07-111-4/+4
| | | | | p4raw-link: @6217 on //depot/cfgperl: cc9b67681954df413fe79f7c379e7b91a3121259 p4raw-id: //depot/perl@6347
* integrate cfgperl changes#6207..6210 into mainlineGurusamy Sarathy2000-07-111-0/+34
| | | | | | p4raw-link: @6210 on //depot/cfgperl: b8b4c9f3cf6ef09c878a80ff97526a69902a44ca p4raw-link: @6207 on //depot/cfgperl: b37a7757477319a5fcdd5131db15046064f631c4 p4raw-id: //depot/perl@6345
* Signals-be-gone for microperl.Jarkko Hietaniemi2000-06-011-1/+8
| | | p4raw-id: //depot/cfgperl@6193
* microperl changes from Simon Cozens; Makefile for microperlJarkko Hietaniemi2000-05-311-7/+10
| | | | | | written from scratch; few casts added as microperl compilation doesn't have all prototypes available. p4raw-id: //depot/cfgperl@6174
* OS/2 tweaks for usethreads build (from Rocco CaputoGurusamy Sarathy2000-05-281-1/+1
| | | | | <troc@netrus.net>) p4raw-id: //depot/perl@6149