gzip.exe as symlink breaks NTEmacs's jka-compr.el

Christopher Faylor cgf@redhat.com
Wed Jul 17 00:58:00 GMT 2002


>> It occurred to me that Cygwin1.dll might be making the copy on FAT file
>> systems, but that didn't seem to make much sense, since the "hard link
>> fails on FAT" case seems awfully close to the "cross-dev link fails" case
>> that a conventional Unix "ln" already has to deal with.
>
>Huh? Cygwin1.dll doesn't make a copy on FAT - it fails as you have just
>noted.. Setup.exe's cygfile:// handler makes copies.

Actually, the Cygwin link() function does make a copy on a FAT partition:

extern "C" int
_link (const char *a, const char *b)
{
.
.
.
docopy:
  /* do this with a copy */
  if (CopyFileA (real_a, real_b, 1))
    res = 0;
  else
    __seterrno ();
.
.
.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list