This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Updating cygwin_conv_path to match behaviour of cygpath


Hi,

I recently commented on the cygwin ml that the behaviour of
cygwin_conv_path is different to that of cygpath wrt device nodes -
it's also been pointed out several years ago
(http://cygwin.com/ml/cygwin/2004-06/msg00310.html). Since names such
as "\Device\HardDisk0\Partition0" can't be opened by either open(2) or
CreateFile I'm wondering if a patch would be welcomed which imports
get_device_name() from utils/cygpath.cc into cygwin1.dll
(cygwin\path.cc)?  That would allow people needing to access devices
to do so by converting Linux device nodes and opening the resulting
path using both POSIX and Windows APIs.

-- 
Bruce Cran


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]