diff options
author | Roland McGrath <roland@gnu.org> | 1995-10-11 05:53:53 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-10-11 05:53:53 +0000 |
commit | db65048bb3c73fc0ec408df62c6f78fa39d62d85 (patch) | |
tree | bd924c431be839070bf9c83bbfe75e889a3ce57e /sysdeps | |
parent | 8e3cc80f6d4f69ce003c82d3561ac324692792ad (diff) | |
download | glibc-db65048bb3c73fc0ec408df62c6f78fa39d62d85.tar.gz glibc-db65048bb3c73fc0ec408df62c6f78fa39d62d85.tar.xz glibc-db65048bb3c73fc0ec408df62c6f78fa39d62d85.zip |
Wed Oct 11 00:00:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makeconfig (config-LDFLAGS): Add missing slash. * sysdeps/mach/hurd/profil.c (fork_profil): Only call update_waiter if profiling was enabled in the parent. * csu/initfini.c: Don't pass -f flag to cp.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/profil.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/profil.c b/sysdeps/mach/hurd/profil.c index 4032219a9e..43456ec628 100644 --- a/sysdeps/mach/hurd/profil.c +++ b/sysdeps/mach/hurd/profil.c @@ -158,7 +158,10 @@ fork_profil (void) ss = sample_scale; sample_scale = 0; - err = update_waiter (sb, n * sizeof *sb, o, ss); - assert_perror (err); + if (ss != 0) + { + err = update_waiter (sb, n * sizeof *sb, o, ss); + assert_perror (err); + } } text_set_element (_hurd_fork_child_hook, fork_profil); |