Re: [PATCH] winsup/cygwin/libc/strptime.cc(__strptime) add strptime %s

2017-08-24 Thread Corinna Vinschen
On Aug 23 12:51, Brian Inglis wrote: > Attached patch to support %s in Cygwin winsup libc strptime.cc __strptime(). > > This also enables support for %s in dateutils package strptime(1). > > In case the issue comes up, if the user wants to support %s as in date(1) > with a > preceding @ flag, th

Re: winsup/cygwin/libc/strptime.cc(__strptime) strptime %F issue

2017-08-24 Thread Corinna Vinschen
On Aug 23 13:25, Brian Inglis wrote: > On 2017-08-23 12:51, Brian Inglis wrote: > > On 2017-07-23 22:07, Brian Inglis wrote: > >> On 2017-07-23 20:09, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: > But that's just scanning a decimal integer to time_t. > >>> It's not a question of whether I can

Re: winsup/cygwin/libc/strptime.cc(__strptime) strptime %F issue

2017-08-24 Thread Corinna Vinschen
On Aug 24 11:32, Corinna Vinschen wrote: > On Aug 23 13:25, Brian Inglis wrote: > > Cygwin strptime(3) (also strptime(1)) fails with default width, without an > > explicit width, because of the test in the following code: > > > > case 'F': /* The date as "%Y-%m-%d". */ > > { > > LEGAL_

Re: [PATCH] winsup/cygwin/libc/strptime.cc(__strptime) add strptime %s

2017-08-24 Thread Brian Inglis
On 2017-08-24 03:25, Corinna Vinschen wrote: > On Aug 23 12:51, Brian Inglis wrote: >> Attached patch to support %s in Cygwin winsup libc strptime.cc __strptime(). >> >> This also enables support for %s in dateutils package strptime(1). >> >> In case the issue comes up, if the user wants to support

Re: winsup/cygwin/libc/strptime.cc(__strptime) strptime %F issue

2017-08-24 Thread Brian Inglis
On 2017-08-24 03:40, Corinna Vinschen wrote: > On Aug 24 11:32, Corinna Vinschen wrote: >> On Aug 23 13:25, Brian Inglis wrote: >>> Cygwin strptime(3) (also strptime(1)) fails with default width, without an >>> explicit width, because of the test in the following code: >>> >>> case 'F': /* The da

Re: [PATCH] winsup/cygwin/libc/strptime.cc(__strptime) add strptime %s

2017-08-24 Thread Brian Inglis
On 2017-08-24 03:25, Corinna Vinschen wrote: > On Aug 23 12:51, Brian Inglis wrote: >> Attached patch to support %s in Cygwin winsup libc strptime.cc __strptime(). >> This also enables support for %s in dateutils package strptime(1). >> In case the issue comes up, if the user wants to support %s as