Re: [hwloc-devel] Fwd: [hwloc-svn] svn:hwloc r2868

2010-12-04 Thread Samuel Thibault
Jiri Hladky, le Sat 04 Dec 2010 23:16:36 +0100, a écrit :
> it's a valid objection. I use only linux with pretty recent version of kernel
> and C libraries so I didn't know that strftime has portability issues.

Well, I meant that strftime has appeared "only" in susv release 3, i.e.
something like before 1994 :)

The thing is some systems (e.g. mingw & such) may still not have it.

> On the hand, autoconf should be able to detect it, right?

That's what I meant in my mail and commited the other day, yes.

Samuel


Re: [hwloc-devel] Fwd: [hwloc-svn] svn:hwloc r2868

2010-12-04 Thread Jiri Hladky
Hi Samuel,

it's a valid objection. I use only linux with pretty recent version of
kernel and C libraries so I didn't know that strftime has portability
issues.

On the hand, autoconf should be able to detect it, right?

Thanks!
Jirka

On Fri, Dec 3, 2010 at 1:25 PM, Samuel Thibault wrote:

> Jiri Hladky, le Fri 03 Dec 2010 11:32:01 +0100, a écrit :
> > I would recommend to replace ctime with strftime function. Please note
> that
> > ctime ignores LC_TIME. strftime on the other hand is using LC_TIME
>
> I was wondering. strftime is supported by less operating systems.  But
> we can detect that, yes.
>
> Samuel
> ___
> hwloc-devel mailing list
> hwloc-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel
>