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 | def775f64973fa8a403623c8be8f040dd39f2d73 (patch) | |
tree | ba02d918b1e7aaeedb96479cd40a5f8f69348a27 /gas/listing.c | |
parent | e18ef6ade5203d489dfdc859f60e3f2afa271df4 (diff) | |
download | binutils-redhat-def775f64973fa8a403623c8be8f040dd39f2d73.tar.gz |
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 8168ebe6b9..2989153a3d 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 |