On Tue, Feb 18, 2020 at 03:57:20PM +0100, Uwe Kleine-König wrote: > unfs makes use of utime() which is unsuitable to set last access and > modification times for symlinks. So make use of the O_PATH flag to > open() and use the futimens() function. > > As a side effect this is less racy and improves resolution from seconds > to nanoseconds. > > Note this will break builds of unfs on Windows. The futimens() function > is specified in POSIX.1-2008, so this shouldn't be a problem for other > platforms. > > Signed-off-by: Uwe Kleine-König <u.kleine-koe...@pengutronix.de>
Here is something fishy. After deploying this patch in a local BSP I see some errors that were not there before. So please hold up merging until I found the time to look into these issues please. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de