rust/src/test
NODA, Kai 3980cdecd0 libstd: explicitly disallow io::fs::File to open a directory.
On *BSD systems, we can open(2) a directory and directly read(2) from
it due to an old tradition.  We should avoid doing so by explicitly
calling fstat(2) to check the type of the opened file.

Opening a directory as a module file can't always be avoided.
Even when there's no "path" attribute trick involved, there can always
be a *directory* named "my_module.rs".

Fix #12460

Signed-off-by: NODA, Kai <nodakai@gmail.com>
2014-12-04 11:19:55 +08:00
..
auxiliary Fix xcrate enum namespacing 2014-11-25 11:02:47 -08:00
bench Fallout from libgreen and libnative removal 2014-11-20 17:19:24 -08:00
codegen librustc: Forbid private types in public APIs. 2014-09-22 20:05:45 -07:00
compile-fail libstd: explicitly disallow io::fs::File to open a directory. 2014-12-04 11:19:55 +08:00
compile-fail-fulldeps Adjust some error messages to start with a lowercase letter and not finish with a full stop 2014-11-30 20:26:53 +13:00
debuginfo debuginfo: Fix multi-byte character related bug in cleanup scope handling. 2014-12-01 16:22:00 -08:00
pretty syntax: Make asm! clobbers a proper vector. 2014-11-30 11:58:23 +09:00
run-fail Deprecate MaybeOwned[Vector] in favor of Cow 2014-11-25 11:22:23 -05:00
run-make test/run-make: another missing $(EXTRACFLAGS). 2014-12-02 04:52:29 +08:00
run-pass auto merge of #19427 : scialex/rust/doc-attr-macros, r=sfackler 2014-12-02 07:22:02 +00:00
run-pass-fulldeps test: Ignore issue-19501 pretty for now 2014-12-03 09:22:13 -08:00
run-pass-valgrind Move some tests to run-pass-valgrind 2014-10-23 13:52:34 +13:00