From d13f6631d7e728dad2b3a0bc0521f56fc3f2425b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 13 Jul 2000 17:06:19 +0000 Subject: 12247: internal hostnam variable removed in favour of $HOST --- Src/init.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'Src/init.c') 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"); -- cgit 1.4.1