Mail Archives: cygwin/2004/12/15/15:49:20
Running strace pointed me to the proper place to look
for the error.
However, the proper fix is maybe more of a philosophy
issue.
I found some code in path.cc that removes trailing dots and
spaces from a file name in path_conv::check(). The question is,
should these trailing spaces/dots actually be removed, or should
they be converted to %20/%2E, only if they are part of the file/
directory name? Or, should they be stripped for ALL file searches,
so that something like /foo./bar will be found under the windows
path /%66oo/%62ar?
On Wed, 15 Dec 2004 12:06:54 -0700, Mark Paulus wrote:
>Hi,
>If someone can point me to the proper place, I would
>be willing to further analyze this, but this is the issue:
>Files/Directories that end in a '.'(dot) are not retaining
>the dot. For example:
>I am attempting to untar a tarball that contains this (done on a linux box)
>drwxr-xr-x 22 mgpaulus mgpaulus 4096 Apr 7 2001 ./
>drwxr-xr-x 5 mgpaulus mgpaulus 4096 Apr 7 2001 ../
>drwxr-xr-x 3 mgpaulus mgpaulus 4096 Apr 7 2001 ArborText/
>drwxr-xr-x 3 mgpaulus mgpaulus 4096 Apr 7 2001 Hewlett-Packard/
>drwxr-xr-x 3 mgpaulus mgpaulus 4096 Apr 7 2001 IDN_faq.org/
>drwxr-xr-x 4 mgpaulus mgpaulus 4096 Apr 7 2001 IETF/
>drwxr-xr-x 3 mgpaulus mgpaulus 4096 Apr 7 2001 ISBN_82-7640-000/
>drwxr-xr-x 3 mgpaulus mgpaulus 4096 Apr 7 2001 ISBN_82-7640-023/
>drwxr-xr-x 4 mgpaulus mgpaulus 4096 Apr 7 2001 ISO_8879-1986/
>drwxr-xr-x 4 mgpaulus mgpaulus 4096 Apr 7 2001 ISO_8879:1986/
>drwxr-xr-x 3 mgpaulus mgpaulus 4096 Apr 7 2001 ISO_IEC_15445:2000/
>drwxr-xr-x 3 mgpaulus mgpaulus 4096 Apr 7 2001 Microsoft/
>drwxr-xr-x 3 mgpaulus mgpaulus 4096 Apr 7 2001 Netscape_Comm._Corp./
>drwxr-xr-x 3 mgpaulus mgpaulus 4096 Apr 7 2001 Rick_Jelliffe/
>drwxr-xr-x 3 mgpaulus mgpaulus 4096 Apr 7 2001 Sun_Microsystems_Corp./
>drwxr-xr-x 4 mgpaulus mgpaulus 4096 Apr 7 2001 W3C/
>drwxr-xr-x 3 mgpaulus mgpaulus 4096 Apr 7 2001 W3O/
>drwxr-xr-x 3 mgpaulus mgpaulus 4096 Apr 7 2001 WebTechs/
>drwxr-xr-x 2 mgpaulus mgpaulus 4096 Dec 15 11:53 declaration/
>drwxr-xr-x 2 mgpaulus mgpaulus 4096 Apr 7 2001 dtd/
>drwxr-xr-x 4 mgpaulus mgpaulus 4096 Apr 7 2001 entities/
>drwxr-xr-x 4 mgpaulus mgpaulus 4096 Apr 7 2001 html/
>When I try to explode the same tarball on a managed mountpoint under cygwin,
>I don't get the Netscape_COMM._Corp.
>or the Sun_Microsystems_Corp. directories.
>I don't know whether the issue is in cygwin1.dll, or in mount, or where I should
>start to look for this.
>--
>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/
--
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/
- Raw text -