* dtable.cc (fh_alloc): Keep fh which was flagged as error if it is for an

on-disk device and we were stating it.
* path.cc (path_conv::check): Set PATH_KEPT_HANDLE.
* path.h (path_types): Add PATH_KEPT_HANDLE.
(path_conv::kept_handle): Implement.
This commit is contained in:
Christopher Faylor
2012-04-19 17:21:32 +00:00
parent 55dcba98db
commit 080f275bae
4 changed files with 22 additions and 2 deletions

View File

@ -1152,6 +1152,9 @@ out:
if (opt & PC_CTTY)
path_flags |= PATH_CTTY;
if (opt & PC_KEEP_HANDLE)
path_flags |= PATH_KEPT_HANDLE;
if ((opt & PC_POSIX))
{
if (tail < path_end && tail > path_copy + 1)