Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set errno in adjtime (IDFGH-8915) #10334

Merged
merged 2 commits into from
Dec 14, 2022

Commits on Dec 8, 2022

  1. Set errno in adjtime if newlib time funcs are not implemented

    Other time functions (e.g. settimeofday) set errno to ENOSYS if
    IMPL_NEWLIB_TIME_FUNCS is not set.
    adjtime should probably do the same.
    jofrev committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    1005b45 View commit details
    Browse the repository at this point in the history
  2. Set errno in adjtime if delta is too large

    errno should be set to EINVAL in this case according to adjtime's man
    page.
    jofrev committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    60767c2 View commit details
    Browse the repository at this point in the history