mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
* sysdeps/unix/opendir.c (__alloc_dir): Correct order of DIR
elements during initialization.
This commit is contained in:
parent
220ae3ef97
commit
c8ccd8e3a2
@ -1,5 +1,8 @@
|
||||
2007-08-04 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/opendir.c (__alloc_dir): Correct order of DIR
|
||||
elements during initialization.
|
||||
|
||||
* po/pl.po: Updated translation from translation team.
|
||||
* po/tr.po: Likewise.
|
||||
|
||||
|
@ -194,11 +194,11 @@ __alloc_dir (int fd, bool close_fd, const struct stat64 *statp)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
dirp->allocation = allocation;
|
||||
dirp->fd = fd;
|
||||
#ifndef NOT_IN_libc
|
||||
__libc_lock_init (dirp->lock);
|
||||
#endif
|
||||
dirp->fd = fd;
|
||||
dirp->allocation = allocation;
|
||||
dirp->size = 0;
|
||||
dirp->offset = 0;
|
||||
dirp->filepos = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user