| 1 |
Revision history for Perl extension Proc::ProcessTable. |
| 2 |
|
| 3 |
0.637 2025-07-28 |
| 4 |
- Fixed failing build on illumos with GCC 14+ (#38). Kudos go to @mtelka |
| 5 |
|
| 6 |
0.636 2023-06-23 |
| 7 |
- Fix compilation with MinGW32 runtime (redefine WINVER if too low) |
| 8 |
|
| 9 |
0.635 2023-05-08 |
| 10 |
- Do not try to scan /dev/.lxd-mounts |
| 11 |
|
| 12 |
0.634 2021-09-27 |
| 13 |
- Published the wrong branch (sorry, it was late). Now it is really fixed! |
| 14 |
|
| 15 |
0.633 2021-09-27 |
| 16 |
- Dummy version, no changes |
| 17 |
|
| 18 |
0.632 2021-09-27 |
| 19 |
- The included obstack files confused linux compilation. Placed them |
| 20 |
in os/ and fixed compile steps |
| 21 |
|
| 22 |
0.631 2021-09-26 |
| 23 |
- added cygwin implementation/extension of ASSI |
| 24 |
- aaand we are back to 3-digit version numbers due to quirks |
| 25 |
of rpmvercmp, which thinks that 0.612 is higer than 0.62 |
| 26 |
|
| 27 |
0.62 2021-09-13 |
| 28 |
- updated Changes file to stick to perl5-module-meta recommendations |
| 29 |
- changed version scheme back to 2 digits after major version. |
| 30 |
- added J. Bargsten as author |
| 31 |
|
| 32 |
0.612 2021-09-08 |
| 33 |
- regression issue: allow (again) processes with empty names on Linux |
| 34 |
|
| 35 |
0.611 2021-08-18 |
| 36 |
- fixed potential memory leak while parsing command names in linux |
| 37 |
|
| 38 |
0.61 2021-08-17 |
| 39 |
- fixed regression: on linux only 1st char of the command names was parsed |
| 40 |
|
| 41 |
0.60 2021-08-14 |
| 42 |
- compiles on musl |
| 43 |
- Skip LXC hidden dir in /dev when looking for TTYs |
| 44 |
- Fix test on OpenBSD |
| 45 |
|
| 46 |
0.59 2019-06-20 |
| 47 |
- works again on AIX |
| 48 |
- fixed mswin32 stuff, hope it works now |
| 49 |
- reogranized code and started to use newest version ExtUtils::MakeMaker |
| 50 |
|
| 51 |
0.56 2019-02-07 |
| 52 |
- Testing support for mswin32 |
| 53 |
- minor fix for FreeBSD |
| 54 |
|
| 55 |
0.53 2015-08-24 |
| 56 |
- Fixed bug in Linux occurring if process name is empty (RT#106571) |
| 57 |
- Added missing includes on AIX (RT#39748) |
| 58 |
- Some minor changes on tests and documentation |
| 59 |
|
| 60 |
0.52 2015-08-23 |
| 61 |
- Incorporated mainly bugfixes (see github repo for details); |
| 62 |
OS affected: NetBSD, cygwin, AIX, bsdi, Linux |
| 63 |
- Added test for another odd command name ([]) |
| 64 |
- Added some scripts for process tracking. Still in beta-phase. |
| 65 |
|
| 66 |
0.51 2014-10-17 |
| 67 |
- Fixed #65347 (installation hangs on AIX), patch from Rainer Tammer; Fixed #99163 |
| 68 |
(segfault from canonicalize_file_name), pulled patch from Borislav Nikolov. |
| 69 |
|
| 70 |
0.50 2013-12-15 |
| 71 |
- Added hint file for gnukfreebsd. |
| 72 |
|
| 73 |
0.49 2013-12-05 |
| 74 |
-Fixed #61946 (odd process names), solution by Bernd Kallies. Fixed #48445, patch |
| 75 |
from Guillaume Rousse. Pulled fixes from Opera Wang. Fixed typos discovered by |
| 76 |
Salvatore Bonaccorso, David Steinbrunner and HMBRAND. Fixed #89117, patch from yyang. |
| 77 |
Got it (hopefully) running under kfreebsd. |
| 78 |
|
| 79 |
0.48 2013-05-26 |
| 80 |
-Pulled commits from Chris Williams <[email protected]>, fixes build |
| 81 |
errors on NetBSD and OpenBSD. Fixed #72862 (byte order tag in cache file), |
| 82 |
applied patch to fix #67224 (cygwin PID_ORPHANED) by <rurban at x-ray.at>. |
| 83 |
Pulled FreeBSD patches from Slaven Rezić <[email protected]>; |
| 84 |
Pulled from David Zaebst <[email protected]>): Fixes to stay accurate on |
| 85 |
machines with many cpus (#82175), to include system time into calculations |
| 86 |
(#80391) and others (#81312, #82175 and #80391) and to fix unknown process |
| 87 |
states for debian kernels #71976. Tried to get it compiling under |
| 88 |
MidnightBSD. |
| 89 |
|
| 90 |
0.47 2013-02-16 |
| 91 |
-Initial releas by new maintainer jwb. Incorporated meta file updates from |
| 92 |
Jonathan Swartz <[email protected]>. Closed a bunch of bugs: Patch from |
| 93 |
Christian Boitel <[email protected]> (fixes #51470); added |
| 94 |
suggestion from Opera Wang <[email protected]> (fixes #51470 even |
| 95 |
more); patches from Michael Schilli (MSCHILLI) (fix #41397, #46861 and |
| 96 |
#58236), work on perl w/o threads; pulled commits from Slaven Rezić |
| 97 |
<[email protected]>, use kvm implementation for FreeBSD >= 6.0 (closes #68405 |
| 98 |
and #16978); fixed bug #69397, fh not closed; fixed RT #72862, unsafe use of |
| 99 |
/tmp; added tests; |
| 100 |
|
| 101 |
0.46 2012-10-19 |
| 102 |
-Initial release by new maintainer jswartz, identical to 0.45 except for meta files |
| 103 |
and README |
| 104 |
|
| 105 |
0.45 2008-09-08 |
| 106 |
-Patch from Milosz Tanski <[email protected]> to make module |
| 107 |
thread-safe on linux (rt.cpan.org ID 38709). Patch from Scott |
| 108 |
Davis <[email protected]> for new constructor flag |
| 109 |
enable_ttys, which when set to 0 disables traversing the |
| 110 |
device tree. |
| 111 |
|
| 112 |
0.44 2008-07-25 |
| 113 |
-Patch from Tom Wyant <[email protected]> for darwin issues |
| 114 |
that didn't make it into 0.43. |
| 115 |
|
| 116 |
0.43 2008-07-17 |
| 117 |
-Changed 'my $TTYDEVSFILE;' to 'our' to permit multiple |
| 118 |
versions of perl (rt.cpan.org bug ID 37722); fixed up include |
| 119 |
file order in os/Linux.h so module will build on OpenSuse 11 |
| 120 |
per request of Steve Linn <[email protected]>; fixed warning |
| 121 |
under perl 5,10 (rt.cpan.org bug ID 36666); fixes for numerous |
| 122 |
problems on darwin from Tom Wyant <[email protected]> |
| 123 |
(rt.cpan.org bug IDs 24331, 32761, and 33698); fix for ARG_MAX |
| 124 |
dynamic configuration in os/Linux.h (rt.cpan.org bug ID 36283). |
| 125 |
|
| 126 |
0.42 2008-01-25 |
| 127 |
-Patch to fix PROC_FS define in Solaris 5.10 from jlv |
| 128 |
<[email protected]>; patch to replace kinfo array and use |
| 129 |
KINFO structure on darwin. Patch from Steve Linn |
| 130 |
<[email protected]> for x86_64 linux. Shortened test code so it |
| 131 |
only shows info for current process. |
| 132 |
|
| 133 |
0.41 2006-06-30 |
| 134 |
-Port to openbsd from <[email protected]>. Fix for |
| 135 |
EOVERFLOW in HPUX 11.11 from <[email protected]> |
| 136 |
(rt.cpan.org ticket #18932). Module now requires perl 5.6 as |
| 137 |
suggested by <[email protected]> (rt.cpan.org ticket |
| 138 |
#15279). Patches from <[email protected]> for killall to |
| 139 |
use fname if cmndline is not defined and rename PID_ZOMBIE to |
| 140 |
PID_ORPHANED under cygwin (rt.cpan.org ticket #14837, |
| 141 |
#14836). Fixed empty pctmem bug on linux due to change in |
| 142 |
format of /proc/meminfo (hopefully this format is stable |
| 143 |
now??). |
| 144 |
|
| 145 |
0.40 2005-07-10 |
| 146 |
-Added patch for support of FreeBSD-5 via kvm from Oleg King |
| 147 |
<[email protected]>. Added contrib directory and pswait script |
| 148 |
from dominix <[email protected]>. Patch from Steve Linn |
| 149 |
<[email protected]> to handle processes larger than 2GB. Added |
| 150 |
jiffies-to-microseconds patch for linux from Jason A. Smith |
| 151 |
<[email protected]>. Added patch from rt.cpan.org ticket |
| 152 |
#12951 to fix Solaris 8 with multi-threaded Perl where |
| 153 |
readdir_r is defined differently for POSIX compiles. Patch for |
| 154 |
misreport of PID in cygwin (rt.cpan.org ticket #12840). |
| 155 |
Fix for FC4 gcc-4 buffer overrun complaint. |
| 156 |
|
| 157 |
0.39 2003-10-03 |
| 158 |
-Project is now hosted on SourceForge. Patch from Aaron |
| 159 |
Sherman <[email protected]> from rt.cpan.org ticket #2578 to add a |
| 160 |
warn function ppt_warn() instead of sending errors to stderr; |
| 161 |
changed linux, bsdi and aix. Added ppt_croak and updated |
| 162 |
PORTING docs. Added port to Darwin from Tom Wyant |
| 163 |
<[email protected]>. Added port to Nonstop-UX from Mike |
| 164 |
Steinert <[email protected]>. Patch from |
| 165 |
James.FitzGibbon <[email protected]> for AIX 5.1 |
| 166 |
command line args. Added note to README.dec_osf that root |
| 167 |
access is required. |
| 168 |
|
| 169 |
0.38 2002-12-06 |
| 170 |
-Fixed my omission of new AIX files from MANIFEST. Patch from |
| 171 |
Tim Cutts <[email protected]> for Tru64 clusters. |
| 172 |
|
| 173 |
0.37 2002-11-08 |
| 174 |
-Patch from Philip Molter <[email protected]> to fix typo in |
| 175 |
Solaris.c. |
| 176 |
|
| 177 |
0.36 2002-11-05 23:04:12 |
| 178 |
-Patch for documentation typo for Killfam.pm from Mike Castle |
| 179 |
<[email protected]>. Patch for AIX v4.2 from James |
| 180 |
FitzGibbon <[email protected]> to take advantage of newer OS API; |
| 181 |
this also required addition of a new return type (long-long, |
| 182 |
specified as "j") to ProcessTable.xs. Patch to add new field |
| 183 |
"numthr" for number of threads for Solaris from Joseph |
| 184 |
Cavanaugh <[email protected]>. Patch for linux compiler |
| 185 |
warnings from Marcus Crafter <[email protected]>. Changed HPUX |
| 186 |
"cmd" field to "cmndline" for consistency with other ports at |
| 187 |
the suggestion of Craig Cook <[email protected]>. Windows port |
| 188 |
via Cygwin from J Robert Ray <[email protected]>. Patch for |
| 189 |
multithread support under Solaris from Kong Li |
| 190 |
<[email protected]>. Patch for File::Find::prune tty mapping |
| 191 |
buglet from <[email protected]>. Changed behavior of |
| 192 |
store_ttydev() in ProcessTable.xs to insert an empty string |
| 193 |
for processes that don't have a tty, instead of having it |
| 194 |
return undef. I *think* this will fix a problem reported on |
| 195 |
HPUX by H.Merijn Brand <[email protected]>. Changed ttynums |
| 196 |
to be treated as unsigned to fix occasional negative ttynum |
| 197 |
bug reported by Daniel Berger <[email protected]>. |
| 198 |
|
| 199 |
0.35 2002-07-01 11:24:43 |
| 200 |
-Patch from Thomas Glanzmann <[email protected]> |
| 201 |
to fix starttime overflow bug on linux. This should also fix |
| 202 |
multiprocessor starttime bugs. He says there is another |
| 203 |
overflow after 25 days of uptime though :( |
| 204 |
Nearly identical patches from Doug Lewis |
| 205 |
<[email protected]> and Jan L. Peterson |
| 206 |
<[email protected]> to fix taint problem. Patch from Peter van |
| 207 |
Hooft <[email protected]> to allow non-root |
| 208 |
users to list processes on IRIX. |
| 209 |
|
| 210 |
|
| 211 |
0.34 2002-02-24 21:55:07 |
| 212 |
-Corrected documentation type pointed out by Marcus Crafter |
| 213 |
<[email protected]>. Fix for JIFFIES_TO_MICROSECONDS potential |
| 214 |
int overflow on linux from Stephen Pillinger |
| 215 |
<[email protected]>. Patch for File::Find routine |
| 216 |
on AIX (broken POSIX?) from H.Merijn Brand |
| 217 |
<[email protected]>. Big linux code cleanup patch from |
| 218 |
Anthony Higa <[email protected]>; I *think* this also |
| 219 |
fixes the linux-ppc problem reported by Marcus Crafter. |
| 220 |
|
| 221 |
|
| 222 |
0.33 2001-10-10 15:50:17 |
| 223 |
-Fixed Solaris large file environment problem (by turning off |
| 224 |
large file environment CCFLAGS!). Patches from Chris Adams |
| 225 |
<[email protected]> for TTYs with device number(s) zero and |
| 226 |
Digital Unix table() call to read processes. Added |
| 227 |
README.taint for workarounds for perl -T. Changed umask for |
| 228 |
644 permissions for /tmp/TTYDEVS. |
| 229 |
|
| 230 |
0.32 2001-08-19 04:45:25 |
| 231 |
-SunOS port from Shawn Clifford <[email protected]>. |
| 232 |
Patch from Thomas Linden <[email protected]> for additional Linux |
| 233 |
fields. Patch for bsdi from Nicolas Belan <[email protected]> |
| 234 |
to add cmndline. |
| 235 |
|
| 236 |
0.31 2001-06-01 08:27:03 |
| 237 |
- Removed bogus test code line from os/Linux.c that was opening |
| 238 |
"/tmp/tedddi". |
| 239 |
|
| 240 |
0.30 2001-03-04 05:05:26 |
| 241 |
- Patch from David Good <[email protected]> for 32-bit HPUX 11.0 support |
| 242 |
via the 64-bit interface. Port to Unixware 7.x from Martin Lucina |
| 243 |
<[email protected]>. Upgraded status to beta :) |
| 244 |
|
| 245 |
0.29 2001-01-09 07:36:13 |
| 246 |
- Patch from Wolfgang Friebel <[email protected]> for os/HPUX.c to |
| 247 |
make the time method return useful values. Patch from Adrian Phillips |
| 248 |
<[email protected]> to fix AIX cmndline field. Patch from Tryggvi Farestveit |
| 249 |
<[email protected]> to fix bug in cmndline under Linux. Killfam.pm module |
| 250 |
from Steve Lidie <[email protected]>. |
| 251 |
|
| 252 |
0.28 2000-08-14 16:31:43 |
| 253 |
- Patch from Slaven Rezic <[email protected]> to make test script -w |
| 254 |
clean. |
| 255 |
|
| 256 |
0.27 2000-06-29 08:27:23 |
| 257 |
- Added patch for converting jiffies to microseconds in linux from Philip |
| 258 |
Gwyn <[email protected]>. Added patch from Slaven Rezic <[email protected]> |
| 259 |
for FreeBSD and to make Storable optional. |
| 260 |
|
| 261 |
0.26 2000-02-11 16:43:48 |
| 262 |
- Added Proc::Killall from Aaraon Sherman <[email protected]>. |
| 263 |
|
| 264 |
0.25 2000-02-03 11:20:27 |
| 265 |
- Added patch from F. Buirey <[email protected]> for AIX SMP. |
| 266 |
|
| 267 |
0.24 2000-01-20 08:00:30 |
| 268 |
- Added patches from Noel Paul <[email protected]> for dec_osf pctcpu and |
| 269 |
pctmem, and for IRIX for pctmem. |
| 270 |
|
| 271 |
0.23 1999-11-01 08:32:54 |
| 272 |
- Added patch from Dave Alden <[email protected]> for solaris "nice" |
| 273 |
and "onproc" fields. |
| 274 |
|
| 275 |
0.22 1999-10-05 07:47:54 |
| 276 |
- Bug fix for Solaris; nanosecond process times are only available on 2.6 |
| 277 |
(and above?); this was causing the module to dump core on earlier systems. |
| 278 |
Also, size and rss appear to be in kilobytes, not pages in 2.6 and above |
| 279 |
(they are in pages in the struct prpsinfo in < 2.6, but also available |
| 280 |
directly as bytes). |
| 281 |
|
| 282 |
0.21 1999-09-10 12:32:13 |
| 283 |
- Bug fix; new "fields" method was crapping out on everything except |
| 284 |
Linux-Intel. |
| 285 |
|
| 286 |
0.20 1999-09-08 22:27:28 |
| 287 |
- Added "fields" method to module to return list of fields supported for the |
| 288 |
current architecture. This is implemented in a slightly kludgy way, since |
| 289 |
it needs to call the table method if the table method hasn't been called |
| 290 |
before, since only the table method knows the names of the fields. Also |
| 291 |
changed the test code to dump all the fields/values available for the |
| 292 |
current process table, instead of just dumping pids and "fname" which isn't |
| 293 |
supported on all architectures (though it should be). Added "example.pl" |
| 294 |
file which contains the same code. |
| 295 |
|
| 296 |
0.19 1999-08-30 00:22:02 |
| 297 |
- Reinstated 'OBJECT' argument in WriteMakefile in Makefile.PL since it was |
| 298 |
breaking the build on dec-osf, but this time with explicit object files to |
| 299 |
look for which seems to work, at least under Linux. Why this should be |
| 300 |
necessary is unclear. Added "fname" field to HPUX (was "cmd") for |
| 301 |
consistency with other ports and for new test. Added very basic |
| 302 |
"README.hpux". Added check in ProcessTable.pm to prune search tree for |
| 303 |
unreadable directories when finding TTY list; this was causing spurious |
| 304 |
errors during build on dec_osf since some directories under /dev are |
| 305 |
readable only by root. |
| 306 |
|
| 307 |
0.18 1999-08-19 10:57:16 |
| 308 |
- Fixed bug (at least for linux) in Makefile.PL that was causing |
| 309 |
ProcessTable.xs not to be converted to ProcessTable.c; this was carelessly |
| 310 |
introduced by me with integration of the port to dec_osf. Added port for |
| 311 |
netbsd from Peter Reich <[email protected]>. |
| 312 |
|
| 313 |
0.17 1999-08-19 10:57:16 |
| 314 |
- Lost connection to ISP during upload to PAUSE, and PAUSE won't let me |
| 315 |
reload it so I have to increment the version number. Kind of annoying. |
| 316 |
|
| 317 |
0.16 1999-08-09 22:59:46 |
| 318 |
- Added nanosecond Solaris patch from Rolf Petter Halle <[email protected]>. |
| 319 |
Added port for dec_osf from Bernhard Schmalhofer |
| 320 |
<[email protected]>, which included new version of test code as |
| 321 |
well. Added bsdi port from Sean Eskins <[email protected]>. |
| 322 |
|
| 323 |
0.15 1999-06-01 21:33:16 |
| 324 |
- Added patch from Peter ? <[email protected]> for IRIX |
| 325 |
version differences. There seems to be a lot of IRIX out there. |
| 326 |
|
| 327 |
0.14 1999-05-14 06:30:15 |
| 328 |
- Added port for IRIX from W. Phillip Moore <[email protected]> in 0.13, but forgot |
| 329 |
to add files to MANIFEST and edit Changes (Duh). W. Phillip Moore's port |
| 330 |
also included a minor patch for Solaris to get the page size from the |
| 331 |
system. |
| 332 |
|
| 333 |
0.12 1999-03-21 10:53:56 |
| 334 |
- Hopefully the final fix for the sv_undef buglet. |
| 335 |
|
| 336 |
0.11 1999-03-06 19:04:39 |
| 337 |
- Fixed code that checked perl patchlevel version to check directly for |
| 338 |
definition of PL_sv_undef and define it as sv_undef if it's not there, |
| 339 |
since it's not clear what patchlevel we need to check for. Also fixed |
| 340 |
embarrassing and unnecessary call to close() a string in Solaris.c |
| 341 |
|
| 342 |
0.10 1999-02-20 11:29:35 |
| 343 |
- Added code to ProcessTable.xs to check perl patchlevel version and use |
| 344 |
either PL_sv_undef or sv_undef since lots of people are still using older |
| 345 |
versions of perl. |
| 346 |
|
| 347 |
0.09 1999-02-19 23:23:53 |
| 348 |
- Fixed bug in Linux.c, fopen() called without corresponding fclose. Added |
| 349 |
empty DESTROY subs to ProcessTable.pm and Process.pm to fix occasional |
| 350 |
problems with mod_perl. Changed all instances of sv_undef in |
| 351 |
ProcessTable.xs to PL_sv_undef to comply with new standard. |
| 352 |
|
| 353 |
0.08 1999-02-04 00:35:53 |
| 354 |
- Fixed bug in solaris hints file that was looking for a version of solaris |
| 355 |
returned by "uname -r" as > 2.5, when "uname -r" returns the "SunOS" |
| 356 |
version of 5.5. Fixed bug in linux module in which only the first field of |
| 357 |
the command line was getting passed in cmndline attribute. |
| 358 |
|
| 359 |
0.07 1999-01-06 14:57:04 |
| 360 |
- added FreeBSD port by Slaven Rezic <[email protected]>. |
| 361 |
|
| 362 |
0.06 1998-12-09 23:42:05 |
| 363 |
- added HPUX port by Mike Romberg <[email protected]>. |
| 364 |
|
| 365 |
0.05 1998-12-09 18:47:39 |
| 366 |
- fixed minor compilation problems for solaris. Changed rss to bytes on linux |
| 367 |
for consistency with solaris; also added "time" and "ctime" fields to linux |
| 368 |
for consistency. Updated documentation in Process.pm. Folded in AIX port by |
| 369 |
David Paquet <[email protected]>. |
| 370 |
|
| 371 |
0.04 1998-08-14 22:51:31 |
| 372 |
- preliminary pre-alpha solaris support |
| 373 |
|
| 374 |
0.03 1998-07-26 09:07:50 |
| 375 |
- added argument to va_end to make linux-ppc work |
| 376 |
|
| 377 |
0.01 1998-06-08 11:37:47 |
| 378 |
- original version; created by h2xs 1.18 |