diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-02-04 14:59:12 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-02-04 14:59:12 -0200 |
| commit | 98fe770cab1d7f38ec1797b7dbb595727f2fdfa2 (patch) | |
| tree | 6c2bc47b7fdce4bcd48dcda0a14d28142808faaf | |
| parent | 43382ce5a22838af182807b451a12c474e21da78 (diff) | |
| download | lua-98fe770cab1d7f38ec1797b7dbb595727f2fdfa2.tar.gz lua-98fe770cab1d7f38ec1797b7dbb595727f2fdfa2.tar.bz2 lua-98fe770cab1d7f38ec1797b7dbb595727f2fdfa2.zip | |
small bug
| -rw-r--r-- | luamem.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -3,7 +3,7 @@ | |||
| 3 | ** TecCGraf - PUC-Rio | 3 | ** TecCGraf - PUC-Rio |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | char *rcs_mem = "$Id: mem.c,v 1.5 1995/02/06 19:34:03 roberto Exp roberto $"; | 6 | char *rcs_mem = "$Id: mem.c,v 1.6 1996/01/22 14:15:13 roberto Exp roberto $"; |
| 7 | 7 | ||
| 8 | #include <stdlib.h> | 8 | #include <stdlib.h> |
| 9 | #include <string.h> | 9 | #include <string.h> |
| @@ -20,7 +20,7 @@ static void mem_error (void) | |||
| 20 | lua_error("not enough memory"); | 20 | lua_error("not enough memory"); |
| 21 | else | 21 | else |
| 22 | { /* if there is no garbage then must exit */ | 22 | { /* if there is no garbage then must exit */ |
| 23 | printf(stderr, "lua error: memory overflow - unable to recover\n"); | 23 | fprintf(stderr, "lua error: memory overflow - unable to recover\n"); |
| 24 | exit(1); | 24 | exit(1); |
| 25 | } | 25 | } |
| 26 | } | 26 | } |
