svn commit: branches/uClibc_0_9_29/libc/misc/dirent
vapier at uclibc.org
vapier at uclibc.org
Sat Jan 5 09:57:30 PST 2008
Author: vapier
Date: 2008-01-05 09:57:30 -0800 (Sat, 05 Jan 2008)
New Revision: 20792
Log:
Merge r20628 by carmelo from trunk:
Removed pointless initialization to 0 of DIR fields
after having added memset.
Thanks to Peter Mazinger for pointing this out.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
Modified:
branches/uClibc_0_9_29/libc/misc/dirent/opendir.c
Changeset:
Modified: branches/uClibc_0_9_29/libc/misc/dirent/opendir.c
===================================================================
--- branches/uClibc_0_9_29/libc/misc/dirent/opendir.c 2008-01-05 17:56:48 UTC (rev 20791)
+++ branches/uClibc_0_9_29/libc/misc/dirent/opendir.c 2008-01-05 17:57:30 UTC (rev 20792)
@@ -65,7 +65,6 @@
goto nomem_close_and_ret;
ptr->dd_fd = fd;
- ptr->dd_nextloc = ptr->dd_size = ptr->dd_nextoff = 0;
ptr->dd_max = statbuf.st_blksize;
if (ptr->dd_max < 512)
More information about the uClibc-cvs
mailing list