about summary refs log tree commit diff
path: root/Src/init.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2000-07-13 17:06:19 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2000-07-13 17:06:19 +0000
commitd13f6631d7e728dad2b3a0bc0521f56fc3f2425b (patch)
treedc4fac9ee9bdb28b717f9e3f7c1cdc24c981f03f /Src/init.c
parent0982f4ee6435d3b5ad6bcdf131405e90211dc5bf (diff)
downloadzsh-d13f6631d7e728dad2b3a0bc0521f56fc3f2425b.tar.gz
zsh-d13f6631d7e728dad2b3a0bc0521f56fc3f2425b.tar.xz
zsh-d13f6631d7e728dad2b3a0bc0521f56fc3f2425b.zip
12247: internal hostnam variable removed in favour of $HOST
Diffstat (limited to 'Src/init.c')
-rw-r--r--Src/init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Src/init.c b/Src/init.c
index 5f0c98ca0..ddb6a4d65 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -595,9 +595,6 @@ setupvals(void)
     gettimeofday(&shtimer, &dummy_tz);	/* init $SECONDS */
     srand((unsigned int)(shtimer.tv_sec + shtimer.tv_usec)); /* seed $RANDOM */
 
-    hostnam     = (char *) zalloc(256);
-    gethostname(hostnam, 256);
-
     /* Set default path */
     path    = (char **) zalloc(sizeof(*path) * 5);
     path[0] = ztrdup("/bin");