History log of /netbsd-src/usr.bin/timeout/timeout.c (Results 1 – 5 of 5)
Revision Date Author Comments
# f2d4de93 13-Dec-2022 kre <kre@NetBSD.org>

POSIX is addint this utility in Issue 8 (whenever it appears). However
they do not specify "long" options (ever). The --preserve and --foreground
options in this utility had no short form, so they

POSIX is addint this utility in Issue 8 (whenever it appears). However
they do not specify "long" options (ever). The --preserve and --foreground
options in this utility had no short form, so they "invented" -p and -f
so only standard form one char options needed to be specified.

Change the opt processing here so -p == --preserve and -f == --foreground
so we support the options POSIX will specify.

No other changes here, just adding those alternates for the options.

show more ...


# f70ccee6 05-Aug-2014 christos <christos@NetBSD.org>

Fix overflow check. From Kamil Rytarowski.


# 72c3b098 02-Aug-2014 martin <martin@NetBSD.org>

Cast signal argument of kill(2) to int, as sig_atomic_t may be larger.
Avoids:
src/usr.bin/timeout/timeout.c:331:5: error: conversion to 'int' from 'sig_atomic_t' may alter its value [-Werror=convers

Cast signal argument of kill(2) to int, as sig_atomic_t may be larger.
Avoids:
src/usr.bin/timeout/timeout.c:331:5: error: conversion to 'int' from 'sig_atomic_t' may alter its value [-Werror=conversion]
kill(pid, sig_term);
^
warning from gcc 4.8

show more ...


# 3f7fdb96 01-Aug-2014 christos <christos@NetBSD.org>

PR/49053: Kamil Rytarowski: Import timeout(1) from FreeBSD


# 7a7434fe 01-Aug-2014 christos <christos@NetBSD.org>

import from FreeBSD