diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-09-07 10:50:27 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-09-07 10:50:27 +0300 |
commit | 2fac938d18976ed2d9c4059d698b6f463078b698 (patch) | |
tree | 39465f2927c0384cbb985ea223443e58c625b2c0 /gawkapi.h | |
parent | 3ef0dc78fb7d7113bcb360b721952c61236d678c (diff) | |
parent | 48c8fc07cc35539aa171116d0b77a6a47336b6fe (diff) | |
download | egawk-2fac938d18976ed2d9c4059d698b6f463078b698.tar.gz egawk-2fac938d18976ed2d9c4059d698b6f463078b698.tar.bz2 egawk-2fac938d18976ed2d9c4059d698b6f463078b698.zip |
Merge branch 'gawk-4.2-stable'
Diffstat (limited to 'gawkapi.h')
-rw-r--r-- | gawkapi.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -926,19 +926,19 @@ typedef struct gawk_api { #define emalloc(pointer, type, size, message) \ do { \ if ((pointer = (type) gawk_malloc(size)) == 0) \ - fatal(ext_id, "%s: malloc of %d bytes failed\n", message, size); \ + fatal(ext_id, "%s: malloc of %d bytes failed", message, size); \ } while(0) #define ezalloc(pointer, type, size, message) \ do { \ if ((pointer = (type) gawk_calloc(1, size)) == 0) \ - fatal(ext_id, "%s: calloc of %d bytes failed\n", message, size); \ + fatal(ext_id, "%s: calloc of %d bytes failed", message, size); \ } while(0) #define erealloc(pointer, type, size, message) \ do { \ if ((pointer = (type) gawk_realloc(pointer, size)) == 0) \ - fatal(ext_id, "%s: realloc of %d bytes failed\n", message, size); \ + fatal(ext_id, "%s: realloc of %d bytes failed", message, size); \ } while(0) /* Constructor functions */ @@ -1124,7 +1124,7 @@ int dl_load(const gawk_api_t *const api_p, awk_ext_id_t id) \ if (func_table[i].name == NULL) \ break; \ if (! add_ext_func(name_space, & func_table[i])) { \ - warning(ext_id, #extension ": could not add %s\n", \ + warning(ext_id, #extension ": could not add %s", \ func_table[i].name); \ errors++; \ } \ @@ -1132,7 +1132,7 @@ int dl_load(const gawk_api_t *const api_p, awk_ext_id_t id) \ \ if (init_func != NULL) { \ if (! init_func()) { \ - warning(ext_id, #extension ": initialization function failed\n"); \ + warning(ext_id, #extension ": initialization function failed"); \ errors++; \ } \ } \ |