aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-profile.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-27 17:59:27 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-27 17:59:27 +0000
commitba9fcb3f411a46085b82fc3352b858e04f66a19c (patch)
tree77a46e1f7768cf3184bdc64d914ebba8b4732f81 /elf/dl-profile.c
parentb76a75de25107ade8eb99f529d0cc24732a6da86 (diff)
downloadglibc-ba9fcb3f411a46085b82fc3352b858e04f66a19c.zip
glibc-ba9fcb3f411a46085b82fc3352b858e04f66a19c.tar.gz
glibc-ba9fcb3f411a46085b82fc3352b858e04f66a19c.tar.bz2
Update.
* elf/rtld.c: Little optimizations in handling _dl_lazy. * elf/cache.c (save_cache): Portability changes. * elf/dl-profile.c (_dl_start_profile): Likewise. * elf/sln.c: Cleanups. Remove arbitrary limits.
Diffstat (limited to 'elf/dl-profile.c')
-rw-r--r--elf/dl-profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-profile.c b/elf/dl-profile.c
index 9a7e726..031de25 100644
--- a/elf/dl-profile.c
+++ b/elf/dl-profile.c
@@ -261,7 +261,7 @@ _dl_start_profile (struct link_map *map, const char *output_dir)
#else
# define EXTRA_FLAGS
#endif
- fd = __open (filename, O_RDWR | O_CREAT EXTRA_FLAGS, 0666);
+ fd = __open (filename, O_RDWR | O_CREAT EXTRA_FLAGS, DEFFILEMODE);
if (fd == -1)
{
/* We cannot write the profiling data so don't do anything. */