Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure new timezone names end in '>' #15

Merged
merged 1 commit into from
Nov 12, 2020

Conversation

earlephilhower
Copy link
Owner

Reduce code slightly and ensure that only names of the form '<...>'
including the terminal '>' are accepted in the parser. Fixes a
potential error handling corner case.

Reduce code slightly and ensure that only names of the form '<...>'
including the terminal '>' are accepted in the parser.  Fixes a
potential error handling corner case.
@earlephilhower earlephilhower merged commit 9905fb5 into xtensa-2_2_0-lock-arduino Nov 12, 2020
@earlephilhower earlephilhower deleted the onemoretxfix branch November 12, 2020 15:45
earlephilhower added a commit to earlephilhower/Arduino that referenced this pull request Nov 12, 2020
earlephilhower/newlib-xtensa#15

Removed a couple lines of code and ensures that only TZs of the <..>
form are accepted (i.e. ensure the terminal '>').
earlephilhower added a commit to esp8266/Arduino that referenced this pull request Nov 12, 2020
Undoes the change in #7699 and fixed #7690 root cause.

Newlib did not support timezone names of the form "<[+-]?[0-9]+>" and
would parse the offset using the <name>.

Fix newlib tzset parser with
  earlephilhower/newlib-xtensa#14
  earlephilhower/newlib-xtensa#15
and undo the UNK changes used as an expedient workaround.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant