diff options
author | bapt <bapt@FreeBSD.org> | 2012-04-15 13:25:51 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-04-15 13:25:51 +0000 |
commit | 0b5952ee32209436c9c309856f0db1a4c196b7ff (patch) | |
tree | 03aa7c42321406348d7f5e06fd657fdf431b826c /usr.bin/m4/main.c | |
parent | 179e79fd203fd1e5098387dc459f5d26f36b9f7a (diff) | |
download | FreeBSD-src-0b5952ee32209436c9c309856f0db1a4c196b7ff.zip FreeBSD-src-0b5952ee32209436c9c309856f0db1a4c196b7ff.tar.gz |
Improve m4 compatibility with GNU m4 extension ** (exponent)
Submitted by: Marc Espie (espie@OpenBSD.org)
Approved by: des@ (mentor)
Diffstat (limited to 'usr.bin/m4/main.c')
-rw-r--r-- | usr.bin/m4/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c index 28d075a..6b3cad4 100644 --- a/usr.bin/m4/main.c +++ b/usr.bin/m4/main.c @@ -164,6 +164,8 @@ static void enlarge_stack(void); int main(int, char *[]); +int exit_code = 0; + int main(int argc, char *argv[]) { @@ -282,7 +284,7 @@ main(int argc, char *argv[]) (void) fclose(outfile[0]); } - return 0; + return exit_code; } /* |