Source-Changes archive

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

CVS commit: src/usr.bin/timeout



Module Name:    src
Committed By:   martin
Date:           Sat Aug  2 09:16:22 UTC 2014

Modified Files:
        src/usr.bin/timeout: timeout.c

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/timeout/timeout.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index