Show More
@@ -100,7 +100,15 b' def has_inotify():' | |||
|
100 | 100 | return False |
|
101 | 101 | |
|
102 | 102 | def has_fifo(): |
|
103 |
|
|
|
103 | if getattr(os, "mkfifo", None) is None: | |
|
104 | return False | |
|
105 | name = tempfile.mktemp(dir='.', prefix=tempprefix) | |
|
106 | try: | |
|
107 | os.mkfifo(name) | |
|
108 | os.unlink(name) | |
|
109 | return True | |
|
110 | except OSError: | |
|
111 | return False | |
|
104 | 112 | |
|
105 | 113 | def has_cacheable_fs(): |
|
106 | 114 | from mercurial import util |
General Comments 0
You need to be logged in to leave comments.
Login now