1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
* 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.
This commit is contained in:
Ulrich Drepper
2001-02-27 17:59:27 +00:00
parent b76a75de25
commit ba9fcb3f41
5 changed files with 85 additions and 80 deletions

View File

@ -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. */