NetBSD-Bugs archive

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

Re: lib/51635: td_thr_iter in <pthread_dbg.h> seems broken



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

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/51635: td_thr_iter in <pthread_dbg.h> seems broken
Date: Sat, 19 Nov 2016 10:10:47 +0700

     Date:        Fri, 18 Nov 2016 22:45:00 +0000 (UTC)
     From:        n54%gmx.com@localhost
     Message-ID:  <20161118224500.AFF407A305%mollari.NetBSD.org@localhost>
 
 Perhaps because of ...
 
   | /* Minimalistic basic implementation */
   | 
   | static int __used
   | basic_proc_read(void *arg, caddr_t addr, void *buf, size_t size)
   | {
   |         memcpy(addr, buf, size);
   | 
   |         return TD_ERR_OK;
   | }
 
 Shouldn't that be
 
 		memcpy(buf, addr, size);
 
 ?
 


Home | Main Index | Thread Index | Old Index