~ubuntu-branches/ubuntu/maverick/mutt/maverick

« back to all changes in this revision

Viewing changes to debian/patches/upstream/path_max

  • Committer: Package Import Robot
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2010-06-22 17:48:54 UTC
  • mfrom: (2.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20100622174854-grpayfk2rgoyl2qk
Tags: 1.5.20-9ubuntu1
* Merge with Debian (LP: #588736). Remaining changes:
  + debian/control, debian/patches/debian-specific/build_doc_adjustments.diff:
    Use w3m (main) instead of elinks (universe) for generating documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Fixed in hg around 5354:d4ea7f571f10; remove as soon as there's no PATH_MAX in the code anymore.
 
2
 
 
3
--- a/mutt.h
 
4
+++ b/mutt.h
 
5
@@ -52,6 +52,11 @@
 
6
 #include <limits.h>
 
7
 #endif
 
8
 
 
9
+/* PATH_MAX is undefined on the hurd */
 
10
+#ifndef PATH_MAX
 
11
+#define PATH_MAX _POSIX_PATH_MAX
 
12
+#endif
 
13
+
 
14
 #include <pwd.h>
 
15
 #include <grp.h>
 
16