12069 Backport sh_delay() and tvsleep() from ksh-2020.0.0

Review Request #2469 — Created Dec. 10, 2019 and submitted

marcel
illumos-gate
master
12069
0583673...
general
This replaces the complex and buggy delay implementation in ksh sleep (aka
/usr/bin/sleep) by simple nanosleep(3C) call as could be found in the new
upstream ksh-2020.0.0.
I confirmed that /usr/bin/sleep with the newly built libast and libshell calls
nanosleep() to implement the delay.
citrus
  1. Ship It!
  2. 
      
marcel
Review request changed

Status: Closed (submitted)

Change Summary:

commit 5947648b7f5c085635051e1f7aa083a309542467
Author:     Marcel Telka <marcel@telka.sk>
AuthorDate: Tue Dec 10 15:01:42 2019 +0100
Commit:     Robert Mustacchi <rm@fingolfin.org>
CommitDate: Tue Dec 17 23:10:01 2019 +0000

    12069 Backport sh_delay() and tvsleep() from ksh-2020.0.0
    Reviewed by: Dan McDonald <danmcd@joyent.com>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

:100644 100644 4123d2a183 d75699fca9 M	exception_lists/copyright
:100644 100644 9a44d6b2be 17c2c23d2c M	exception_lists/cstyle
:100644 100644 46d3d6ac59 7ada03eacb M	usr/src/lib/libast/common/tm/tvsleep.c
:100644 100644 6121cfe62b 8938dc536c M	usr/src/lib/libshell/common/bltins/sleep.c
Loading...