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

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

bug#13344: 24.3.50; Gnus error c:/dev/fd/0


From: Daiki Ueno
Subject: bug#13344: 24.3.50; Gnus error c:/dev/fd/0
Date: Sat, 05 Jan 2013 07:58:54 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> >>       (when (= (call-process "tty" "/dev/fd/0" t) 0)
>
> I don't think ignoring errors is TRT here.  You are invoking a command
> that doesn't exist on Windows out of the box; however, if some user,
> for some reason, does have that command somewhere on PATH, it _will_
> be invoked, but the results could be unpredictable, because the
> command by that name on MS-Windows can be unrelated to its Posix
> namesake.
>
> So it is best to avoid that call on Windows entirely.

Okay, changed the code so that it won't be called on Windows.
Thanks for the explanation.

Regards,
-- 
Daiki Ueno






reply via email to

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