summaryrefslogtreecommitdiff
path: root/reentr.pl
Commit message (Collapse)AuthorAgeFilesLines
* Integrate changes #18422 and #18423 from maint-5.8.Rafael Garcia-Suarez2003-01-161-20/+15
| | | | | | | | | | | | | | | 18422 : Third Degree found a read of uninit memory (after setting grent_size with sysconf(), pwent_size was read). Also make the ERANGE/INVARG more consistent. 18423 : spent_size was still off. (As far as I can tell _SC_GETPW_R_SIZE_MAX is supposed to be used also for spents, not just pwents.) p4raw-link: @18422 on //depot/maint-5.8/perl: c45c44aa17d6498a967957363477eb572b803726 p4raw-id: //depot/perl@18498 p4raw-integrated: from //depot/maint-5.8/perl@18497 'copy in' reentr.h (@17645..) reentr.c reentr.pl (@18422..)
* No warn, just ERANGE (Was: Re: [PATCH] reentrant buffers)Jarkko Hietaniemi2002-10-111-23/+4
| | | | | Message-ID: <20021004131157.GD278184@lyta.hut.fi> p4raw-id: //depot/perl@17999
* reentrant buffersJarkko Hietaniemi2002-10-021-8/+53
| | | | | Message-ID: <20020926220856.GA339120@lyta.hut.fi> p4raw-id: //depot/perl@17967
* #17775 changed reentr.c instead of reentr.pl, which generates itHugo van der Sanden2002-08-261-0/+2
| | | p4raw-id: //depot/perl@17781
* Document better what the foo_r_proto are supposed to be.Jarkko Hietaniemi2002-05-201-0/+6
| | | p4raw-id: //depot/perl@16711
* Document reentr.pl a bit better. Still ratherJarkko Hietaniemi2002-05-141-196/+222
| | | | | convoluted code, but it ain't broken, so... p4raw-id: //depot/perl@16590
* Avoid potentially empty struct.Jarkko Hietaniemi2002-05-141-0/+1
| | | p4raw-id: //depot/perl@16588
* metaconfig unit linting.Jarkko Hietaniemi2002-05-091-5/+8
| | | p4raw-id: //depot/perl@16525
* Simplify the _r probing code by adding the i_systimeJarkko Hietaniemi2002-04-141-22/+25
| | | | | only for the APIs where it matters. p4raw-id: //depot/perl@15910
* Remove false dependency between getgrent and setpwentJarkko Hietaniemi2002-04-091-40/+47
| | | | | | having/not having FILE**. Also make the names of the {set,get,end}* interface struct members a bit shorter. p4raw-id: //depot/perl@15831
* [ PATCH ] Re: no snapshot today, no RC1 Monday H.Merijn Brand2002-04-081-1/+1
| | | | | | From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20020408141403.CE45.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@15807
* reentr.pl: warning fixes, getpwentr_size fixSlaven Rezic2002-03-291-3/+14
| | | | | Message-Id: <200203291119.g2TBJwqB016888@vran.herceg.de> p4raw-id: //depot/perl@15595
* check sysconf's return value in reentr.cSlaven Rezic2002-03-221-3/+7
| | | | | | | Message-Id: <20020322173246.SOLG27460.mailoutvl21@[192.168.139.30]> (plus use 4k instead 2k as the "usual" size) p4raw-id: //depot/perl@15423
* The I_CSD, I_S, and V_S had wrong recepting datatype.Jarkko Hietaniemi2002-03-221-8/+15
| | | | | Also, there's no i_stdio. p4raw-id: //depot/perl@15418
* More HP-UX/IA64 workSpider Boardman2002-03-211-1/+8
| | | | | Message-Id: <200203211423.JAA61178@leggy.zk3.dec.com> p4raw-id: //depot/perl@15388
* Support crypt_r(const char*,const char*, CRYPTD*).Jarkko Hietaniemi2002-03-191-5/+14
| | | p4raw-id: //depot/perl@15326
* Implement the retry-on-ERANGE for the get*_r().Jarkko Hietaniemi2002-03-171-4/+209
| | | | | The buffer will keep doubling until 64k. p4raw-id: //depot/perl@15272
* If not building threaded, never mind the threaded prototypes.Jarkko Hietaniemi2002-03-161-4/+7
| | | p4raw-id: //depot/perl@15264
* More paranoid _r protochecking. At least Tru64 andJarkko Hietaniemi2002-03-161-3/+14
| | | | | | | Linux need additional hinting help to believe that the time_r protos exist; turn on FreeBSD _THREAD_SAFE to see what goes bang. p4raw-id: //depot/perl@15257
* HP-UX has also endgrent_r/endpwent_r marked obsolete.Jarkko Hietaniemi2002-03-161-0/+2
| | | p4raw-id: //depot/perl@15253
* Doesn't make sense to test for protos if theJarkko Hietaniemi2002-03-151-1/+1
| | | | | | | functions are not to be used (!= functions exist!) This might be the key (well, a key) to the HP-UX problems. p4raw-id: //depot/perl@15249
* Monster _r patch: try to scan for all known _r variants,Jarkko Hietaniemi2002-03-151-0/+705
and then use them (under ithreads). May fail in HP-UX, and the op/groups is known to be fickle everywhere. Known to work in Solaris, Linux, Tru64, IRIX, AIX. (Some compiler warnings in AIX since the first arguments of getnetbyaddr and getnetbyadd_r are of different types. Thanks, IBM.) In non-Configure platforms deny the existence of any of the _r thingies. (Also add the recently introduced d_tm_* to places it wasn't already in.) TODO: the suggested glibc buffer growth retry loop in case some entries (at least for: gr*, host*) are big. Forgot win32/config.win64. p4raw-id: //depot/perl@15238