projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02cada2
)
gcov: create folders with 0777.
author
Martin Liska
<mliska@suse.cz>
Fri, 10 Jul 2020 08:56:34 +0000
(10:56 +0200)
committer
Martin Liska
<mliska@suse.cz>
Thu, 23 Jul 2020 10:20:40 +0000
(12:20 +0200)
libgcc/ChangeLog:
PR gcov-profile/96035
* libgcov-driver-system.c: Create gcov folders with 0777
so that it respects a system umask.
libgcc/libgcov-driver-system.c
patch
|
blob
|
history
diff --git
a/libgcc/libgcov-driver-system.c
b/libgcc/libgcov-driver-system.c
index 031f057e318bac4bffff701c31d3df8bcd4ea7fe..216992afa8abc41b932ae6ae322b129097bd866d 100644
(file)
--- 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