]> asedeno.scripts.mit.edu Git - 1ts-debian.git/commitdiff
fix last use of MAXPATHLEN, make the hurd people happy
authorkcr <kcr@cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f>
Sun, 6 Mar 2011 17:59:45 +0000 (17:59 +0000)
committerkcr <kcr@cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f>
Sun, 6 Mar 2011 17:59:45 +0000 (17:59 +0000)
git-svn-id: svn://svn.1ts.org/debian/trunk@510 cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f

zephyr/debian/changelog
zephyr/lib/ZLocations.c

index 5a6c9bcd4f81d2a8e017539b60dc25b07528188e..1850721a8a6ab359d6e7dfb7149cc1d35768d5de 100644 (file)
@@ -2,8 +2,9 @@ zephyr (3.0.1-1) unreleased; urgency=low
 
   * New upstream release.
   * Update Standards-Version.
+  * Define MAXPATHLEN in lib/ZLocations.c if it isn't. Closes: #508522
 
- -- Karl Ramm <kcr@debian.org>  Sun, 06 Mar 2011 12:52:10 -0500
+ -- Karl Ramm <kcr@debian.org>  Sun, 06 Mar 2011 12:53:24 -0500
 
 zephyr (3.0-1) unstable; urgency=low
 
index 3970a0ca30fe74c4335ebfb384efcd92ddb9980b..360c6b4370936b70a971f6b4a7096c2bf5ac86e4 100644 (file)
@@ -20,6 +20,10 @@ static const char rcsid_ZLocations_c[] =
 
 #include <pwd.h>
 
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 1024
+#endif
+
 static char host[NS_MAXDNAME], mytty[MAXPATHLEN];
 static int location_info_set = 0;