Commit 4905963
committed
avoid repeated tzset() calls
The tzset() function initializes the tzname variable from the
TZ environment variable.
There doesn't seem to be any valid usecase of calling this repeatedly.
It is an overhead that can be avoided.1 parent 529a594 commit 4905963
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1620 | 1620 | | |
1621 | 1621 | | |
1622 | 1622 | | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
1623 | 1635 | | |
1624 | 1636 | | |
1625 | 1637 | | |
1626 | 1638 | | |
1627 | 1639 | | |
1628 | 1640 | | |
1629 | 1641 | | |
1630 | | - | |
| 1642 | + | |
1631 | 1643 | | |
1632 | 1644 | | |
1633 | 1645 | | |
| |||
1777 | 1789 | | |
1778 | 1790 | | |
1779 | 1791 | | |
1780 | | - | |
| 1792 | + | |
1781 | 1793 | | |
1782 | 1794 | | |
1783 | 1795 | | |
| |||
0 commit comments