File: 03_maxpathlen.diff

package info (click to toggle)
csh 20240808-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,376 kB
  • sloc: ansic: 11,699; makefile: 60; sh: 16
file content (19 lines) | stat: -rw-r--r-- 473 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Define MAXPATHLEN if missing (e.g. on the Hurd)
Bug-Debian: http://bugs.debian.org/54993
Forwarded: not-needed
Author: Matej Vela <vela@debian.org>
Last-Update: 2011-05-13

--- a/csh.h
+++ b/csh.h
@@ -39,6 +39,10 @@
  *	MAILINTVL	How often to mailcheck; more often is more expensive
  */
 
+#ifndef MAXPATHLEN
+#define MAXPATHLEN BUFSIZ
+#endif
+
 #define FORKSLEEP	10	/* delay loop on non-interactive fork failure */
 #define	MAILINTVL	600	/* 10 minutes */