mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-01 06:46:44 -04:00
unix: add UTIME_* constants on Linux
They might be used as special values in struct Timespec. See http://man7.org/linux/man-pages/man2/utimensat.2.html for details. Change-Id: I1c2d6d7731ca7f077d033e51ee6421a4f2cfbb89 Reviewed-on: https://go-review.googlesource.com/72376 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Ian Lance Taylor
parent
8dbc5d05d6
commit
ff8cd6cb4f
@@ -420,6 +420,7 @@ ccflags="$@"
|
||||
$2 ~ /^(VM|VMADDR)_/ ||
|
||||
$2 ~ /^(TASKSTATS|TS)_/ ||
|
||||
$2 ~ /^GENL_/ ||
|
||||
$2 ~ /^UTIME_/ ||
|
||||
$2 ~ /^XATTR_(CREATE|REPLACE)/ ||
|
||||
$2 !~ "WMESGLEN" &&
|
||||
$2 ~ /^W[A-Z0-9]+$/ ||
|
||||
|
||||
Reference in New Issue
Block a user