NetBSD-Bugs archive

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

PR/58733 CVS commit: [netbsd-10] src



The following reply was made to PR kern/58733; it has been noted by GNATS.

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/58733 CVS commit: [netbsd-10] src
Date: Fri, 11 Oct 2024 17:07:17 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Fri Oct 11 17:07:17 UTC 2024
 
 Modified Files:
 	src/share/man/man9 [netbsd-10]: ts2timo.9
 	src/sys/kern [netbsd-10]: subr_time.c
 
 Log Message:
 Pull up following revision(s) (requested by kre in ticket #942):
 
 	share/man/man9/ts2timo.9: revision 1.4
 	share/man/man9/ts2timo.9: revision 1.5
 	sys/kern/subr_time.c: revision 1.39
 
 ts2timo() uses struct timespec, those don't have a tv_usec
 field, they have tv_nsec instead.   EINVAL will happen if the
 tv_nsec field is invalid, not the non-existant tv_usec field.
 
 PR kern/58733 - avoid ts2timo() clobbering its arg
 
 See the PR for the gory details - in the TIMER_ABSTIME case
 ts2timo() should not (really *must* not) alter the timespec
 it is passed (in that case it should be const - but for now
 anyway, cannot be for the TIMER_RELTIME case, and there is
 just one of them!).
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.3.42.1 src/share/man/man9/ts2timo.9
 cvs rdiff -u -r1.35 -r1.35.4.1 src/sys/kern/subr_time.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