[uClibc 0004314]: glob() fails to reset errno
bugs at busybox.net
bugs at busybox.net
Fri Aug 8 10:47:38 UTC 2008
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=4314
======================================================================
Reported By: mpfj
Assigned To: uClibc
======================================================================
Project: uClibc
Issue ID: 4314
Category: Architecture Specific
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 07-24-2008 03:41 PDT
Last Modified: 08-08-2008 03:47 PDT
======================================================================
Summary: glob() fails to reset errno
Description:
My setup is as follows:-
Atmel AVR32 NGW100 dev kit
buildroot (using uclibc 0.9.29)
The problem:-
The glob() function appears to get confused by any existing errno value,
rather than resetting it back to 0 and generating its own error value.
The attached code demonstrates the problem.
If the line "errno = 0;" is removed, then glob() appears to fail.
In fact, if errno is set to anything other than 0, then glob() returns
with error 2.
======================================================================
----------------------------------------------------------------------
mpfj - 08-08-08 03:47
----------------------------------------------------------------------
Any update on this ?
Issue History
Date Modified Username Field Change
======================================================================
07-24-08 03:41 mpfj New Issue
07-24-08 03:41 mpfj Status new => assigned
07-24-08 03:41 mpfj Assigned To => uClibc
07-24-08 03:41 mpfj File Added: globtest.c
08-08-08 03:47 mpfj Note Added: 0010344
======================================================================
More information about the uClibc-cvs
mailing list