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)
Fri, Sep 11, 8:14 PM
Unknown Object (File)
Sun, Sep 6, 3:24 PM
Unknown Object (File)
Thu, Aug 27, 3:30 AM
Unknown Object (File)
Sat, Aug 22, 4:34 AM
Unknown Object (File)
Aug 8 2026, 6:49 PM
Unknown Object (File)
Aug 7 2026, 7:46 PM
Unknown Object (File)
Aug 6 2026, 6:21 PM
Unknown Object (File)
Aug 6 2026, 2:43 PM
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