diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2000-07-13 17:06:19 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2000-07-13 17:06:19 +0000 |
commit | d13f6631d7e728dad2b3a0bc0521f56fc3f2425b (patch) | |
tree | dc4fac9ee9bdb28b717f9e3f7c1cdc24c981f03f /Src/init.c | |
parent | 0982f4ee6435d3b5ad6bcdf131405e90211dc5bf (diff) | |
download | zsh-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.c | 3 |
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"); |