Bug 70375
Summary: | mktime() behaviour changed compared to other RH 7.x releases | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Troels Arvin <troels> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | CC: | fweimer |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-07-31 21:37:28 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Troels Arvin
2002-07-31 21:37:24 UTC
First of all, relying on undefined behaviour is a bug. The patch in question is going to be in official glibc 2.3 release if you're so attached to "official" changes (glibc in 7.3 has tons of changes from vanilla 2.2.5, not just this one) and as you can see, mktime behaviour was changed to match what other systems are doing. If PHP standard allows years before 1970 (does it allow years before 1902 or after 2038 BTW?), then it is PHP that has to take care about it. People who need the old behaviour, may grab fixed glibc packages here: http://rpms.arvin.dk/glibc/rh73/ |