In browsing through the old, open, PRs I found misc/18466 (from May,
2000). It's got the potential to be a source of substantial confusion, so
it seems to be worth addressing.

The fix seems trivial, and I've attached a very simple patch to
sysinstall.h that should fix the problem. I'm relatively sure there are
other, preferred ways of fixing the issue, and I'd be more than happy to
see some feedback.

- Jeff Jirsa

-- 
==============
Jeff Jirsa
[EMAIL PROTECTED]
HMC 2003
==============
--- sysinstall.h.orig   Sun Feb  9 15:02:25 2003
+++ sysinstall.h        Mon Feb 10 11:06:54 2003
@@ -72,7 +72,13 @@
 #endif
 
 /* device limits */
-#define DEV_NAME_MAX           64      /* The maximum length of a device name  */
+                                       /* The maximum length of a device name  */     
+                         
+#if (__FreeBSD_version < 500000 && defined _POSIX_PATH_MAX)
+#define DEV_NAME_MAX           _POSIX_PATH_MAX 
+#else
+#define DEV_NAME_MAX           64
+#endif
+
 #define DEV_MAX                        100     /* The maximum number of devices we'll 
deal with */
 #define INTERFACE_MAX          50      /* Maximum number of network interfaces we'll 
deal with */
 #define IO_ERROR               -2      /* Status code for I/O error rather than 
normal EOF */

Reply via email to