bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1736: [Hendrik Tews] movemail loops if hard links are not supported


From: Sven Joachim
Subject: bug#1736: [Hendrik Tews] movemail loops if hard links are not supported
Date: Tue, 30 Dec 2008 09:19:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On filesystems that do not support hard links, movemail will enter an
endless loop.  It would probably be more prudent to error if link(2)
fails with EPERM.

--- Begin Message --- Subject: Bug#384993: emacs21-bin-common: movemail loops if hard links are not supported Date: Mon, 28 Aug 2006 13:18:22 +0200
Package: emacs21-bin-common
Version: 21.4a-3
Severity: normal

movemail does not check the error code after creating the hard
link in line 344:

          tem = link (tempname, lockname);

As a result it loops if the link fails with -1 EPERM (Operation
not permitted). This happens for instance on smbfs mounted
directories, because smbfs 3.0.22-1 does not support hard links
any more (it used to).


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages emacs21-bin-common depends on:
ii  emacs21-common                21.4a-3    The GNU Emacs editor's shared, arc
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries

emacs21-bin-common recommends no packages.

-- no debconf information


Bye,

Hendrik




--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]