Page MenuHomeFreeBSD

Fix for bug 204530 - man 3 gmtime - struct tm documentation possibly incorrect
Needs ReviewPublic

Authored by bcr on Oct 6 2023, 10:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 21, 2:40 PM
Unknown Object (File)
Tue, Oct 21, 2:40 PM
Unknown Object (File)
Tue, Oct 21, 2:36 AM
Unknown Object (File)
Sat, Oct 18, 3:11 PM
Unknown Object (File)
Sep 26 2025, 1:01 AM
Unknown Object (File)
Sep 14 2025, 4:40 PM
Unknown Object (File)
Sep 13 2025, 5:35 AM
Unknown Object (File)
Sep 13 2025, 5:03 AM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

The fix is adds a description for the tm_sec field to allow for positive or negative leap seconds.
Similarly, the information for tm_yday describes the leap years range.

Test Plan
  1. Apply the patch to ./lib/libc/stdtime/ctime.3
  2. Check the output
  3. Comment or approve

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Skipped
Unit
Tests Skipped