1
0
mirror of https://github.com/golang/go synced 2024-11-06 02:26:17 -07:00
go/src/os
Hiroshi Ioka 8a2cc22209 os: handle relative symlinks starting with slash in Stat on windows
https://go-review.googlesource.com/c/39932/ handles relative symlinks.
But that change is incomplete.
We also have to handle relative symlinks starting with slash too.

Fixes #19937

Change-Id: I50dbccbaf270cb48a08fa57e5f450e5da18a7701
Reviewed-on: https://go-review.googlesource.com/40410
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-04-12 23:33:11 +00:00
..
exec os/exec: Update Cmd.Run() docs to reflect correct error return types 2017-04-08 00:48:07 +00:00
signal runtime: handle SIGPIPE in c-archive and c-shared programs 2017-02-03 20:07:36 +00:00
user os/user: fake Current on Android 2017-03-08 21:34:32 +00:00
dir_plan9.go
dir_unix.go os: use poller for file I/O 2017-02-15 19:31:55 +00:00
dir_windows.go os: use poller for file I/O 2017-02-15 19:31:55 +00:00
dir.go
env_test.go syscall: Clearenv now unsets env vars on Windows 2016-11-14 00:04:03 +00:00
env_unix_test.go
env.go
error_plan9.go
error_posix.go os: use poller for file I/O 2017-02-15 19:31:55 +00:00
error_test.go os: add ErrClosed, return for use of closed File 2016-10-24 16:41:29 +00:00
error_unix_test.go
error_unix.go
error_windows_test.go
error_windows.go
error.go os: add ErrClosed, return for use of closed File 2016-10-24 16:41:29 +00:00
example_test.go os: add OpenFile example for appending data 2017-03-01 14:48:21 +00:00
exec_plan9.go
exec_posix.go
exec_unix.go
exec_windows.go os: parse command line without shell32.dll 2017-03-24 00:53:03 +00:00
exec.go
executable_darwin.go os: add Executable() (string, error) 2016-11-07 22:34:48 +00:00
executable_freebsd.go os: add Executable() (string, error) 2016-11-07 22:34:48 +00:00
executable_plan9.go os: add Executable() (string, error) 2016-11-07 22:34:48 +00:00
executable_procfs.go os: Executable can use /proc/self/exe on android 2016-11-29 00:24:22 +00:00
executable_solaris.go os: add Executable() (string, error) 2016-11-07 22:34:48 +00:00
executable_test.go os: add Executable() (string, error) 2016-11-07 22:34:48 +00:00
executable_windows.go os: add Executable() (string, error) 2016-11-07 22:34:48 +00:00
executable.go os: add Executable() (string, error) 2016-11-07 22:34:48 +00:00
export_test.go
export_windows_test.go os: parse command line without shell32.dll 2017-03-24 00:53:03 +00:00
file_plan9.go os: use poller for file I/O 2017-02-15 19:31:55 +00:00
file_posix.go os: use poller for file I/O 2017-02-15 19:31:55 +00:00
file_unix.go os: use poller for file I/O 2017-02-15 19:31:55 +00:00
file_windows.go os: use poller for file I/O 2017-02-15 19:31:55 +00:00
file.go os: more descriptive error for File.ReadAt and File.WriteAt with negative offset. 2017-04-10 18:16:44 +00:00
getwd_darwin.go
getwd.go
os_test.go os: handle relative symlinks starting with slash in Stat on windows 2017-04-12 23:33:11 +00:00
os_unix_test.go
os_windows_test.go all: fix minor misspellings 2017-04-03 23:19:07 +00:00
path_plan9.go
path_test.go
path_unix.go
path_windows_test.go os: on Windows, don't fix long paths that aren't long 2016-11-08 23:06:17 +00:00
path_windows.go os: must fixup path when 248 bytes long 2016-12-13 03:21:00 +00:00
path.go
pipe_bsd.go syscall, os: use pipe2 syscall on FreeBSD instead of pipe 2017-03-21 20:01:23 +00:00
pipe_freebsd.go syscall, os: fix FreeBSD 9 build 2017-03-21 22:37:27 +00:00
pipe_linux.go os: use poller for file I/O 2017-02-15 19:31:55 +00:00
pipe_test.go
proc.go
stat_darwin.go
stat_dragonfly.go
stat_freebsd.go
stat_linux.go
stat_nacl.go
stat_netbsd.go
stat_openbsd.go
stat_plan9.go os: consider only files from #M as regular on Plan 9 2016-10-26 16:18:00 +00:00
stat_solaris.go
stat_unix.go os: use poller for file I/O 2017-02-15 19:31:55 +00:00
stat_windows.go os: handle relative symlinks starting with slash in Stat on windows 2017-04-12 23:33:11 +00:00
sticky_bsd.go
sticky_notbsd.go
str.go
sys_bsd.go
sys_darwin.go os: remove incorrect detection of O_CLOEXEC flag on darwin 2017-02-18 16:14:15 +00:00
sys_freebsd.go
sys_linux.go
sys_nacl.go
sys_plan9.go
sys_solaris.go
sys_unix.go
sys_windows.go
sys.go
types_plan9.go os: add ErrClosed, return for use of closed File 2016-10-24 16:41:29 +00:00
types_unix.go os: add ErrClosed, return for use of closed File 2016-10-24 16:41:29 +00:00
types_windows.go os: make Stdin.Stat() return ModeCharDevice if Stdin is console 2017-02-07 23:59:31 +00:00
types.go
wait_unimp.go os: don't use waitid on Darwin 2017-03-01 02:02:40 +00:00
wait_wait6.go
wait_waitid.go os: don't use waitid on Darwin 2017-03-01 02:02:40 +00:00