[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave 2.9.13 on cygwin
From: |
Tatsuro MATSUOKA |
Subject: |
Re: octave 2.9.13 on cygwin |
Date: |
Mon, 10 Sep 2007 13:32:17 +0900 (JST) |
This is Tatsuro MATSUOKA writing
I patched configure.in and reconstruct the binary.
The result is
octave:4> [tm,nc]=strptime('30-Aug-2007','%d-%b-%Y')
tm =
{
usec = 0
sec = 0
min = 0
hour = 0
mday = 30
mon = 7
year = 107
wday = 0
yday = 0
isdst = 0
zone =
}
nc = 12
It seemed failed.
It seemed that a patch file
************************
ChangeLog:
2007-09-06 John W. Eaton <address@hidden>
* configure.in: Avoid broken strptime function on Cygwin systems.
Index: configure.in
===================================================================
RCS file: /cvs/octave/configure.in,v
retrieving revision 1.573
diff -u -u -r1.573 configure.in
--- configure.in 1 Sep 2007 00:08:16 -0000 1.573
+++ configure.in 6 Sep 2007 05:11:04 -0000
@@ -1453,7 +1453,7 @@
esac
case "$canonical_host_type" in
- *-apple-darwin*)
+ *-apple-darwin* | *-*-cygwin*)
## The weekday function, which uses strptime, is broken because
## strptime is apparently not setting wday correctly for formats
## like "%d-%m-%Y", so use our version. We could use an actual
**************************
We could use an actual .....
The sentece is not completed yet.
I wonder that I could not get complete patch.
I tried by wget the result was the same.
>
> >
> > --- "John W. Eaton" <address@hidden> ha
> > scritto:
> >
> > > | As newlib strptime, used in cygwin, does not set
> > > | tm_wday when format does not include %a or %A
> > > | weekday is failing and for every day the output is
> > > 0.
> > > |
> > > | I have the feeling that strptime is potentially
> > > | implemented locally, but it is unclear to me
> > > | how to use it instead of the system version,
> > > | at least on cygwin.
> > >
> > > How about the following patch?
> > >
> > > jwe
> > >
> > >
> > solved
> >
> > [tm,nc]=strptime('30-Aug-2007','%d-%b-%Y')
> > tm =
> > {
> > usec = 0
> > sec = 0
> > min = 0
> > hour = 0
> > mday = 30
> > mon = 7
> > year = 107
> > wday = 4
> > yday = 241
> > isdst = 0
> > zone =
> > }
> >
> > nc = 12
> >
> > regards
> > Marco
> >
> >
> >
> > ___________________________________
> > L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
> > http://it.docs.yahoo.com/nowyoucan.html
> >
>
>
> --------------------------------------
> Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
> http://pr.mail.yahoo.co.jp/toolbar/
>
>
--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/
- Re: octave 2.9.13 on cygwin, Marco Atzeri, 2007/09/05
- Re: octave 2.9.13 on cygwin, Marco Atzeri, 2007/09/05
- Re: octave 2.9.13 on cygwin, John W. Eaton, 2007/09/06
- Re: octave 2.9.13 on cygwin, Marco Atzeri, 2007/09/07
- Re: octave 2.9.13 on cygwin, Tatsuro MATSUOKA, 2007/09/07
- Re: octave 2.9.13 on cygwin,
Tatsuro MATSUOKA <=
- Re: octave 2.9.13 on cygwin, Marco Atzeri, 2007/09/10
- Re: octave 2.9.13 on cygwin, John W. Eaton, 2007/09/10
- Re: octave 2.9.13 on cygwin, Tatsuro MATSUOKA, 2007/09/10
- Re: octave 2.9.13 on cygwin, Marco Atzeri, 2007/09/10
- Re: octave 2.9.13 on cygwin, Tatsuro MATSUOKA, 2007/09/11