Skip Menu |

This queue is for tickets about the Proc-ProcessTable CPAN distribution.

Report information
The Basics
Id: 104658
Status: resolved
Priority: 0/
Queue: Proc-ProcessTable

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.51
Fixed in: (no value)



Subject: cygwin.c: removed API function
Cygwin has long removed the API you are still using. Please switch to the new API or add a version test if you still want to support ancient Cygwin versions.
Subject: perl-Proc-ProcessTable.src.patch
--- origsrc/Proc-ProcessTable-0.51/os/cygwin.c 2013-02-19 00:34:31.000000000 +0100 +++ src/Proc-ProcessTable-0.51/os/cygwin.c 2015-05-23 22:49:54.961316200 +0200 @@ -218,7 +218,11 @@ OS_get_table() { char *s; pname[0] = '\0'; +#if 0 cygwin_conv_to_posix_path (p->progname, pname); +#else + cygwin_conv_path((CCP_RELATIVE|CCP_WIN_A_TO_POSIX), p->progname, pname, MAX_PATH); +#endif s = strchr (pname, '\0') - 4; if (s > pname && strcasecmp (s, ".exe") == 0) *s = '\0';
Thanks for reporting (and providing the patch). The function was already introduced in the git repo (commit ac1b28ebd6deb3ff1db4312c1088d379ba9b1d84), however, I added CCP_RELATIVE flag as suggested in your patch.
On Sun Aug 23 05:22:01 2015, jwb wrote: Show quoted text
> Thanks for reporting (and providing the patch). The function was > already introduced in the git repo (commit > ac1b28ebd6deb3ff1db4312c1088d379ba9b1d84), however, I added > CCP_RELATIVE flag as suggested in your patch.
Thank you for the update.