diff options
author | Nick Clifton <nickc@redhat.com> | 2001-07-10 09:45:50 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-07-10 09:45:50 +0000 |
commit | f740e790c79faaedbed56f98844762432cc2d55b (patch) | |
tree | 2c00e02969021e1a83e7de195458cb7a9443bd6d /gas/listing.c | |
parent | c2a1a436ff678160c25ed50f07f3a5f122e044d2 (diff) | |
download | fsf-binutils-gdb-f740e790c79faaedbed56f98844762432cc2d55b.zip fsf-binutils-gdb-f740e790c79faaedbed56f98844762432cc2d55b.tar.gz fsf-binutils-gdb-f740e790c79faaedbed56f98844762432cc2d55b.tar.bz2 |
Use FOPEN_.. macros in calls to fopen().
Diffstat (limited to 'gas/listing.c')
-rw-r--r-- | gas/listing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/listing.c b/gas/listing.c index 8168ebe..2989153 100644 --- a/gas/listing.c +++ b/gas/listing.c @@ -485,7 +485,7 @@ buffer_line (file, line, size) } last_open_file_info = file; - last_open_file = fopen (file->filename, "r"); + last_open_file = fopen (file->filename, FOPEN_RT); if (last_open_file == NULL) { file->at_end = 1; @@ -1121,7 +1121,7 @@ listing_print (name) } else { - list_file = fopen (name, "w"); + list_file = fopen (name, FOPEN_WT); if (list_file != NULL) using_stdout = 0; else |