From 6dca9ac791054ebcaf02362bd7e6ab00c18a4b7d Mon Sep 17 00:00:00 2001
From: Ian Lance Taylor Executable
returns
the path name of the running executable.
+ An attempt to call a method on
+ an os.File
that has
+ already been closed will now return the new error
+ value os.ErrClosed
.
+ Previously it returned a system-specific error such
+ as syscall.EBADF
.
+
+ On Unix systems, os.Rename
+ will now return an error when used to rename a directory to an
+ existing empty directory.
+ Previously it would fail when renaming to a non-empty directory
+ but succeed when renaming to an empty directory.
+ This makes the behavior on Unix correspond to that on other systems.
+
+ On Windows, long absolute paths are now transparently converted to
+ extended-length paths (paths that start with \\?\
).
+ This permits the package to work with files whose path names are
+ longer than 260 characters.
+
+ On Windows, os.IsExist
+ will now return true
for the system
+ error ERROR_DIR_NOT_EMPTY
.
+ This roughly corresponds to the existing handling of the Unix
+ error ENOTEMPTY
.
+
+ On Plan 9, files that are not served by #M
will now
+ have ModeDevice
set in
+ the value returned
+ by FileInfo.Mode
.
+
+ In a Go library built with -buildmode=c-archive
+ or c-shared
, when C code calls a Go function,
+ the SIGPIPE
signal will be treated as usual for Go code.
+ In particular, when SIGPIPE
is triggered by a write
+ to a closed Go network connection, it will not cause the program
+ to exit.
+