summary refs log tree commit diff
path: root/gmon
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1996-08-28 00:26:07 +0000
committerUlrich Drepper <drepper@redhat.com>1996-08-28 00:26:07 +0000
commitb236e99d90748f6caf77994e96dc5aaa48ce2993 (patch)
tree8cbcae49b6ae6a59e7e59784b3c7b750b76a5f37 /gmon
parent0b72c47ecf998030603fa0140225b9a5fe36473c (diff)
downloadglibc-b236e99d90748f6caf77994e96dc5aaa48ce2993.tar.gz
glibc-b236e99d90748f6caf77994e96dc5aaa48ce2993.tar.xz
glibc-b236e99d90748f6caf77994e96dc5aaa48ce2993.zip
Tue Aug 27 17:45:21 1996  Ulrich Drepper  <drepper@cygnus.com>

	* Makerules: Add some test for correct version of GNU Make.

	* io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
	* sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.

	* sysdeps/generic/dl-sysdep.c: Initialize break address to
	avoid overwriting last page (OK, Roland).

Tue Aug 27 16:20:37 1996  Ulrich Drepper  <drepper@cygnus.com>

	* resolv/resolv.h: Update from BIND-4.9.5-T3A.
	* resolv/arpa/nameser.h: Likewise.
	* resolv/res_init.c: Likewise.
	* resolv/res_debug.c: Likewise.
	* resolv/res_mkquery.c: Likewise.

Tue Aug 27 15:47:04 1996  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-error.c (catch): Define errstring element not as const.
	(_dl_catch_error): ERRSTRING argument is not const pointer.
	Initialize *ERRSTRING and *OBJNAME separately.
	* elf/link.h: Change prototype for `_dl_catch_error'.

	* elf/dl-load.c (_dl_map_object): Use separate variable for
	copied NAME to avoid `const' warning.

	* elf/dlerror.c: Make `last_errstring' variable not const pointer.

	* elf/rtld.c: Implement reading of /etc/ld.so.preload.  This
	provides preloading even for SUID binaries.
	Add some more casts to avoid signed<->unsigned warnings.

Tue Aug 27 15:40:28 1996  NIIBE Yutaka  <gniibe@mri.co.jp>

	* posix/sys/types.h: Define loff_t.
	* sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.

Mon Aug 26 16:31:33 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

	* sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
	being null; in that case don't touch the timer at all (but do
	return something in OLD if necessary).

Mon Aug 26 13:35:16 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

	* sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
 	variable.
	* sysdeps/i386/init-first.c: Likewise.
	* sysdeps/stub/init-first.c: Likewise.
Diffstat (limited to 'gmon')
-rw-r--r--gmon/gmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gmon/gmon.c b/gmon/gmon.c
index 8e47c52681..a356c4cc47 100644
--- a/gmon/gmon.c
+++ b/gmon/gmon.c
@@ -55,7 +55,7 @@ struct gmonparam _gmonparam = { GMON_PROF_OFF };
 static int	s_scale;
 #define		SCALE_1_TO_1	0x10000L
 
-#define ERR(s) write(2, s, sizeof(s))
+#define ERR(s) write(2, s, sizeof(s) - 1)
 
 /*
  * Discover the tick frequency of the machine if something goes wrong,
@@ -65,7 +65,7 @@ static int
 DEFUN_VOID(hertz)
 {
   struct itimerval tim;
-    
+
   tim.it_interval.tv_sec = 0;
   tim.it_interval.tv_usec = 1;
   tim.it_value.tv_sec = 0;