unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14885: `call-process-region' fails on Windows (in UNC default-directory)
@ 2013-07-16 21:28 Richard Copley
  2013-07-16 22:42 ` Paul Eggert
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Copley @ 2013-07-16 21:28 UTC (permalink / raw)
  To: 14885

C-x C-f \\localhost\share <return>
M-! dir <return>
;; => Opening process input file: invalid argument, //localhost/share/NUL:

When `call-process-region' calls `call-process', it passes NULL_DEVICE
for the INFILE argument. It should pass nil instead.  I’m not sure
why, but the error above doesn’t happen if default-directory is a path
with a drive letter.

(For some reason NULL_DEVICE is defined as "NUL:" in my `config.h'.)

In GNU Emacs 24.3.50.2 (i686-pc-mingw32)
 of 2013-07-16 on MACHINE
Bzr revision: 113435 eggert@cs.ucla.edu-20130716183052-hq36ti50qgh0o0wv
Windowing system distributor `Microsoft Corp.', version 6.2.9200
Configured using:
 `configure --prefix c:/emacs/emacs-113425
 --enable-locallisppath=%emacs_dir%/../site-lisp CPPFLAGS='-I
 G:/usr/include -I C:/GnuWin32/include' LDFLAGS='-L G:/usr/lib -L
 C:/GnuWin32/lib''

Important settings:
  value of $LANG: ENG
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: Dired by name

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x C-f \ \ l o c a l h o s t \ s h a r e <return>
M-! d i r <return> M-x r - e - b <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
(Shell command failed with error)
shell-command-on-region: Opening process input file: invalid argument,
//localhost/share/NUL:

Load-path shadows:
None found.

Features:
(shadow sort nadvice gnus-util mail-extr emacsbug message format-spec
rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils shell pcomplete comint
ansi-color ring dired time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win
w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
w32notify w32 multi-tty emacs)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14885: `call-process-region' fails on Windows (in UNC default-directory)
  2013-07-16 21:28 bug#14885: `call-process-region' fails on Windows (in UNC default-directory) Richard Copley
@ 2013-07-16 22:42 ` Paul Eggert
  2013-07-17  6:36   ` Richard Copley
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggert @ 2013-07-16 22:42 UTC (permalink / raw)
  To: Richard Copley; +Cc: 14885

Thanks, I installed what I hope is the obvious patch, as trunk
bzr 113439.  Please give it a try, as I don't use Microsoft Windows
and so haven't tested it there.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14885: `call-process-region' fails on Windows (in UNC default-directory)
  2013-07-16 22:42 ` Paul Eggert
@ 2013-07-17  6:36   ` Richard Copley
  2013-07-17 12:54     ` Paul Eggert
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Copley @ 2013-07-17  6:36 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 14885

On 16 July 2013 23:42, Paul Eggert <eggert@cs.ucla.edu> wrote:
> Thanks, I installed what I hope is the obvious patch, as trunk
> bzr 113439.  Please give it a try, as I don't use Microsoft Windows
> and so haven't tested it there.
Thank you, it seems to work.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14885: `call-process-region' fails on Windows (in UNC default-directory)
  2013-07-17  6:36   ` Richard Copley
@ 2013-07-17 12:54     ` Paul Eggert
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Eggert @ 2013-07-17 12:54 UTC (permalink / raw)
  To: Richard Copley; +Cc: 14885-done

Thanks for checking; closing the bug.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-07-17 12:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-16 21:28 bug#14885: `call-process-region' fails on Windows (in UNC default-directory) Richard Copley
2013-07-16 22:42 ` Paul Eggert
2013-07-17  6:36   ` Richard Copley
2013-07-17 12:54     ` Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).