diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-24 18:12:23 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-24 18:12:23 +0000 |
commit | f8deb58a790da80cd764afd1041c68a24d7ab8ab (patch) | |
tree | 82e3a6c0092203e8034ac176b56541c4620431cb /libgo | |
parent | 1283f26286da4e43ddbba8fde27e98686a2ec7d0 (diff) | |
download | gcc-f8deb58a790da80cd764afd1041c68a24d7ab8ab.tar.gz |
PR go/46986
libgo/Makefile, libgo/go/os/stat_atimespec.go: fix typos
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195436 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/Makefile.am | 6 | ||||
-rw-r--r-- | libgo/Makefile.in | 6 | ||||
-rw-r--r-- | libgo/go/os/stat_atimespec.go | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index b97a82e549f..e3cc24e2060 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -840,13 +840,13 @@ if LIBGO_IS_OPENBSD go_os_stat_file = go/os/stat_atim.go else if LIBGO_IS_DARWIN -go_os_stat_file = go/os/stat_atimspec.go +go_os_stat_file = go/os/stat_atimespec.go else if LIBGO_IS_FREEBSD -go_os_stat_file = go/os/stat_atimspec.go +go_os_stat_file = go/os/stat_atimespec.go else if LIBGO_IS_NETBSD -go_os_stat_file = go/os/stat_atimspec.go +go_os_stat_file = go/os/stat_atimespec.go else go_os_stat_file = go/os/stat.go endif diff --git a/libgo/Makefile.in b/libgo/Makefile.in index fe18b74e2ae..cc905e011ae 100644 --- a/libgo/Makefile.in +++ b/libgo/Makefile.in @@ -1062,9 +1062,9 @@ go_net_files = \ @LIBGO_IS_LINUX_FALSE@@LIBGO_IS_SOLARIS_TRUE@go_os_sys_file = go/os/sys_uname.go @LIBGO_IS_LINUX_TRUE@go_os_sys_file = go/os/sys_linux.go @LIBGO_IS_DARWIN_FALSE@@LIBGO_IS_FREEBSD_FALSE@@LIBGO_IS_LINUX_FALSE@@LIBGO_IS_NETBSD_FALSE@@LIBGO_IS_OPENBSD_FALSE@@LIBGO_IS_SOLARIS_FALSE@go_os_stat_file = go/os/stat.go -@LIBGO_IS_DARWIN_FALSE@@LIBGO_IS_FREEBSD_FALSE@@LIBGO_IS_LINUX_FALSE@@LIBGO_IS_NETBSD_TRUE@@LIBGO_IS_OPENBSD_FALSE@@LIBGO_IS_SOLARIS_FALSE@go_os_stat_file = go/os/stat_atimspec.go -@LIBGO_IS_DARWIN_FALSE@@LIBGO_IS_FREEBSD_TRUE@@LIBGO_IS_LINUX_FALSE@@LIBGO_IS_OPENBSD_FALSE@@LIBGO_IS_SOLARIS_FALSE@go_os_stat_file = go/os/stat_atimspec.go -@LIBGO_IS_DARWIN_TRUE@@LIBGO_IS_LINUX_FALSE@@LIBGO_IS_OPENBSD_FALSE@@LIBGO_IS_SOLARIS_FALSE@go_os_stat_file = go/os/stat_atimspec.go +@LIBGO_IS_DARWIN_FALSE@@LIBGO_IS_FREEBSD_FALSE@@LIBGO_IS_LINUX_FALSE@@LIBGO_IS_NETBSD_TRUE@@LIBGO_IS_OPENBSD_FALSE@@LIBGO_IS_SOLARIS_FALSE@go_os_stat_file = go/os/stat_atimespec.go +@LIBGO_IS_DARWIN_FALSE@@LIBGO_IS_FREEBSD_TRUE@@LIBGO_IS_LINUX_FALSE@@LIBGO_IS_OPENBSD_FALSE@@LIBGO_IS_SOLARIS_FALSE@go_os_stat_file = go/os/stat_atimespec.go +@LIBGO_IS_DARWIN_TRUE@@LIBGO_IS_LINUX_FALSE@@LIBGO_IS_OPENBSD_FALSE@@LIBGO_IS_SOLARIS_FALSE@go_os_stat_file = go/os/stat_atimespec.go @LIBGO_IS_LINUX_FALSE@@LIBGO_IS_OPENBSD_TRUE@@LIBGO_IS_SOLARIS_FALSE@go_os_stat_file = go/os/stat_atim.go @LIBGO_IS_LINUX_TRUE@@LIBGO_IS_SOLARIS_FALSE@go_os_stat_file = go/os/stat_atim.go @LIBGO_IS_SOLARIS_TRUE@go_os_stat_file = go/os/stat_solaris.go diff --git a/libgo/go/os/stat_atimespec.go b/libgo/go/os/stat_atimespec.go index db89f3db839..6ba84f438ad 100644 --- a/libgo/go/os/stat_atimespec.go +++ b/libgo/go/os/stat_atimespec.go @@ -19,7 +19,7 @@ func fileInfoFromStat(st *syscall.Stat_t, name string) FileInfo { fs := &fileStat{ name: basename(name), size: int64(st.Size), - modTime: timespecToTime(st.Mtimspec), + modTime: timespecToTime(st.Mtimespec), sys: st, } fs.mode = FileMode(st.Mode & 0777) @@ -57,5 +57,5 @@ func timespecToTime(ts syscall.Timespec) time.Time { // For testing. func atime(fi FileInfo) time.Time { - return timespecToTime(fi.Sys().(*syscall.Stat_t).Atimspec) + return timespecToTime(fi.Sys().(*syscall.Stat_t).Atimespec) } |