summaryrefslogtreecommitdiff
path: root/util.c
Commit message (Collapse)AuthorAgeFilesLines
* Re: POINTERRIGORAndy Dougherty2001-07-031-28/+0
| | | | | Message-ID: <Pine.SOL.4.10.10107031040030.1982-100000@maxwell.phys.lafayette.edu> p4raw-id: //depot/perl@11123
* rename s/sv_getcwd/getcwd_sv/ for better conformance to existingGurusamy Sarathy2001-07-021-2/+2
| | | | | | | | | | naming discipline win32 fix: enable getcwd_sv() to work on windows (POSIX.t was failing because of this) fix a warning about "fd" being used without being set in Cwd.xs p4raw-id: //depot/perl@11067
* Fixes compile errors in four filesRichard Soderberg2001-06-291-2/+2
| | | | | Message-ID: <Pine.LNX.4.21.0106290333270.9768-100000@oregonnet.com> p4raw-id: //depot/perl@11021
* DJGPP patches from Laszlo Molnar.Jarkko Hietaniemi2001-06-261-3/+28
| | | p4raw-id: //depot/perl@10951
* Patcho fix.Nick Ing-Simmons2001-06-221-1/+1
| | | p4raw-id: //depot/perlio@10833
* Re: Automated smoke report for patch 10764 (truncated)Doug MacEachern2001-06-221-28/+21
| | | | | | | | Message-ID: <Pine.LNX.4.21.0106211925020.17261-100000@mako.covalent.net> plus reword the getcwd() comment, plus use getcwd() buffer size minus one. p4raw-id: //depot/perl@10810
* Off-by-one. I'm so classic.Jarkko Hietaniemi2001-06-211-1/+1
| | | p4raw-id: //depot/perl@10801
* Replace our implementation of realpath() with OpenBSD'sJarkko Hietaniemi2001-06-201-147/+0
| | | | | (src/lib/libc/stdlib/realpath.c 1.4). p4raw-id: //depot/perl@10750
* No point in going into memory-saving contortionsJarkko Hietaniemi2001-06-201-17/+29
| | | | | | | with getcwd() since there's a danger of buffer overflow. Also make the POSIX extension to use sv_getcwd(). Finally, a missed proto.h fragment. p4raw-id: //depot/perl@10748
* After some reading I don't think we can blindlyJarkko Hietaniemi2001-06-201-48/+39
| | | | | | | | | use systems' realpath(). Too many security problems, too many buggy implementations. TODO: the realpath() emulation code in util.c doesn't seem fully operational? (readlink(), for example?) p4raw-id: //depot/perl@10744
* s/typos//Abhijit Menon-Sen2001-06-191-3/+3
| | | | | | | | Message-ID: <20010620021502.A14541@lustre.linux.in> Without the op.h s/bearword/bareword/ hunk, see http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/1998-02/msg00370.html p4raw-id: //depot/perl@10736
* Re: [ID 20010618.006] some end-anchored regexps hang when using study Hugo van der Sanden2001-06-191-0/+6
| | | | | Message-Id: <200106191215.NAA17691@crypt.compulink.co.uk> p4raw-id: //depot/perl@10724
* -Wall strays.Jarkko Hietaniemi2001-06-161-1/+1
| | | p4raw-id: //depot/perl@10650
* NetWare port from Guruprasad S <SGURUPRASAD@novell.com>.Jarkko Hietaniemi2001-06-161-6/+6
| | | p4raw-id: //depot/perl@10643
* splitting util.cHugo van der Sanden2001-06-131-1199/+0
| | | | | Message-Id: <200106132341.AAA24935@crypt.compulink.co.uk> p4raw-id: //depot/perl@10579
* Re: hacking util.c, attrs.xs, and re.xs to compile on VMSCraig A. Berry2001-06-131-3/+2
| | | | | Message-Id: <a05101000b74c8698483b@[172.16.52.1]> p4raw-id: //depot/perl@10555
* VMS DEC C compiler found nits by Peter Prymmer.Jarkko Hietaniemi2001-06-131-2/+3
| | | p4raw-id: //depot/perl@10553
* Small bcopy cleanupAndy Dougherty2001-06-131-1/+1
| | | | | Message-ID: <Pine.SOL.4.10.10106121706360.11034-100000@maxwell.phys.lafayette.edu> p4raw-id: //depot/perl@10542
* MPE/iX tweaks from Mark Bixby.Jarkko Hietaniemi2001-06-121-0/+2
| | | p4raw-id: //depot/perl@10539
* gcc -Wall nits picked out by a non-UNIX systemJarkko Hietaniemi2001-06-121-4/+6
| | | | | (courtesy of Mark Bixby) p4raw-id: //depot/perl@10524
* Move the grok_number and its lieutenant grok_numeric_radixJarkko Hietaniemi2001-06-101-9/+202
| | | | | from sv.c statics to util.c and public. p4raw-id: //depot/perl@10505
* Do locale specific separator if only in locale.Jarkko Hietaniemi2001-06-101-1/+1
| | | p4raw-id: //depot/perl@10490
* Numeric conversion tweaks suggested by Hugo and Nicholas.Jarkko Hietaniemi2001-06-091-0/+2
| | | p4raw-id: //depot/perl@10485
* Re: [ID 20010529.006] String plus zero inconsistent across platforms Hugo van der Sanden2001-06-051-17/+12
| | | | | Message-Id: <200106051158.MAA04605@crypt.compulink.co.uk> p4raw-id: //depot/perl@10445
* Re: Not OK: perl@10439 on win32 Prymmer/Kahn2001-06-051-2/+2
| | | | | Message-ID: <Pine.BSF.4.21.0106042136410.26316-100000@shell8.ba.best.com> p4raw-id: //depot/perl@10443
* Integrate change #10412 from maintperl; locale is nowJarkko Hietaniemi2001-06-031-1/+1
| | | | | | | | | | | | | | | per-cop, not per-op; plus retweak the locale.t to always list the skipped utf8 locales. p4raw-link: @10412 on //depot/maint-5.6/perl: 71d0b827413df9e881d1c54d2d968823ed50c75b p4raw-id: //depot/perl@10413 p4raw-edited: from //depot/maint-5.6/perl@10411 'edit in' t/pragma/locale.t (@8600..) p4raw-integrated: from //depot/maint-5.6/perl@10411 'merge in' lib/locale.pm (@5902..) opcode.h pp.sym pp_proto.h (@8620..) opcode.pl (@8998..) op.h perl.h (@9288..) pp_sys.c (@9524..) util.c (@9538..) embed.h (@9584..) op.c (@9950..) pp.c (@10091..) pp_ctl.c (@10100..)
* Unused variables.Jarkko Hietaniemi2001-06-031-2/+0
| | | p4raw-id: //depot/perl@10401
* Re: [ID 20010529.006] String plus zero inconsistent across platformsHugo van der Sanden2001-06-031-19/+116
| | | | | Message-Id: <200106031356.OAA12517@crypt.compulink.co.uk> p4raw-id: //depot/perl@10396
* -Wall cleanup continues.Jarkko Hietaniemi2001-06-021-11/+11
| | | p4raw-id: //depot/perl@10392
* Tweak util.c's atof2 for MULTIPLICITYNick Ing-Simmons2001-06-021-6/+386
| | | p4raw-id: //depot/perlio@10387
* Integrate mainline.Nick Ing-Simmons2001-05-311-7/+16
| | | p4raw-id: //depot/perlio@10359
* More -Wall silencing from Michael Schwern and Jarkko Hietaniemi.Jarkko Hietaniemi2001-05-301-10/+10
| | | p4raw-id: //depot/perl@10335
* IV/UV casting fixes from Nicholas Clark.Jarkko Hietaniemi2001-05-241-56/+50
| | | p4raw-id: //depot/perl@10198
* [LARGE!] symbolic magicDave Mitchell2001-05-201-5/+5
| | | | | Message-Id: <200105191912.UAA23925@gizmo.fdgroup.co.uk> p4raw-id: //depot/perl@10168
* Macrofy the getspecific (and use it also in util.c)Jarkko Hietaniemi2001-05-171-7/+3
| | | p4raw-id: //depot/perl@10143
* Quick thread speedupDan Sugalski2001-05-171-4/+8
| | | | | Message-Id: <5.1.0.14.0.20010516175826.01afde08@24.8.96.48> p4raw-id: //depot/perl@10141
* Change PL_numeric_radix to PL_numeric_radix_sv (and leave inJarkko Hietaniemi2001-04-301-6/+6
| | | | | | a dummy for PL_numeric_radix); no pressing reason to break binary compatibility; regen API. p4raw-id: //depot/perl@9910
* The tzname[] bit is not needed by util.c -- and causesJarkko Hietaniemi2001-04-251-10/+0
| | | | | | heartburn in VMS (and it missing was probably the cause of the Mac OS X trouble). Ouch. p4raw-id: //depot/perl@9830
* Fix for 20010219.013, "perlio perl -we tell goes SEGV".Jarkko Hietaniemi2001-04-241-3/+4
| | | p4raw-id: //depot/perl@9810
* The new time utils need to be thread-aware, too.Jarkko Hietaniemi2001-04-191-3/+3
| | | p4raw-id: //depot/perl@9752
* Move the strftime() wrapper from POSIX.xs to util.cJarkko Hietaniemi2001-04-191-0/+66
| | | | | as my_strftime(), requires HAS_STRFTIME. p4raw-id: //depot/perl@9746
* Move the init_tm() and mini_mktime() up from POSIX.xs to util.cJarkko Hietaniemi2001-04-181-0/+237
| | | | | in preparation of Time::Piece. p4raw-id: //depot/perl@9745
* Retract changes #9542 and #9538 (from maintperl, integratedJarkko Hietaniemi2001-04-051-31/+17
| | | | | | | at #9540), shouldn't be needed because of the perlio changes. p4raw-link: @9542 on //depot/perl: 771c8da8a7459d77e0377cf0a891bf62d70cdfa2 p4raw-id: //depot/perl@9552
* Make the stdio tricks of fflush_all() to exist only ifJarkko Hietaniemi2001-04-041-18/+22
| | | | | stdio is being used. p4raw-id: //depot/perl@9542
* Integrate changes #9538,9539 from maintperl into mainline.Jarkko Hietaniemi2001-04-041-1/+11
| | | | | | | | | | | | | | | fflush() is a macro on SunOS 4.1.x, so provide a wrapper for use with _fwalk() (fix for change#7705) another tweak needed for SunOS 4.1.x build (from Mike Guy) (cp -f is not portable) p4raw-link: @9539 on //depot/maint-5.6/perl: 3da0943717409aa5209a9776746cc2cfeb50eb29 p4raw-link: @9538 on //depot/maint-5.6/perl: 741daf9fefb369fa97f8467fc06d60a8832dcdee p4raw-link: @7705 on //depot/perl: 74cac757131a44f884c4728708d3a2e5d87b32d3 p4raw-id: //depot/perl@9540 p4raw-integrated: from //depot/maint-5.6/perl@9536 'merge in' util.c (@9288..) Makefile.SH (@9312..)
* Implement open($fh,"-|",prog,args...) for HAS_FORK cases.Nick Ing-Simmons2001-03-221-0/+118
| | | p4raw-id: //depot/perlio@9297
* Die on n-arg open(...,"",xxx,yyy,...)Nick Ing-Simmons2001-03-221-3/+10
| | | | | | - redirect pipe cases to PerlProc_popen_list() (which just croaks for now) - die on read/write cases so we can decide what it means later. p4raw-id: //depot/perlio@9294
* 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