Commit Graph

5 Commits

Author SHA1 Message Date
christos f70ccee6df Fix overflow check. From Kamil Rytarowski. 2014-08-05 08:20:02 +00:00
martin 72c3b0988d 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
2014-08-02 09:16:22 +00:00
wiz 77ebce0be6 Punctuation, markup, whitespace improvements. 2014-08-02 06:20:56 +00:00
christos 3f7fdb96f5 PR/49053: Kamil Rytarowski: Import timeout(1) from FreeBSD 2014-08-01 14:01:30 +00:00
christos 7a7434fee0 import from FreeBSD 2014-08-01 13:50:55 +00:00