summaryrefslogtreecommitdiff
path: root/usr/src/cmd/csh/sh.h
diff options
context:
space:
mode:
authorchin <none@none>2006-06-12 17:10:41 -0700
committerchin <none@none>2006-06-12 17:10:41 -0700
commit70a587dd392ff1dbaa2875c6c33921f08ea85273 (patch)
treef429518c182957284a06d5becd4c94787b66124d /usr/src/cmd/csh/sh.h
parenta812d87023f09d32794681c7504221439c843e45 (diff)
downloadillumos-joyent-70a587dd392ff1dbaa2875c6c33921f08ea85273.tar.gz
1128254 *csh* csh uses gethostname with MAXHOSTNAME=64 instead of 256
1139642 *csh* csh time does not display fractions of a second 1219707 *csh* csh has a limitation on the size of a substitution string 4499198 *csh* csh accepts bad arguments 6416734 *csh* can't use a variable larger than 19 characters in a foreach statement Contributed by Yann Poupet <opensolaris@yannouch.net>
Diffstat (limited to 'usr/src/cmd/csh/sh.h')
-rw-r--r--usr/src/cmd/csh/sh.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/src/cmd/csh/sh.h b/usr/src/cmd/csh/sh.h
index a8f4ec9cb1..6aaf4a716f 100644
--- a/usr/src/cmd/csh/sh.h
+++ b/usr/src/cmd/csh/sh.h
@@ -28,14 +28,11 @@
#include <signal.h> /* std sysV signal.h */
#include <setjmp.h>
#include <sys/resource.h>
+#include <netdb.h> /* for MAXHOSTNAMELEN */
#include "signal.h" /* mainly BSD related signal.h */
#include "sh.local.h"
#include "sh.char.h"
-/*
- * MAXHOSTNAMELEN is defined in param.h under SunOS
- */
-#define MAXHOSTNAMELEN 64
#ifdef MBCHAR
#if !defined(MB_LEN_MAX) || !defined(MB_CUR_MAX)