GNU bug report logs - #3736
23.1.50; Please use null-device instead of /dev/null

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Wed, 1 Jul 2009 20:30:04 UTC

Severity: minor

Fixed in version 28.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #71 received at 3736-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 3736-done <at> debbugs.gnu.org, Sven Joachim <svenjoac <at> gmx.de>,
 Jason Rumney <jasonr <at> gnu.org>
Subject: Re: bug#3736: 23.1.50; Please use null-device instead of /dev/null
Date: Thu, 26 Nov 2020 16:28:11 +0100
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi Stefan,

> I've added the functions null-device and path-separator, which return
> the connection-local values of the respective variables. As first shot,
> I've changed grep.el using this. Let's see whether there's
> feedback. However, people will see a difference only if they work on a
> local w32 system, and apply Emacs's grep command on a remote machine --
> a constellation I cannot test myself.
>
> I'll continue to adapt other Emacs Lisp files.

I have applied all respective changes in the master branch which look
obvious to me. There are still ~40 occurences of /dev/null in the lisp
directory, but most of them are comments. So I'll close this bug.

If people are interested in fixing the few other places, they could do
now by using the null-device variable or function. In case they don't
know what's better, a new bug report for the given case would do,
instead of keeping *this* bug report open forever.

Best regards, Michael.




This bug report was last modified 4 years and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.