Re: [PATCH] replace usleep()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 21, 2009 at 08:27:12AM +0200, Daniel Mierswa wrote:
> From 1f50c7c9b729cbf23be2d477d449209bf3823bd2 Mon Sep 17 00:00:00 2001
> From: Daniel Mierswa <impulze@xxxxxxxxxxx>
> Date: Mon, 17 Aug 2009 21:22:02 +0200
> Subject: [PATCH] replace usleep() for systems that don't have them
> 
> This function is marked obsolete in POSIX.1-2001 and removed in
> POSIX.1-2008.
> 
> Conditionally replaced with nanosleep().
> 
> Signed-off-by: Daniel Mierswa <impulze@xxxxxxxxxxx>
> ---
>  configure.ac           |    1 +
>  hwclock/kd.c           |    1 +
>  include/Makefile.am    |    1 +
>  include/usleep.h       |   18 ++++++++++++++++++
>  login-utils/shutdown.c |    1 +
>  mount/fstab.c          |    1 +
>  sys-utils/rtcwake.c    |    1 +
>  text-utils/tailf.c     |    1 +
>  8 files changed, 25 insertions(+), 0 deletions(-)
>  create mode 100644 include/usleep.h

 Applied, thanks.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux