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
..
bsd 2008-07-01 Samuel Thibault <samuel.thibault@ens-lyon.org> 2008-07-02 09:53:29 +00:00
common
i386
inet
mman
powerpc
sh
sparc
sysv * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there 2009-04-15 15:57:47 +00:00
x86_64
_exit.S
alarm.c
clock_gettime.c * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to 2007-07-28 20:36:21 +00:00
clock_nanosleep.c
clock_settime.c * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, 2007-08-14 03:21:23 +00:00
closedir.c * sysdeps/unix/closedir.c: Outside libc don't use locking. 2007-02-19 05:44:33 +00:00
confstr.h
dirfd.c
dirstream.h * sysdeps/unix/opendir.c (__alloc_dir): Don't initialize ->data. 2007-08-03 03:35:12 +00:00
errnos-tmpl.c
errnos.awk
execve.S
fdopendir.c
fork.S
fxstat.c
get_child_max.c
getdents.c
getegid.S
geteuid.S
getlogin_r.c
getlogin.c
getpagesize.c
getppid.S
grantpt.c
Implies
ioctls-tmpl.c
ioctls.awk
make-syscalls.sh * Makeconfig (sysd-rules-targets): New variable. 2008-02-01 00:01:25 +00:00
Makefile * Makeconfig (sysd-rules-targets): New variable. 2008-02-01 00:01:25 +00:00
mk-local_lim.c
mkdir.c
mkfifo.c
mkfifoat.c
nice.c * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use 2006-08-15 05:27:55 +00:00
opendir.c * sysdeps/unix/opendir.c (__alloc_dir): We have a lot more memory 2009-02-05 18:20:59 +00:00
readdir_r.c
readdir.c * sysdeps/unix/closedir.c: Outside libc don't use locking. 2007-02-19 05:44:33 +00:00
rewinddir.c
rmdir.c
s-proto-bp.S
s-proto-cancel.S
s-proto.S
seekdir.c
setxid.h
siglist.c
snarf-ioctls
sockatmark.c
start.c
stime.c
Subdirs
syscall.S
syscalls.list * Versions.def (glibc): Add GLIBC_2.9. 2008-07-25 04:51:56 +00:00
sysdep.h
system.c
telldir.c
time.c
utime.c
xmknod.c
xstat.c