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)
Sat, Aug 8, 6:49 PM
Unknown Object (File)
Fri, Aug 7, 7:46 PM
Unknown Object (File)
Thu, Aug 6, 6:21 PM
Unknown Object (File)
Thu, Aug 6, 2:43 PM
Unknown Object (File)
Thu, Jul 30, 10:28 PM
Unknown Object (File)
Mon, Jul 20, 6:36 AM
Unknown Object (File)
Sat, Jul 18, 2:50 PM
Unknown Object (File)
Jul 14 2026, 10:52 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