[Glibc-bsd-commits] r3673 - trunk/kfreebsd-8/debian/patches

Robert Millan rmh at alioth.debian.org
Wed Aug 3 12:50:44 UTC 2011


Author: rmh
Date: 2011-08-03 12:50:44 +0000 (Wed, 03 Aug 2011)
New Revision: 3673

Modified:
   trunk/kfreebsd-8/debian/patches/002_maxpathlen.diff
Log:
PATH_MAX in aicasm

Modified: trunk/kfreebsd-8/debian/patches/002_maxpathlen.diff
===================================================================
--- trunk/kfreebsd-8/debian/patches/002_maxpathlen.diff	2011-08-03 12:48:55 UTC (rev 3672)
+++ trunk/kfreebsd-8/debian/patches/002_maxpathlen.diff	2011-08-03 12:50:44 UTC (rev 3673)
@@ -37,3 +37,16 @@
  static	struct users {
  	int	u_default;
  	int	u_min;
+--- a/sys/dev/aic7xxx/aicasm/aicasm_scan.l
++++ b/sys/dev/aic7xxx/aicasm/aicasm_scan.l
+@@ -69,6 +69,10 @@
+ static int  quote_count;
+ static char msgbuf[255];
+ 
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ extern int yylex(void);
+ extern int mmlex(void);
+ extern int mmparse(void);




More information about the Glibc-bsd-commits mailing list