Skip to content

Commit d42a8d6

Browse files
committed
[DOC] Tweek a comment
1 parent 44d2b59 commit d42a8d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tool/lib/_tmpdir.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
if (tmpdir = Dir.mktmpdir(template)).size > 50 and File.directory?("/tmp")
66
# On macOS, the default TMPDIR is very long, inspite of UNIX socket
77
# path length is limited.
8-
# On Windows, UNIX socket is not available and no need to shorten
9-
# TMPDIR, otherwise assume "/tmp" always exists.
8+
# Assume "/tmp" always exists on UNIX-like systems where UNIX socket
9+
# is available, otherwise no need to shorten TMPDIR.
1010
Dir.rmdir(tmpdir)
1111
tmpdir = Dir.mktmpdir(template, "/tmp")
1212
end

0 commit comments

Comments
 (0)