all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [F.J.Wright@qmul.ac.uk: Link count]
@ 2002-09-28  3:19 Richard Stallman
  2002-09-28 15:04 ` Jason Rumney
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2002-09-28  3:19 UTC (permalink / raw)


Is there anyone who wants to look at this?

------- Start of forwarded message -------
Envelope-to: emacs-pretest-bug@gnu.org
Delivery-date: Fri, 27 Sep 2002 06:42:44 -0400
From: "Dr Francis J. Wright" <F.J.Wright@qmul.ac.uk>
To: <emacs-pretest-bug@gnu.org>
Subject: Link count
Date: Fri, 27 Sep 2002 11:43:56 +0100
Organization: Mathematical Sciences, Queen Mary, University of London
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Spam-Status: No, hits=0.0 required=5.0
	tests=none
	version=2.31
X-Spam-Level: 

In GNU Emacs 21.2.90.1 (i386-msvc-nt4.0.1381)
 of 2002-06-06 on CENTAUR
configured using `configure --with-msvc (11.00)'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENG
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

The functions file-attributes and directory-files-and-attributes both report
the link count as 1 for a file that has a link count of 2.  Hence ls-lisp
displays the wrong link count, whereas Cygwin ls displays the correct link
count.  The current release of Emacs (installed as a binary package and not
built by me) on Windows XP Home shows exactly the same behaviour.  In both
cases the files in question were on an NTFS partition.

I believe that at one time the link count was shown correctly, but I don't
know when it changed.  I suspect it's a generic problem on the Windows NT
platform line.

- ---

Dr Francis J. Wright
School of Mathematical Sciences, Queen Mary
University of London, Mile End Road, London E1 4NS, UK
Tel: 020 7882 5453 (direct);  Fax: 020 8981 9587 (dept.)
F.J.Wright@qmul.ac.uk;  http://centaur.maths.qmul.ac.uk/
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [F.J.Wright@qmul.ac.uk: Link count]
  2002-09-28  3:19 [F.J.Wright@qmul.ac.uk: Link count] Richard Stallman
@ 2002-09-28 15:04 ` Jason Rumney
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Rumney @ 2002-09-28 15:04 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

> Is there anyone who wants to look at this?

I think Eli already replied.  The "links" in this case are not
a feature of the filesystem, they are layered on top by Cygwin, so
only tools that link with the Cygwin libraries recognize them.

> The functions file-attributes and directory-files-and-attributes both report
> the link count as 1 for a file that has a link count of 2.  Hence ls-lisp
> displays the wrong link count, whereas Cygwin ls displays the correct link
> count.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-28 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-28  3:19 [F.J.Wright@qmul.ac.uk: Link count] Richard Stallman
2002-09-28 15:04 ` Jason Rumney

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.