diff options
author | Martin Liska <mliska@suse.cz> | 2020-07-10 10:56:34 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-07-23 12:20:40 +0200 |
commit | 24c35a5ef3f88cf3c25c8bf17f9ff706e4286f53 (patch) | |
tree | 3ff98192e72ca71bfe3721411ebcb4150d1734bc /libgcc/libgcov-driver-system.c | |
parent | 02cada26e4783b4bfeaf6512a6c22df24d7a25fc (diff) | |
download | gcc-24c35a5ef3f88cf3c25c8bf17f9ff706e4286f53.tar.gz |
gcov: create folders with 0777.
libgcc/ChangeLog:
PR gcov-profile/96035
* libgcov-driver-system.c: Create gcov folders with 0777
so that it respects a system umask.
Diffstat (limited to 'libgcc/libgcov-driver-system.c')
-rw-r--r-- | libgcc/libgcov-driver-system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/libgcov-driver-system.c b/libgcc/libgcov-driver-system.c index 031f057e318..216992afa8a 100644 --- a/libgcc/libgcov-driver-system.c +++ b/libgcc/libgcov-driver-system.c @@ -115,7 +115,7 @@ create_file_directory (char *filename) /* Try to make directory if it doesn't already exist. */ if (access (filename, F_OK) == -1 #ifdef TARGET_POSIX_IO - && mkdir (filename, 0755) == -1 + && mkdir (filename, 0777) == -1 #else #ifdef mkdir #undef mkdir |