GNU bug report logs -
#32443
27.0.50; encode-time bug
Previous Next
Reported by: Live System User <nyc4bos <at> aol.com>
Date: Tue, 14 Aug 2018 23:13:02 UTC
Severity: normal
Tags: moreinfo
Found in version 27.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Robert Pluim <rpluim <at> gmail.com> writes:
> Live System User <nyc4bos <at> aol.com> writes:
>
>> Robert Pluim <rpluim <at> gmail.com> writes:
>
>>> None of those fail for me. Could you tell us which revision youʼre
>>> currently using? Perhaps this got fixed as a side effect of some other
>>> change, in which case I can bisect it.
>>
>> I just tried it using:
>>
>> Repository revision: d8bef4b519624de20baa1428dd103f61dfb220fa
>>
>> and got the same errpneous results.
>
> And thatʼs more recent than my version, so the bug is still lurking
> somewhere.
>
>>>
>>> Otherwise, since youʼre the only one who can reproduce it, could you
>>> do 'edebug-defun' on 'parse-time-string' and step through it? That
>>> might give us a better idea of what's going wrong.
>>
>>
>> I've never used `edebug' before so I will have to get up to speed.
>
> SPC single steps. You can use 'e' to evaluate arbitrary expressions in
> the context of the function youʼre debugging. Since single stepping
> can be tedious, you can move point and use 'h' to run until you reach
> point.
I'm still trying to discover where the bug is using edebug,
Stepping through with edebug everything appears to go fine
with going through all the rules and assigning all of its
resultant values (such as "Tue' equals 2 gleen from
`parse-time-weekdays '), until you get to the following:
(rplaca (nthcdr (pop slots) time) new-val))))))))
Once I execute `rplaca' -- "tike" and "new-val" are incorrect.
FWIW, with thw recwnt update to parse-time.el (Git 0bec064), I now
get
(parse-time-string "Tue, 21 Feb 2017 17:17:56 -0500")
(nil nil nil 21 2 2017 2 -1 nil)
`Before this update, the "-1" was nil.
I believe the "-1" means that DST is not known to be in effect.
DST *is* in effect here.
`Thanks.
>
> Robert
This bug report was last modified 5 years and 225 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.