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

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

bug#3736: closed (23.1.50; Please use null-device instead of /dev/null)


From: GNU bug Tracking System
Subject: bug#3736: closed (23.1.50; Please use null-device instead of /dev/null)
Date: Thu, 26 Nov 2020 15:29:02 +0000

Your message dated Thu, 26 Nov 2020 16:28:11 +0100
with message-id <871rgg87ec.fsf@gmx.de>
and subject line Re: bug#3736: 23.1.50; Please use null-device instead of 
/dev/null
has caused the debbugs.gnu.org bug report #3736,
regarding 23.1.50; Please use null-device instead of /dev/null
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
3736: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3736
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- 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


--- End Message ---
--- Begin Message --- Subject: Re: bug#3736: 23.1.50; Please use null-device instead of /dev/null Date: Thu, 26 Nov 2020 16:28:11 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Michael Albinus <michael.albinus@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.


--- End Message ---

reply via email to

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