Why does Cygwin always use absolute paths instead of OBJECT_ATTRIBUTES.RootDirectory?

Dan Shelton via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <CAAvCNcC0z2pOi92UezFxR-_o53P7dq2fNt+9js6WQAbqwWZTAQ@mail.gmail.com>
Hello,

Why does Cygwin always use absolute paths instead of
OBJECT_ATTRIBUTES.RootDirectory in NtOpenFile(),
NtSetInformationFile() for rename and hardlinks

This slows down Cygwin path lookups a lot, and with lots of path
elements each lookup with a relative RootDirectory might be a lot
faster, e.g. for openat(), linkat(), renameat().

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.