diff options
author | Rickard Green <[email protected]> | 2015-11-30 18:50:31 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-11-30 18:50:31 +0100 |
commit | 6fe04e5b66ce020651b2c150d26b9af8488b7dcd (patch) | |
tree | bc696e3885d2bc11d5497358bed7b362f6dda6a4 /erts/emulator/beam/sys.h | |
parent | c24a4bf84029d06cc79f49634684cd6d2eeafb62 (diff) | |
download | otp-6fe04e5b66ce020651b2c150d26b9af8488b7dcd.tar.gz otp-6fe04e5b66ce020651b2c150d26b9af8488b7dcd.tar.bz2 otp-6fe04e5b66ce020651b2c150d26b9af8488b7dcd.zip |
Remove ERTS_PRINT_INVALID from erts_print()
ERTS_PRINT_INVALID prevented file descriptor 0 to be used which
could cause an empty crash dump.
Diffstat (limited to 'erts/emulator/beam/sys.h')
-rw-r--r-- | erts/emulator/beam/sys.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h index bb871b05ba..ec94e3a596 100644 --- a/erts/emulator/beam/sys.h +++ b/erts/emulator/beam/sys.h @@ -634,7 +634,6 @@ Uint erts_sys_misc_mem_sz(void); /* Io constants to erts_print and erts_putc */ #define ERTS_PRINT_STDERR (2) #define ERTS_PRINT_STDOUT (1) -#define ERTS_PRINT_INVALID (0) /* Don't want to use 0 since CBUF was 0 */ #define ERTS_PRINT_FILE (-1) #define ERTS_PRINT_SBUF (-2) #define ERTS_PRINT_SNBUF (-3) |