NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/59222: Build failure on Solaris-11.4 for src/sbin/newfs_udf/udf_core.c
The following reply was made to PR bin/59222; it has been noted by GNATS.
From: Sad Clouds <cryintothebluesky%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost
Subject: Re: bin/59222: Build failure on Solaris-11.4 for
src/sbin/newfs_udf/udf_core.c
Date: Thu, 27 Mar 2025 07:52:38 +0000
Actually, both NAME_MAX and MAXNAMLEN are not that portable and likely
to cause this failure. One way to fix this would be with #ifndef
#ifndef NAME_MAX
#define NAME_MAX 255
#endif
or use pathconf(_PC_NAME_MAX, ...)
Home |
Main Index |
Thread Index |
Old Index