blob: 775b7b1e0ec8d3e003667b67265e388246eac305 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
There are more than one st_{a,m,c}tim fields in struct stat on time64 machines.
Run the Go-isation on all of them.
--- gcc-8.3.0/libgo/mksysinfo.sh 2020-12-23 22:27:49.162150557 +0000
+++ gcc-8.3.0/libgo/mksysinfo.sh 2020-12-23 22:41:34.500621493 +0000
@@ -518,7 +518,7 @@ fi
# For historical reasons Go uses the suffix "timespec" instead of "tim" for
# stat_t's time fields on NetBSD.
-st_times='-e s/st_atim/Atim/ -e s/st_mtim/Mtim/ -e s/st_ctim/Ctim/'
+st_times='-e s/st_atim/Atim/g -e s/st_mtim/Mtim/g -e s/st_ctim/Ctim/g'
if test "${GOOS}" = "netbsd"; then
st_times='-e s/st_atim/Atimespec/ -e s/st_mtim/Mtimespec/ -e s/st_ctim/Ctimespec/'
fi
|