Re: code review: help implementing clock_montonic

2021-05-15 Thread zack_on_the_speed_chanel
Use helper functions in rtems/timespec.h or score/timespec.h > (depending where you implement your code, in this case, you probably > use the score services). I did it using rtems subtract function. rtems_timespec_subtract (now, expire, result); where now expire and result are all timespec

Re: [PATCH v4 5/5] Change filesystem utime_h handler to utimens_h

2021-05-15 Thread Joel Sherrill
On Sat, May 15, 2021, 9:44 AM Joel Sherrill wrote: > IMD is the legal predecessor to Embedded Brains but Thomas probably should > clear that > Thomas replied quite quickly and confirmed that it is ok to relicense. He added to the ticket tracking this for future reference. > > I don't think we h

Re: [PATCH v4 5/5] Change filesystem utime_h handler to utimens_h

2021-05-15 Thread Joel Sherrill
IMD is the legal predecessor to Embedded Brains but Thomas probably should clear that I don't think we have heard from Oktet so that can't change. On Sat, May 15, 2021, 9:06 AM Gedare Bloom wrote: > On Fri, May 14, 2021 at 11:32 AM Ryan Long wrote: > > > > Also updated licenses. > > > > Closes

Re: [PATCH v4 5/5] Change filesystem utime_h handler to utimens_h

2021-05-15 Thread Gedare Bloom
On Fri, May 14, 2021 at 11:32 AM Ryan Long wrote: > > Also updated licenses. > > Closes #4400 > --- > bsps/arm/csb337/umon/tfsDriver.c| 2 +- > cpukit/Makefile.am | 4 +- > cpukit/include/rtems/confdefs/libio.h | 4 +- > cpukit/include/rtems/imfs.h

Re: [PATCH v4 3/5] libcsupport: Implement utimes() in terms of utimensat()

2021-05-15 Thread Gedare Bloom
On Fri, May 14, 2021 at 11:32 AM Ryan Long wrote: > > utimes() now calls utimensat() to update file access > and modification timestamps. > > Updated license. > > Closes #4398 > --- > cpukit/libcsupport/src/utimes.c | 62 > - > 1 file changed, 49 insertion