diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-04-15 15:57:47 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-04-15 15:57:47 +0000 |
commit | 6a3d03ff58742430a252beac4a1917506512e319 (patch) | |
tree | 0ec8e3e51b4f6be9ee19ee37e4908731518474fc /sysdeps/unix/sysv/linux/fallocate.c | |
parent | ae650a41ef732a40c7897f4ae99d967b859c05d6 (diff) | |
download | glibc-6a3d03ff58742430a252beac4a1917506512e319.tar.gz glibc-6a3d03ff58742430a252beac4a1917506512e319.tar.xz glibc-6a3d03ff58742430a252beac4a1917506512e319.zip |
* sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there cvs/fedora-glibc-20090415T1619
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/fallocate.c')
0 files changed, 0 insertions, 0 deletions