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)
Sun, Jun 21, 2:06 AM
Unknown Object (File)
Thu, Jun 18, 9:47 PM
Unknown Object (File)
Mon, Jun 1, 12:52 PM
Unknown Object (File)
Mon, Jun 1, 9:24 AM
Unknown Object (File)
Fri, May 29, 6:43 AM
Unknown Object (File)
May 1 2026, 5:09 PM
Unknown Object (File)
Apr 30 2026, 1:14 PM
Unknown Object (File)
Apr 27 2026, 4:25 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