[Bug 6518] New: getdate_r not supported?

bugzilla at busybox.net bugzilla at busybox.net
Fri Sep 27 09:34:04 UTC 2013


https://bugs.busybox.net/show_bug.cgi?id=6518

           Summary: getdate_r not supported?
           Product: uClibc
           Version: 0.9.33.2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
        AssignedTo: unassigned at uclibc.org
        ReportedBy: dark_footix at yahoo.fr
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0


There is a prototype in time.h

# ifdef __USE_GNU
/* Since `getdate' is not reentrant because of the use of `getdate_err'
   and the static buffer to return the result in, we provide a thread-safe
   variant.  The functionality is the same.  The result is returned in
   the buffer pointed to by RESBUFP and in case of an error the return
   value is != 0 with the same values as given above for `getdate_err'.

   This function is not part of POSIX and therefore no official
   cancellation point.  But due to similarity with an POSIX interface
   or due to the implementation it is a cancellation point and
   therefore not marked with __THROW.  */
extern int getdate_r (__const char *__restrict __string,
              struct tm *__restrict __resbufp);
# endif
#endif /* __UCLIBC_MJN3_ONLY__ */

But this function is not enable and not seem developed ?
Is there an addon for this feature? I download also the latest uclibc from git,
same issue.

Regards,
Frédéric

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list