Circumvent buggy negation of assigned $!.
authorBojan Petrovic <bojan_petrovic@fastmail.fm>
Tue, 24 May 2011 21:00:43 +0000 (05:00 +0800)
committerDerrik Pates <demon@now.ai>
Thu, 26 May 2011 18:36:09 +0000 (02:36 +0800)
commit3bdd22cf0cf94b4feb0646a45f64bc8c7abfc792
treead2d6e836a89ad27650337489ebbbc7dc849205e
parent07780efe79f1603293269d9e3bd204515e9cf50b
Circumvent buggy negation of assigned $!.

Loopback fs fails to create a new file every other time on FreeBSD.
This happens because of a Perl bug which occurs when $! is set from Perl
(as in x_mknod()), and then negated after a failed syscall (as in
x_getattr()). See http://www.perlmonks.org/?node_id=906466.
examples/loopback_t.pl