Hi,
  I've applied a slightly different fix to this problem, using a
combination of asprintf and defining PATH_MAX.

https://gitlab.com/psmisc/psmisc/commit/d9ac11f92fdc4e96c818ce9d56e28ef40a508336

 -Craig



On Fri, 10 Aug 2018 at 06:33 Svante Signell <svante.sign...@gmail.com>
wrote:

> Source: psmisc
> Version: 23.1-1
> Severity: important
> Tags: patch
> User: debian-h...@lists.debian.org
> Usertags: hurd
>
> Hi,
>
> Currently the latest version of psmisc fails to build from source and
> is flagged as out-of-date. This is due to usage of PATH_MAX, which is
> not defined on GNU/Hurd. The attached patch solve this problem by
> dynamically allocating space for the strings 'fullpath, linkpath and
> buf' in main() of src/pslog.c and freeing it when not needed any
> longer.
>
> Thanks!
>
-- 
Craig Small             https://dropbear.xyz/     csmall at : dropbear.xyz
Debian GNU/Linux        https://www.debian.org/   csmall at : debian.org
Mastodon: @smalls...@social.dropbear.xyz             Twitter: @smallsees
GPG fingerprint:      5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5

Reply via email to