aboutsummaryrefslogtreecommitdiff
path: root/gas/listing.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-07-10 09:45:50 +0000
committerNick Clifton <nickc@redhat.com>2001-07-10 09:45:50 +0000
commitf740e790c79faaedbed56f98844762432cc2d55b (patch)
tree2c00e02969021e1a83e7de195458cb7a9443bd6d /gas/listing.c
parentc2a1a436ff678160c25ed50f07f3a5f122e044d2 (diff)
downloadgdb-f740e790c79faaedbed56f98844762432cc2d55b.zip
gdb-f740e790c79faaedbed56f98844762432cc2d55b.tar.gz
gdb-f740e790c79faaedbed56f98844762432cc2d55b.tar.bz2
Use FOPEN_.. macros in calls to fopen().
Diffstat (limited to 'gas/listing.c')
-rw-r--r--gas/listing.c4
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