* nss_files/files-XXX.c (_nss_files_getXXent_r): Restore saved errno.

This commit is contained in:
Ulrich Drepper 2008-04-09 15:49:54 +00:00
parent a7925a24fe
commit 9aef35a569
3 changed files with 236 additions and 271 deletions

View File

@ -1,3 +1,7 @@
2008-04-09 Jakub Jelinek <jakub@redhat.com>
* nss_files/files-XXX.c (_nss_files_getXXent_r): Restore saved errno.
2008-04-09 Ulrich Drepper <drepper@redhat.com> 2008-04-09 Ulrich Drepper <drepper@redhat.com>
[BZ #5998] [BZ #5998]

View File

@ -259,7 +259,7 @@ CONCAT(_nss_files_get,ENTNAME_r) (struct STRUCTURE *result, char *buffer,
status = internal_setent (0); status = internal_setent (0);
__set_errno (errno); __set_errno (save_errno);
if (status == NSS_STATUS_SUCCESS && fgetpos (stream, &position) < 0) if (status == NSS_STATUS_SUCCESS && fgetpos (stream, &position) < 0)
{ {

File diff suppressed because it is too large Load Diff