* 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:
@ -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)
|
||||
|
Reference in New Issue
Block a user