mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
PR binutils/6449
* objdump.c (slurp_file): Open the file in binary mode.
* ar.c: Remove conditional definition of O_BINARY.
* bin2.c: Likewise.
* rename.c: Likewise.
* strings.c: Likewise.
* sysdep.h: Add conditional definition of O_BINARY.
This commit is contained in:
@@ -32,12 +32,6 @@
|
||||
#endif /* HAVE_UTIMES */
|
||||
#endif /* ! HAVE_GOOD_UTIME_H */
|
||||
|
||||
/* We need to open the file in binary modes on system where that makes
|
||||
a difference. */
|
||||
#ifndef O_BINARY
|
||||
#define O_BINARY 0
|
||||
#endif
|
||||
|
||||
#if ! defined (_WIN32) || defined (__CYGWIN32__)
|
||||
static int simple_copy (const char *, const char *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user