Mercurial > emacs
diff lib-src/yow.c @ 90185:5b029ff3b08d
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-55
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 320-323)
- Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 26 May 2005 05:42:19 +0000 |
parents | 4c90ffeb71c5 00adf45090ee |
children | 2ecafc6d5db7 |
line wrap: on
line diff
--- a/lib-src/yow.c Sun May 22 08:23:26 2005 +0000 +++ b/lib-src/yow.c Thu May 26 05:42:19 2005 +0000 @@ -104,7 +104,7 @@ while ((c = getc(fp)) != SEP) { if (c == EOF) { fprintf(stderr, "yow: file contains no separators\n"); - exit(2); + exit(EXIT_FAILURE); } } header_len = ftell(fp); @@ -157,7 +157,7 @@ buf = (char *) malloc(bufsize); if (buf == (char *)0) { fprintf(stderr, "yow: virtual memory exhausted\n"); - exit (3); + exit (EXIT_FAILURE); } buf[i++] = c; @@ -170,7 +170,7 @@ buf = (char *) realloc(buf, bufsize); if (buf == (char *)0) { fprintf(stderr, "yow: virtual memory exhausted\n"); - exit (3); + exit (EXIT_FAILURE); } } }