From c9abfc8f06e1e0ce8e8b7ca480507647572a5df7 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 23 Aug 2021 11:04:22 +0200 Subject: [PATCH] ensurefds012: package comment should preceded package statement This makes the comment visible to godoc. --- internal/ensurefds012/ensurefds012.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/ensurefds012/ensurefds012.go b/internal/ensurefds012/ensurefds012.go index 7872eb2..4e772c6 100644 --- a/internal/ensurefds012/ensurefds012.go +++ b/internal/ensurefds012/ensurefds012.go @@ -1,5 +1,3 @@ -package ensurefds012 - // Package ensurefds012 ensures that file descriptors 0,1,2 are open. It opens // multiple copies of /dev/null as required. // The Go stdlib as well as the gocryptfs code rely on the fact that @@ -28,6 +26,7 @@ package ensurefds012 // lrwx------. 1 jakob jakob 64 Jan 5 15:54 4 -> 'anon_inode:[eventpoll]' // // See https://github.com/rfjakob/gocryptfs/issues/320 for details. +package ensurefds012 import ( "os"