diff options
Diffstat (limited to 'libf2c/libI77/open.c')
-rw-r--r-- | libf2c/libI77/open.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libf2c/libI77/open.c b/libf2c/libI77/open.c index 790f5d67098..ac1e00ec6de 100644 --- a/libf2c/libI77/open.c +++ b/libf2c/libI77/open.c @@ -148,7 +148,10 @@ f_open (olist * a) b->url = (int) a->orl; b->ublnk = a->oblnk && (*a->oblnk == 'z' || *a->oblnk == 'Z'); if (a->ofm == 0) - b->ufmt = 1; + if ((a->oacc) && (*a->oacc == 'D' || *a->oacc == 'd')) + b->ufmt = 0; + else + b->ufmt = 1; else if (*a->ofm == 'f' || *a->ofm == 'F') b->ufmt = 1; else |