1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-30 17:41:16 +03:00
Files
glibc/sysdeps/unix
Ulrich Drepper 6a3d03ff58 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there
are always at least 4 bytes in the returned line.

2009-04-15  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Check
	__libc_use_alloca (8192), if the stack is too small use 512 bytes
	instead of 8K.  Stop searching in /proc/stat after hitting first
	line not starting with cpu.
	(next_line): Truncate too long
	lines at buffer size * 3/4 instead of pretending there were line
	breaks inside of large lines.
2009-04-15 15:57:47 +00:00
..
2004-12-29 09:17:26 +00:00
2006-02-12 21:41:44 +00:00
2006-01-08 09:39:29 +00:00
2004-11-12 01:27:04 +00:00
2005-09-17 23:37:14 +00:00
2003-08-17 00:37:19 +00:00