diff options
Diffstat (limited to 'time/tzfile.c')
-rw-r--r-- | time/tzfile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/time/tzfile.c b/time/tzfile.c index 2d1775b..e2d9f50 100644 --- a/time/tzfile.c +++ b/time/tzfile.c @@ -148,7 +148,9 @@ __tzfile_read (const char *file, size_t extra, char **extrap) file = new; } - f = fopen (file, "r"); + /* Note the file is opened with cancellation in the I/O functions + disabled. */ + f = fopen (file, "rc"); if (f == NULL) return; |