diff options
author | Hartmut Becker <becker.ismaning@freenet.de> | 2014-08-24 22:06:15 +0200 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2014-09-07 17:41:59 -0400 |
commit | 8de07f3e4a67fa1c9bd5293d183090ad08b7be6f (patch) | |
tree | 2214e65558248378dad06d192b14bbd051e38367 /hash.c | |
parent | f970315766906ed789656d87720328b5513e5942 (diff) | |
download | make-8de07f3e4a67fa1c9bd5293d183090ad08b7be6f.tar.gz |
Enhance/fix VMS exit code handling.
* commands.c, function.c, hash.c, job.c, main.c, output.c:
use MAKE exit codes.
* makeint.h: encode make exit codes so that they are VMS compatible.
* job.c: check child exit code for VMS style exit codes.
* vmsjobs.c: save and return VMS style exit code.
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ hash_init (struct hash_table *ht, unsigned long size, { fprintf (stderr, _("can't allocate %lu bytes for hash table: memory exhausted"), ht->ht_size * (unsigned long) sizeof (struct token *)); - exit (1); + exit (MAKE_TROUBLE); } ht->ht_capacity = ht->ht_size - (ht->ht_size / 16); /* 93.75% loading factor */ |