File tree 3 files changed +13
-2
lines changed 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 4
4
#include "utils.h"
5
5
6
6
#ifndef PACKAGE_VERSION
7
- #define PACKAGE_VERSION "0.7.10-r809 -dirty"
7
+ #define PACKAGE_VERSION "0.7.10-r810 -dirty"
8
8
#endif
9
9
10
10
int bwa_fa2pac (int argc , char * argv []);
Original file line number Diff line number Diff line change @@ -219,6 +219,17 @@ int err_fputs(const char *s, FILE *stream)
219
219
return ret ;
220
220
}
221
221
222
+ int err_puts (const char * s )
223
+ {
224
+ int ret = puts (s );
225
+ if (EOF == ret )
226
+ {
227
+ _err_fatal_simple ("puts" , strerror (errno ));
228
+ }
229
+
230
+ return ret ;
231
+ }
232
+
222
233
int err_fflush (FILE * stream )
223
234
{
224
235
int ret = fflush (stream );
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ extern "C" {
80
80
int err_fputc (int c , FILE * stream );
81
81
#define err_putchar (C ) err_fputc((C), stdout)
82
82
int err_fputs (const char * s , FILE * stream );
83
- #define err_puts (S ) err_fputs((S), stdout)
83
+ int err_puts (const char * s );
84
84
int err_fflush (FILE * stream );
85
85
int err_fclose (FILE * stream );
86
86
int err_gzclose (gzFile file );
You can’t perform that action at this time.
0 commit comments