Skip to content

Commit

Permalink
apply ObjectAttributes fix for certain Windows environments
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Carman <[email protected]>
  • Loading branch information
rcarman-r7 committed Mar 15, 2023
1 parent 2a14e68 commit 4a55ab2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipe.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ func makeServerPipeHandle(path string, sd []byte, c *PipeConfig, first bool) (sy
}
defer localFree(ntPath.Buffer)
oa.ObjectName = &ntPath
oa.Attributes = windows.OBJ_CASE_INSENSITIVE

// The security descriptor is only needed for the first pipe.
if first {
Expand Down

0 comments on commit 4a55ab2

Please sign in to comment.