From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Max Newsgroups: gmane.emacs.bugs Subject: bug#29094: dired-do-compress creates empty archives Date: Thu, 7 Dec 2017 06:25:23 +0300 Message-ID: <20171207032523.GA66149@magi.net.ru> References: <20171031233359.GA44370@magi.net.ru> <87bmjegd5s.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: blaine.gmane.org 1512617173 13573 195.159.176.226 (7 Dec 2017 03:26:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2017 03:26:13 +0000 (UTC) Cc: 29094@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 07 04:26:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMmp4-0003Oj-Ab for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Dec 2017 04:26:06 +0100 Original-Received: from localhost ([::1]:58848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMmpB-0001D9-4U for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Dec 2017 22:26:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMmp3-0001D1-MN for bug-gnu-emacs@gnu.org; Wed, 06 Dec 2017 22:26:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMmp0-0000p6-Gv for bug-gnu-emacs@gnu.org; Wed, 06 Dec 2017 22:26:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40998) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eMmp0-0000op-8z for bug-gnu-emacs@gnu.org; Wed, 06 Dec 2017 22:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eMmp0-0007L0-0I for bug-gnu-emacs@gnu.org; Wed, 06 Dec 2017 22:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Max Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Dec 2017 03:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29094 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 29094-submit@debbugs.gnu.org id=B29094.151261713128170 (code B ref 29094); Thu, 07 Dec 2017 03:26:01 +0000 Original-Received: (at 29094) by debbugs.gnu.org; 7 Dec 2017 03:25:31 +0000 Original-Received: from localhost ([127.0.0.1]:49679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMmoU-0007KI-RX for submit@debbugs.gnu.org; Wed, 06 Dec 2017 22:25:31 -0500 Original-Received: from magi.net.ru ([188.134.66.188]:19739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMmoQ-0007K4-Eb for 29094@debbugs.gnu.org; Wed, 06 Dec 2017 22:25:27 -0500 Original-Received: from magi.net.ru (localhost [127.0.0.1]) by magi.net.ru (OpenSMTPD) with ESMTP id 3bf2a515; Thu, 7 Dec 2017 06:25:23 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=magi.net.ru; h=date:from :to:cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=mail-2017-11-06-32301917; bh=CYx/ksmmLYocFiFIqwr MVfBVc7k=; b=G58WvCkpXoPGccz6Wm5l0SkYy3tcK4/LLe4uUmd4rVVCbasN9JX y9kAVPtereikZaWfxgRvsZNcOdNP1+tDRXbrq4r+bo6ldv6g9PBS7EQTuxg2mbv8 Il8kRqNAgU4/HFzuXzFcSjOAZUk9On0PVZ8tNx+2RkoLvyUIa/PkBcNbTZfReUAd rFESvyjGw2djaswgQYMVUlKxhtvvcYfuBGkiWcBHIW9PwgJwJVNa1476cfhPNfC7 eiwunGynEAJa9fOLL8FXLK4JCChNf0S18Md/CvAtYjgv3D7pmfAOV/y0xNGlYrnc 3O+HRUPFWSVmJkhZvsyRCTIl9twmVJtX2ig== DomainKey-Signature: a=rsa-sha1; c=nofws; d=magi.net.ru; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=mail-2017-11-06-32301917; b=z7oW9ucuSIe5k 3GnQiwnJCTHo4k+p4G40X4HljetxdTCGieD+PbE84KACk+2g7pMwF5NMH5Oq/Q22 HnVtPe2cMTktApHhoQkYRcobeoRAhuOY39wSAAq85I9ILnbY9KN1W+FOwyJy2jg9 7zt+G+W9w2XdEWLZyxLXzkYFL/wo255tGgetA34pxeOyyetYIwco9gdmJNT6LRTv YsxT78xxk2Hz/2F8UVBx8p5TbvqpDbjVOMqQ9NV4Jhn8mFucUPvWb5QglkXzsNB6 J2139kSFJ/9lSqdzjAAnLFLu+50Vh5BELCl/iAGw+T23k6ndwsa/7pzKG2POz2ai cdabqgLVw== Original-Received: from localhost (magi.net.ru [local]) by magi.net.ru (OpenSMTPD) with ESMTPA id 780ab58b; Thu, 7 Dec 2017 06:25:23 +0300 (MSK) Content-Disposition: inline In-Reply-To: <87bmjegd5s.fsf@users.sourceforge.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140773 Archived-At: Noam Postavsky writes: > So it's actually a bit surprising that the current values apparently > work for most people. I guess most GNU/Linux distros set the default > to stdin? I've investigated this a bit further. There is a DEFAULT_ARCHIVE variable in GNU tar which is set at configuration time. The default is '-'. Most distributions probably use the defaults. In OpenBSD [1] and FreeBSD [2] makefiles for GNU tar DEFAULT_ARCHIVE set to point to a tape drive. Probably to be consistent with tar(1) provided in the base system which is also points to a tape drive. > I assume you haven't assigned copyright to Emacs (so it should be > marked as a tiny change)? I haven't yet. As far as I know, these kind of small patches are accepted without assigning a copyright. If not, please, let me know. [1]: https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/archivers/gtar/Makefile?rev=1.78 [2]: https://svnweb.freebsd.org/ports/head/archivers/gtar/Makefile?revision=421635