mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Use __getdents instead of __getdirentries in sparc __get_clockfreq_via_proc_openprom.
This commit is contained in:
10
ChangeLog
10
ChangeLog
@ -1,3 +1,9 @@
|
|||||||
|
2012-10-25 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
|
||||||
|
(__get_clockfreq_via_proc_openprom): Use __getdents instead of
|
||||||
|
__getdirentries.
|
||||||
|
|
||||||
2012-10-25 Joseph Myers <joseph@codesourcery.com>
|
2012-10-25 Joseph Myers <joseph@codesourcery.com>
|
||||||
Jim Blandy <jimb@codesourcery.com>
|
Jim Blandy <jimb@codesourcery.com>
|
||||||
|
|
||||||
@ -981,7 +987,7 @@
|
|||||||
(__SWBLK_T_TYPE): Likewise.
|
(__SWBLK_T_TYPE): Likewise.
|
||||||
|
|
||||||
2012-10-01 Patsy Franklin <pfrankli@redhat.com>
|
2012-10-01 Patsy Franklin <pfrankli@redhat.com>
|
||||||
Honza Horak <hhorak@redhat.com>
|
Honza Horak <hhorak@redhat.com>
|
||||||
|
|
||||||
* nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
|
* nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
|
||||||
(xdr_mapname): Use YPMAXMAP as maxsize.
|
(xdr_mapname): Use YPMAXMAP as maxsize.
|
||||||
@ -1498,7 +1504,7 @@
|
|||||||
|
|
||||||
2012-12-09 Allan McRae <allan@archlinux.org>
|
2012-12-09 Allan McRae <allan@archlinux.org>
|
||||||
|
|
||||||
* sysdeps/i386/fpu/libm-test-ulps: Update
|
* sysdeps/i386/fpu/libm-test-ulps: Update
|
||||||
|
|
||||||
2012-09-11 Joseph Myers <joseph@codesourcery.com>
|
2012-09-11 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
@ -91,11 +91,9 @@ __get_clockfreq_via_proc_openprom (void)
|
|||||||
{
|
{
|
||||||
unsigned long int buf[4096 / sizeof (unsigned long int)];
|
unsigned long int buf[4096 / sizeof (unsigned long int)];
|
||||||
struct dirent *dirp = (struct dirent *) buf;
|
struct dirent *dirp = (struct dirent *) buf;
|
||||||
off_t dbase = (off_t) 0;
|
|
||||||
ssize_t len;
|
ssize_t len;
|
||||||
|
|
||||||
while ((len = __getdirentries (obp_fd, (char *) dirp,
|
while ((len = __getdents (obp_fd, (char *) dirp, sizeof (buf))) > 0)
|
||||||
sizeof (buf), &dbase)) > 0)
|
|
||||||
{
|
{
|
||||||
struct dirent *this_dirp = dirp;
|
struct dirent *this_dirp = dirp;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user