delorie.com/archives/browse.cgi | search |
On Wed, Nov 23, 2005 at 01:30:37PM -0800, Brian Dessent wrote: >Igor Pechtchanski wrote: >>Or you could look at how setup.exe/cygcheck does it and help extract >>the mount code into a library that could be linked into other apps. > >FWIW, this idea of creating a mingw "libcygpath" really appeals to me >and it's been an idea I've been meaning to look at for a while. It >would be a library that knows how to read the mount table, and do basic >path conversions, without depending on cygwin1.dll. Then cygpath and >setup.exe could both statically link to this library, and it would be >available to other users as well. FWIW, Robert Collins and I talked about doing this years ago but it just suffered due to SHTDI. I think that path.cc in the utils directory should be a pretty good start towards a library for reading the mount table. It is what is used by strace.cc and cygcheck.cc. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |