diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-08 04:06:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-08 04:09:11 +0000 |
commit | 78b12c962613340f18d456e8eaef0aa217e60ce6 (patch) | |
tree | 78cf47375034c8fec16617a8b81d04ba95205ffe /src/os/file_unix.go | |
parent | Adding upstream version 1.21.10. (diff) | |
download | golang-1.21-upstream.tar.xz golang-1.21-upstream.zip |
Adding upstream version 1.21.11.upstream/1.21.11upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/os/file_unix.go')
-rw-r--r-- | src/os/file_unix.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/file_unix.go b/src/os/file_unix.go index 533a484..f4709a4 100644 --- a/src/os/file_unix.go +++ b/src/os/file_unix.go @@ -157,7 +157,7 @@ const ( kindNonBlock // kindNoPoll means that we should not put the descriptor into // non-blocking mode, because we know it is not a pipe or FIFO. - // Used by openFdAt for directories. + // Used by openDirAt for directories. kindNoPoll ) @@ -256,7 +256,7 @@ func epipecheck(file *File, e error) { const DevNull = "/dev/null" // openFileNolog is the Unix implementation of OpenFile. -// Changes here should be reflected in openFdAt, if relevant. +// Changes here should be reflected in openDirAt, if relevant. func openFileNolog(name string, flag int, perm FileMode) (*File, error) { setSticky := false if !supportsCreateWithStickyBit && flag&O_CREATE != 0 && perm&ModeSticky != 0 { |