mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
change ERR macro back to return instead of abort
This commit is contained in:
parent
7abc6347bf
commit
590fd8e08d
@ -36,7 +36,7 @@ fflush(stdout); /* Make sure our stdout is synced with stderr. */ \
|
||||
err++; \
|
||||
fprintf(stderr, "Sorry! Unexpected result, %s, line: %d\n", \
|
||||
__FILE__, __LINE__); \
|
||||
abort(); \
|
||||
return 2; \
|
||||
} while (0)
|
||||
|
||||
/* This macro prints an error message with line number and name of
|
||||
|
Loading…
Reference in New Issue
Block a user