Debian Codegraph @

ChangeLog

raw
1 2017-04-07 Jarkko Hietaniemi <[email protected]>
2
3 * Prepend "./" to require-d pathnames in tests,
4 in preparation of Perl 5.26.0. [cpan #120993]
5
6 * Add RLIMIT_POSIXLOCKS from DragonFly BSD.
7
8 * Release 1.2911.
9
10 2016-05-12 Jarkko Hietaniemi <[email protected]>
11
12 * Add RLIMIT_RSESTACK from hpux/ia64, and RLIMIT_FREEMEM
13 and RLIMIT_NTHR from QNX.
14
15 * Add more PRIO_ values from Solaris:
16
17 PRIO_CONTRACT
18 PRIO_LWP
19 PRIO_PROJECT
20 PRIO_SESSION
21 PRIO_TASK
22 PRIO_ZONE
23
24 * HPUX: Do not unconditionally define the RLIMIT_ and RLIM_NLIMITS
25
26 * Add missing word ('enough') in getrusage.t test skippage.
27
28 * Repoint all the license pointers to COPYRIGHT and LICENSE
29 in Resource.pm, add LICENSE file as a new pointer.
30
31 * Release 1.2910.
32
33 2015-11-15 Jarkko Hietaniemi <[email protected]>
34
35 * The added RLIMIT_ values were not added quite right.
36 Our own tests didn't detect this, but mod_perl2 ones did
37 [cpan #108955]
38
39 * Release 1.2909.
40
41 2015-10-21 Jarkko Hietaniemi <[email protected]>
42
43 * Add more RLIMIT_ values from various systems,
44 especially from Linux 2.6:
45
46 RLIMIT_MSGQUEUE
47 RLIMIT_NICE
48 RLIMIT_NPTS
49 RLIMIT_PTHREAD
50 RLIMIT_RTPRIO
51 RLIMIT_RTTIME
52 RLIMIT_SBSIZE
53 RLIMIT_SIGPENDING
54 RLIMIT_SWAP
55
56 Check your system's setrlimit() documentation,
57 and BSD::Resource::get_rlimits().
58
59 * Add PRIO_THREAD, if available.
60 Check your system's setpriority() documentation.
61
62 * Release 1.2908.
63
64 2013-07-12 Jarkko Hietaniemi <[email protected]>
65
66 * Address rt.cpan.org #86857: t/setrlimit.t failure
67 Skip setrlimit() tests also if the hard limit is RLIM_INFINITY.
68
69 * Release 1.2907.
70
71 2013-07-07 Jarkko Hietaniemi <[email protected]>
72
73 * Skip number-of-files and stack setrlimit tests in Cygwin:
74 the constants exist but the implementation doesn't really
75 seem to be there. Document this in the pod. Testing by dsolimano.
76
77 * For setrlimit tests involving byte sizes (memory or file size)
78 round the byte sizes down to 4 kB boundaries.
79
80 * Fix some pod nits.
81
82 * Release 1.2906.
83
84 2013-06-22 Jarkko Hietaniemi <[email protected]>
85
86 * Address rt.cpan.org #86334: typo fixes
87
88 * Address rt.cpan.org #62504: Disable user/system
89 timing tests if workload accumulate too little time
90
91 * Attempt harder in getrusage.t to burn enough user and system time,
92 refactor the "burn some cpu" utility into t/burn.pl, use that also
93 in t/times.t.
94
95 * Fix a testing problem in NetBSD for t/setrlimit.t,
96 the tests were misnumbered.
97
98 * Silence compilation warnings coming from Perl 5.18.0.
99
100 * Clarify the license to be Artistic 2.0 or LGPL 2.0.
101
102 * Regenerate ppport.h with Perl 5.18.0.
103
104 * Release 1.2905.
105
106 2010-03-14 Jarkko Hietaniemi <[email protected]>
107
108 * Address rt.cpan.org #53856: memory leak in get_rlimits()
109
110 * Address rt.cpan.org #53859: clarify get_rlimits() docs
111
112 * Release 1.2904.
113
114 2009-03-31 Jarkko Hietaniemi <[email protected]>
115
116 * Address rt.cpan.org #44082:
117 "Bug in compiler detection (Makefile.PL)" (for AIX xlc)
118 Patch submitted in the report by rehsack at cpan.org.
119
120 * Release 1.2903.
121
122 2008-12-30 Jarkko Hietaniemi <[email protected]>
123
124 * Lowered the "0.95 of the current limit" down to
125 "0.75 of the current limit" in setrlimit.t so that
126 more memory-constrained systems (like 2MB or less of
127 default stack) have slightly more chance of completing the test.
128 The 0.75 also has more chance of aligning with page sizes.
129
130 * The scalar context return of getrlimit() was documented
131 to return an object, even though it really returned the
132 soft limit, reported by [email protected]. Fixed the documentation.
133
134 * Judging by the cpantesters reports no netbsd has a functional
135 RLIMIT_STACK, so skipping the test in all of them.
136
137 * Release 1.2902.
138
139 2008-01-29 Jarkko Hietaniemi <[email protected]>
140
141 * netbsd-alpha does not have a functional RLIMIT_STACK,
142 reported by David Cantrell. Skip the test, and document
143 as a known issue.
144
145 * Release 1.2901.
146
147 2008-01-27 Jarkko Hietaniemi <[email protected]>
148
149 * Rewrite the setrlimit.t test. Simplify it a lot; now all
150 RLIM_INFINITY limits are simply skipped; for those that
151 are limited we try setting only the soft limit, and accept
152 a value lower than we tried to set, since various systems
153 might either enforce lower limits, or round up the limits.
154 Added documentation on setrlimit() about this.
155
156 * Allow calling getrlimit/setrlimit and getpriority/setpriority
157 with the string names ("RLIMIT_NPROC", for example).
158
159 * Include ppport.h (generated with perl 5.8.8), reshuffle
160 system header includes appropriately.
161
162 * Tested also with older Perls, 5.005_05 and 5.6.2, in OS X.
163 (5.005_04 didn't work, it creates but then cannot dynaload
164 the .bundle files, go figure.)
165
166 * Minor documentation tweaks and copyright year bumps.
167
168 * Release 1.29.
169
170 2006-05-26 Jarkko Hietaniemi <[email protected]>
171
172 * Tweak the regexp parsing the ps -o output in setpriority.t,
173 from Alexey Tourbin and Rafael Garcia-Suarez. Still just
174 a best-effort attempt, but one can only try.
175
176 * Release 1.28.
177
178 2006-05-25 Jarkko Hietaniemi <[email protected]>
179
180 * Address rt.cpan.org #13130 and #19412: try to cope with
181 an already reniced shell running the setpriority.t. The
182 tricks used are trying "ps -o pid,nice" and looking for $$,
183 and if that fails, then trying whether the nice(1) is the
184 GNU one, and if so, running it without arguments.
185
186 * Release 1.27.
187
188 2006-05-21 Jarkko Hietaniemi <[email protected]>
189
190 * Address rt.cpan.org #19298: bug in getrusage(): 'inblock' was
191 misspelt as 'inlock' (the end result being that people looking
192 for the 'inblock' field got zero)
193
194 * For Mac OS X reword the message about the RLIM_NPROC test failure
195 (or rather, the possible failure). Still a mystery under what
196 exact conditions the test fails or succeeds.
197
198 * Add Test::Pod and Test::Pod::Coverage tests.
199
200 * Release 1.26.
201
202 2006-04-09 Jarkko Hietaniemi <[email protected]>
203
204 * Address rt.cpan.org #13131: setrlimit.t tries to increase hard
205 limits, cannot raise limits higher than the hard limit.
206
207 * Address rt.cpan.org #13130: getpriority.t and setpriority.t
208 assume priority = 0, solution hopefully portable. Now should
209 work under e.g. "nice make test".
210
211 * Add more verbosity to the case of the known rlimit.t test
212 failure in Mac OS X.
213
214 * Release 1.25.
215
216 Sun Feb 29 16:51:34 2004 Jarkko Hietaniemi <[email protected]>
217
218 * No functional changes but document the known fact that
219 under at least Mac OS X 10.3.2 the t/setrlimit.t subtest #8
220 may fail because of an OS bug. Also reorder the documentation
221 a bit to collect all the known issues under one heading.
222
223 * Release 1.24.
224
225 Tue Oct 7 21:54:04 2003 Jarkko Hietaniemi <[email protected]>
226
227 * Makefile.PL: use archlibexp instead of archlib in cc -I.../CORE
228 so that Perls installed under ~user work.
229
230 * Release 1.23.
231
232 Sun Feb 9 12:12:42 2003 Jarkko Hietaniemi <[email protected]>
233
234 * Add RLIMIT_LOCKS.
235
236 * Fix a typo s/RLIM_SAVEWD_MAX/RLIMIT_SAVED_MAX/
237
238 * Sort the @EXPORT list.
239
240 * Release 1.22.
241
242 Thu Dec 12 01:15:44 2002 Jarkko Hietaniemi <[email protected]>
243
244 * Patches for NCR MP-RAS from [email protected].
245
246 * Release 1.21.
247
248 Tue Nov 26 04:20:38 2002 Jarkko Hietaniemi <[email protected]>
249
250 * Add a warning about the time/load-sensitivity of the
251 tests to INSTALL and Makefile.PL.
252
253 * Rewrite the getrusage.t and times.t tests a bit to
254 better work on a fast machine (IOW, try spending a
255 bit more time).
256
257 * Release 1.20.
258
259 Fri Nov 22 17:57:44 2002 Jarkko Hietaniemi <[email protected]>
260
261 * Fixed a test problem found by Alain Barbet: in NetBSD
262 the RLIMIT_STACK wants to be aligned. Fixed also the
263 other memory-related limit tests to allow for alignment.
264
265 * Release 1.19.
266
267 Wed Nov 20 16:42:50 2002 Jarkko Hietaniemi <[email protected]>
268
269 * Problem found by Jeff Boes, forwarded and analyzed
270 by Slaven Rezic: if one has a fast machine and/or
271 the granularity of times() is low, one could get false
272 negatives from far() in getrusage.t. Fixed the same
273 problem in times.t.
274
275 * Bumped the copyright statement years.
276
277 * Release 1.18.
278
279 Thu Sep 19 16:53:26 2002 Jarkko Hietaniemi <[email protected]>
280
281 * Patch from Miles Egan to use -I$archlib/CORE instead
282 of -I$installarchlib/CORE in Makefile.PL, since they
283 might be different but the first one is the one apps
284 are supposed to be using.
285
286 * Sanity check for getrlimit/setrlimit/getpriority/setpriority
287 so that one won't use the string "RLIMIT_..."/"PRIO_..." when
288 one is supposed to be using the constant RLIMIT_.../PRIO_...
289
290 * Release 1.17.
291
292 Sun Sep 15 18:44:36 2002 Jarkko Hietaniemi <[email protected]>
293
294 * Patch from Allen Smith to avoid -lbsd in IRIX
295 since it potentially brings in harmful side effects
296 regarding setpgrp/setgroups.
297
298 * Mention the use of VERBOSE in the probe failure message.
299
300 * Release 1.16.
301
302 Thu May 9 04:18:09 2002 Jarkko Hietaniemi <[email protected]>
303
304 * Add COPYRIGHT AND LICENSE to Resource.pm.
305
306 * Release 1.15.
307
308 Sat Jan 26 07:14:00 2002 Jarkko Hietaniemi <[email protected]>
309
310 * A space between the 2>/dev/null and the command is nice.
311
312 * Release 1.14.
313
314 Tue Jan 22 16:55:44 2002 Jarkko Hietaniemi <[email protected]>
315
316 * Alex J Avriette reported that in Darwin 5.2 the Makefile.PL
317 dies with great noise. Simplify the resource header scan.
318
319 * Release 1.13.
320
321 Wed Jan 16 02:38:54 2002 Jarkko Hietaniemi <[email protected]>
322
323 * Release 1.12.
324
325 * Allen Smith had a compiler setup in IRIX 6.5 that made
326 Makefile.PL wrongly think that there be no <sys/resource.h>
327 ($ENV{CC} set to "cc -...", which made the basename() logic fail)
328
329 Fri Sep 28 05:35:16 2001 Jarkko Hietaniemi <[email protected]>
330
331 * Release 1.11.
332
333 * I suck. Vivek Khera reported NINE MONTHS ago that
334 I was missing sub isrss(). My memory was jogged by
335 a message from Jeff Boes ONE MONTH ago. My apologies.
336
337 Mon Mar 5 16:43:44 2001 Jarkko Hietaniemi <[email protected]>
338
339 * Release 1.10.
340
341 * Move $VERSION from Makefile.PL to Resource.pm as suggested
342 by Philip Newton.
343
344 * Require at least Perl 5.002.
345
346 Mon Oct 30 22:39:40 2000 Jarkko Hietaniemi <[email protected]>
347
348 * Release 1.09.
349
350 Fixed to work with 5.6.0 and Solaris: the default setting
351 of Perl 5.6.0 is to use "large files", which does not mix with
352 the Solaris /procfs interface. Workaround: use the old trusty
353 syscall(). The deficiency reported to Solaris kernel group,
354 so there's hope that in some future patch/release the procfs
355 will get fixed.
356
357 Document the "Your vendor has not ..." error message.
358
359 Sat Apr 15 23:45:06 2000 Jarkko Hietaniemi <[email protected]>
360
361 * Release 1.08: (about time)
362
363 Fixed to work with 5.6.
364
365 Fixed to work with Linux (PRIO_ are just enums, not defines).
366
367 Added a few possible RLIMIT_ constants (RLIMIT_AIO_MEM,
368 RLIMIT_AIO_OP, RLIMIT_OFILE, RLIMIT_TCACHE).
369
370 Fri Jan 16 15:47:19 1998 Jarkko Hietaniemi <[email protected]>
371
372 * Release 1.07:
373
374 Added pseudo-times().
375
376 Major Solaris 5.[56] hackery to use the /proc.
377 Don't know whether older Solarises work anymore :-/
378
379 Mon Jun 2 13:32:54 1997 Jarkko Hietaniemi <[email protected]>
380
381 * Release 1.06:
382
383 Renamed release 1.05_02 to release 1.06 as the
384 release seems quite stable.
385
386 Sun Apr 27 18:20:00 1997 Jarkko Hietaniemi <[email protected]>
387
388 * Release 1.05_02:
389
390 Tiny cleanup work.
391
392 Sat Apr 26 21:10:00 1997 Jarkko Hietaniemi <[email protected]>
393
394 * Release 1.05_01:
395
396 More platforms known to work
397
398 MachTen 4.0.3 1)
399
400 Many thanks to
401
402 Dominic Dunlop <[email protected]>
403
404
405 1) well, setrlimit() does not, at all, but this is
406 a known bug in MachTen, Perl canna fix it...
407
408 Tue Apr 08 01:27:33 1997 Jarkko Hietaniemi <[email protected]>
409
410 * Release 1.05:
411
412 The platforms known to work
413
414 AIX 3.2.5, 4.1.4
415 Digital UNIX (aka DEC OSF/1) 3.2C, 4.0b
416 FreeBSD 3.0
417 HP-UX 9.03
418 IRIX 5.3, 6.3, 6.4
419 Linux 2.0.18
420 Solaris 2.5.1
421 SunOS 4.1.4
422
423 Many thanks to
424
425 Jim Anderson <[email protected]>
426 Ariel Faigon <[email protected]>
427 Scott Henry <[email protected]>
428 Brett M Hogden <[email protected]>
429 Nick Ing-Simmons <[email protected]>
430 Ollivier Robert <[email protected]>
431 Ashok S <[email protected]>
432 Larry W Virden <[email protected]>
433 Ilya Zakharevich <[email protected]>
434
435 for their testing and patches. Especially many
436 thanks to Scott Henry and Ariel Faigon.
437
438 --