This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: LIBC - add strptime()


On Mon, 2003-01-27 at 17:41, Jonathan Larmour wrote:
> Gary Thomas wrote:
> >      cdl_option CYGFUN_LIBC_TIME_POSIX {
> >          display       "POSIX time functions"
> >          default_value 1
> > +        requires      CYGFUN_LIBC_STRING_BSD_FUNCS
> > +        compile       asctime_r.cxx ctime_r.cxx gmtime_r.cxx \
> > +                      localtime_r.cxx strptime.cxx
> >          description   "
> >              Enabling this option allows the use of the
> >              following functions defined in POSIX 1003.1:
> > -            asctime_r(), ctime_r(), gmtime_r(), and
> > +            asctime_r(), ctime_r(), gmtime_r(), strptime(), and
> >              localtime_r()."
> >      }
> >  
> >      cdl_option CYGFUN_LIBC_TIME_SUS_EXTNS {
> >  	display       "Single UNIX extensions"
> > @@ -314,11 +318,14 @@ cdl_package CYGPKG_LIBC_TIME {
> >  
> >          cdl_option CYGPKG_LIBC_TIME_TESTS {
> >              display "C library time and date function tests"
> >              flavor  data
> >              no_define
> > -            calculated { "tests/asctime tests/clock tests/ctime tests/gmtime tests/localtime tests/mktime tests/strftime tests/time" }
> > +            calculated { 
> > +                "tests/asctime tests/clock tests/ctime tests/gmtime tests/localtime tests/mktime tests/strftime tests/time " 
> > +                . (CYGSEM_LIBC_TIME_POSIX_TIME_ROUTINES ? "tests/strptime" : "")
>                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Oops! Fixed.

Ah yes - I did at least try this. However, ecosconfig didn't complain, 
so I missed this one. 

Thanks.

-- 
------------------------------------------------------------
Gary Thomas                 |
MLB Associates              |  Consulting for the
+1 (970) 229-1963           |    Embedded world
http://www.mlbassoc.com/    |
email: <gary@mlbassoc.com>  |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]