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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Subject: bug#3736: closed (Re: bug#3736: 23.1.50; Please use null-device
 instead of /dev/null)
Date: Thu, 26 Nov 2020 15:29:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#3736: 23.1.50; Please use null-device instead of /dev/null

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 3736 <at> debbugs.gnu.org.

-- 
3736: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3736
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.

[Message part 3 (message/rfc822, inline)]
From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.1.50; Please use null-device instead of /dev/null
Date: Wed, 1 Jul 2009 22:22:36 +0200
There are nearly a hundred places in Emacs lisp sources where
/dev/null is used instead of null-device. Please convert those to use
null-device so that it gets system-independent. (I wonder what to do
with those in Tramp.)


In GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
 of 2009-06-30


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

Previous Next


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