Release of SysV init 3.02

Mark Hindley mark at hindley.org.uk
Tue Mar 29 19:44:21 BST 2022


Jesse,

The experimental Debian build of 3.02-1 has thrown up a regression on hurd[1]:

bootlogd.c:119:26: error: 'PATH_MAX' undeclared (first use in this function)
  119 |                 char msg[PATH_MAX + sizeof(msgprefix)];

AFAIU PATH_MAX isn't defined on hurd. Other uses of it in sysvinit have a
conditional declaration.

src/killall5.c:

#ifndef PATH_MAX
#  ifdef MAXPATHLEN
#    define PATH_MAX MAXPATHLEN
#  else
#    define PATH_MAX 2048
#  endif
#endif


src/last.c and src/mountpoint.c:

#ifndef PATH_MAX
#define PATH_MAX 2048
#endif

Mark

[1]  https://buildd.debian.org/status/fetch.php?pkg=sysvinit&arch=hurd-i386&ver=3.02-1&stamp=1648569163&raw=0




More information about the Debian-init-diversity mailing list