From unknown Tue Jun 24 22:35:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14885 <14885@debbugs.gnu.org> To: bug#14885 <14885@debbugs.gnu.org> Subject: Status: `call-process-region' fails on Windows (in UNC default-directory) Reply-To: bug#14885 <14885@debbugs.gnu.org> Date: Wed, 25 Jun 2025 05:35:33 +0000 retitle 14885 `call-process-region' fails on Windows (in UNC default-direct= ory) reassign 14885 emacs submitter 14885 Richard Copley severity 14885 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 16 17:28:56 2013 Received: (at submit) by debbugs.gnu.org; 16 Jul 2013 21:28:56 +0000 Received: from localhost ([127.0.0.1]:59143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzCnn-000850-1M for submit@debbugs.gnu.org; Tue, 16 Jul 2013 17:28:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55615) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzCnk-00084e-IR for submit@debbugs.gnu.org; Tue, 16 Jul 2013 17:28:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzCnc-0001Ge-W1 for submit@debbugs.gnu.org; Tue, 16 Jul 2013 17:28:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzCnc-0001Ga-RH for submit@debbugs.gnu.org; Tue, 16 Jul 2013 17:28:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzCnb-0002sv-4A for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 17:28:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzCna-0001FI-0s for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 17:28:43 -0400 Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:49677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzCnZ-0001En-OW for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2013 17:28:41 -0400 Received: by mail-ea0-f178.google.com with SMTP id l15so633533eak.23 for ; Tue, 16 Jul 2013 14:28:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=8Lv0CaOmDk0dkutvujm6O3Tla9cVKl5AphFRCfCS4Xo=; b=ONvbyL/Kgzz4sJj+Pp8a6cFM1JOWMfWEJLKSc36Lx1Zj8WS8cINAAn66gjgAb2GCh5 0GuyIhV1hEemYjBEAppV0jpF7aORYYL1JgREDbWj2lPD8C3LUYeBWoKupwlW5w4Xcz+q efpU1fvuLqgC8A2Y/WqVbr6nHoZjDNbwDpkbUf306/8wrFeVBcFDGY7i6iUHXbUoSvFA BzuydVV8Flcno72dNTez1VqBy3CPLpbxLAp/pdYyvD2lXH/GYQLAavCxLYHHOqqAXQqD SqsLguS65a/AS9b6Q4yMAgXdKiD0sLhZsjBVyCIghT1vv7g/IamN/7cTNxfch5TUeDfJ 7DOA== MIME-Version: 1.0 X-Received: by 10.15.41.71 with SMTP id r47mr3351554eev.63.1374010120361; Tue, 16 Jul 2013 14:28:40 -0700 (PDT) Received: by 10.14.178.133 with HTTP; Tue, 16 Jul 2013 14:28:40 -0700 (PDT) Date: Tue, 16 Jul 2013 22:28:40 +0100 Message-ID: Subject: `call-process-region' fails on Windows (in UNC default-directory) From: Richard Copley To: "bug-gnu-emacs@gnu.org" Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) C-x C-f \\localhost\share M-! dir ;; =3D> 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=92m not sure why, but the error above doesn=92t 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=3D%emacs_dir%/../site-lisp CPPFLAGS=3D'-I G:/usr/include -I C:/GnuWin32/include' LDFLAGS=3D'-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 M-! d i r M-x r - e - b 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) From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 16 18:43:00 2013 Received: (at 14885) by debbugs.gnu.org; 16 Jul 2013 22:43:00 +0000 Received: from localhost ([127.0.0.1]:59249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzDxT-00027j-VB for submit@debbugs.gnu.org; Tue, 16 Jul 2013 18:43:00 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:34435) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzDxQ-00027J-EZ for 14885@debbugs.gnu.org; Tue, 16 Jul 2013 18:42:57 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 84F9A39E8100; Tue, 16 Jul 2013 15:42:50 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rgxvzIMY+Meb; Tue, 16 Jul 2013 15:42:50 -0700 (PDT) Received: from [192.168.1.9] (pool-71-108-49-126.lsanca.fios.verizon.net [71.108.49.126]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 3A5BE39E8008; Tue, 16 Jul 2013 15:42:50 -0700 (PDT) Message-ID: <51E5CC69.3040002@cs.ucla.edu> Date: Tue, 16 Jul 2013 15:42:49 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Richard Copley Subject: Re: `call-process-region' fails on Windows (in UNC default-directory) X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 14885 Cc: 14885@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 02:36:52 2013 Received: (at 14885) by debbugs.gnu.org; 17 Jul 2013 06:36:52 +0000 Received: from localhost ([127.0.0.1]:59799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzLM3-0002oQ-Up for submit@debbugs.gnu.org; Wed, 17 Jul 2013 02:36:52 -0400 Received: from mail-ea0-f174.google.com ([209.85.215.174]:34730) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzLLk-0002nI-2o for 14885@debbugs.gnu.org; Wed, 17 Jul 2013 02:36:32 -0400 Received: by mail-ea0-f174.google.com with SMTP id o10so799447eaj.19 for <14885@debbugs.gnu.org>; Tue, 16 Jul 2013 23:36:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=82+tDL6IDZTaqgDMWfuOpjCW2ZJuCw6wAEkqXUOxqL4=; b=0yP2xOd07WjSVoZIxvs8YhS9jun453/S3M9cCQy4OXVupdSRzgbfxtPs5XznGITcnx PVL1ZDG2x3uu/lOJfnmBAHp8HCOOLyoFAwUe54wsFp7JzqDjH5L9AAboNn8c+Zfs7NR+ 6EpIBVDAC2Os7mGybwEe37+ZZyzE4No3/SKBdM8AHhko8RsCxJHVm/xjrxqYHyY02ZuT b8zrF2VB5/3l9I30dkEtB/VtGZ9GzUJ0VBb1PAs4ZIoHRijZMMGx0xYARVhUtDsbw9wV D37r221nHA0xEBUnigwkqaZJNUKEL0HD/74Dwu6lGDfEWTkCF0Vdnevj+vPpEi9rwOX8 Vbqg== MIME-Version: 1.0 X-Received: by 10.15.76.71 with SMTP id m47mr4805028eey.70.1374042986148; Tue, 16 Jul 2013 23:36:26 -0700 (PDT) Received: by 10.14.178.133 with HTTP; Tue, 16 Jul 2013 23:36:26 -0700 (PDT) In-Reply-To: <51E5CC69.3040002@cs.ucla.edu> References: <51E5CC69.3040002@cs.ucla.edu> Date: Wed, 17 Jul 2013 07:36:26 +0100 Message-ID: Subject: Re: `call-process-region' fails on Windows (in UNC default-directory) From: Richard Copley To: Paul Eggert Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14885 Cc: 14885@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 16 July 2013 23:42, Paul Eggert 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 08:54:12 2013 Received: (at 14885-done) by debbugs.gnu.org; 17 Jul 2013 12:54:12 +0000 Received: from localhost ([127.0.0.1]:60419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzRFD-0003FR-Jw for submit@debbugs.gnu.org; Wed, 17 Jul 2013 08:54:12 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:60718) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzRFB-0003El-P4 for 14885-done@debbugs.gnu.org; Wed, 17 Jul 2013 08:54:10 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 2ADF1A60002; Wed, 17 Jul 2013 05:54:04 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LIFajiOK9WZZ; Wed, 17 Jul 2013 05:54:03 -0700 (PDT) Received: from [192.168.1.9] (pool-71-108-49-126.lsanca.fios.verizon.net [71.108.49.126]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id D0D62A60001; Wed, 17 Jul 2013 05:54:03 -0700 (PDT) Message-ID: <51E693EB.4070602@cs.ucla.edu> Date: Wed, 17 Jul 2013 05:54:03 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Richard Copley Subject: Re: `call-process-region' fails on Windows (in UNC default-directory) References: <51E5CC69.3040002@cs.ucla.edu> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 14885-done Cc: 14885-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) Thanks for checking; closing the bug. From unknown Tue Jun 24 22:35:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 15 Aug 2013 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator