From unknown Mon Jun 23 02:21:29 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#19377 <19377@debbugs.gnu.org> To: bug#19377 <19377@debbugs.gnu.org> Subject: Status: [PATCH] OS/2 patches Reply-To: bug#19377 <19377@debbugs.gnu.org> Date: Mon, 23 Jun 2025 09:21:29 +0000 retitle 19377 [PATCH] OS/2 patches reassign 19377 coreutils submitter 19377 KO Myung-Hun severity 19377 normal tag 19377 patch fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 13 22:48:15 2014 Received: (at submit) by debbugs.gnu.org; 14 Dec 2014 03:48:15 +0000 Received: from localhost ([127.0.0.1]:45143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y00AI-00067h-PU for submit@debbugs.gnu.org; Sat, 13 Dec 2014 22:48:14 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58751) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y00AH-000675-FP for submit@debbugs.gnu.org; Sat, 13 Dec 2014 22:48:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y00A3-0003sO-DS for submit@debbugs.gnu.org; Sat, 13 Dec 2014 22:48:08 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y00A3-0003sJ-Af for submit@debbugs.gnu.org; Sat, 13 Dec 2014 22:47:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y009p-0005ed-7b for bug-coreutils@gnu.org; Sat, 13 Dec 2014 22:47:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y009g-0003b5-6h for bug-coreutils@gnu.org; Sat, 13 Dec 2014 22:47:45 -0500 Received: from mail-pd0-x236.google.com ([2607:f8b0:400e:c02::236]:56621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y009f-0003at-W1 for bug-coreutils@gnu.org; Sat, 13 Dec 2014 22:47:36 -0500 Received: by mail-pd0-f182.google.com with SMTP id p10so9574544pdj.13 for ; Sat, 13 Dec 2014 19:47:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=sbzIysF6KmuDjHQtFzYq4QmvxS2/aUHBEI4yGZ7aJ5o=; b=sT95GFF8FW7J4foK09AF1ATt2GmU/Ygw+xFy8iPSlQiLNe9AWjSfZrUDo0CwwskxhT 2q2dePJtqVztbnoqtQB9qny0dfv5bK2CPa+AFZbsqdYRT6t63dOKwKpVfvi1lmH2fNe3 3fbP6roLsC7DnBQNFp1HUHvS8ub5wngdGdi3wWqlZwqBU6p+h7efx5WJjw6RV4GcwV1J YkvWxYGk4vuMGNziYMGgZvDjIO+W5KbCyM+Uku5aXOIYrhm5hA7Eilnmn8bH0gnKolgr cyaySR05/cXbLtT6XKW8HRx5kL2rF5APg9gSv2+ZpH8HxjsHYLhClD4WmXH4geA8U1bY s2wQ== X-Received: by 10.70.119.34 with SMTP id kr2mr39901575pdb.32.1418528855151; Sat, 13 Dec 2014 19:47:35 -0800 (PST) Received: from localhost.localdomain ([211.244.64.26]) by mx.google.com with ESMTPSA id qh4sm5435733pbb.35.2014.12.13.19.47.32 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 13 Dec 2014 19:47:33 -0800 (PST) From: KO Myung-Hun X-Google-Original-From: KO Myung-Hun To: bug-coreutils@gnu.org Subject: [PATCH] OS/2 patches Date: Sun, 14 Dec 2014 12:47:37 +0900 Message-Id: <1418528861-10270-1-git-send-email-komh@chollian.net> X-Mailer: git-send-email 1.8.5.2 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: -3.8 (---) 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: -3.8 (---) Hi/2. These are OS/2 patches for coreutils. Review, please... [PATCH 1/4] doc: add $(EXEEXT) suffix to the executables [PATCH 2/4] build: configure.ac: support a response file on OS/2 [PATCH 3/4] cat,chcon,chgrp,chmod,chown,cp,du,head: support wildcards [PATCH 4/4] build: use -pi.bak instead of -pi From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 14 08:13:13 2014 Received: (at control) by debbugs.gnu.org; 14 Dec 2014 13:13:13 +0000 Received: from localhost ([127.0.0.1]:45345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y08z2-0004X4-Hi for submit@debbugs.gnu.org; Sun, 14 Dec 2014 08:13:12 -0500 Received: from mail1.vodafone.ie ([213.233.128.43]:7711) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y08z0-0004Wr-4l for control@debbugs.gnu.org; Sun, 14 Dec 2014 08:13:10 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Am0MADKMjVRtTyGu/2dsb2JhbABagwaBDQaBOoETUGqIGap5kX2CRTVmFgEBAQEBfYQsCipUDQIFFgsCCwMCAQIBOQYCAggNCAEBiCwBq0ePQYVpkBmBIZFAgUEFnQCLKCKBRQEBCAEBAQGCGT6CcwIBAg Received: from unknown (HELO localhost.localdomain) ([109.79.33.174]) by mail1.vodafone.ie with ESMTP; 14 Dec 2014 13:13:04 +0000 Message-ID: <548D8CDF.9040003@draigBrady.com> Date: Sun, 14 Dec 2014 13:13:03 +0000 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: GNU bug tracker automated control server Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: forcemerge 19375 19377 [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [213.233.128.43 listed in list.dnswl.org] 0.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [109.79.33.174 listed in dnsbl.sorbs.net] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control 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.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: forcemerge 19375 19377 [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [213.233.128.43 listed in list.dnswl.org] 0.6 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [109.79.33.174 listed in dnsbl.sorbs.net] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 TVD_SPACE_RATIO TVD_SPACE_RATIO forcemerge 19375 19377 From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 14 08:18:00 2014 Received: (at 19377) by debbugs.gnu.org; 14 Dec 2014 13:18:00 +0000 Received: from localhost ([127.0.0.1]:45352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y093f-0005za-Sg for submit@debbugs.gnu.org; Sun, 14 Dec 2014 08:18:00 -0500 Received: from mail1.vodafone.ie ([213.233.128.43]:24103) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y093d-0005zG-Dx; Sun, 14 Dec 2014 08:17:57 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AksFAFuNjVRtTyGu/2dsb2JhbABagwaDYMZJgk0CgREWAQEBAQF9hAwBAQEDATIBSwsLDQsJFgQLCQMCAQIBRQYBDAgBAYggDAHAco9tAQsgj3mEKQEEnQCLKCKCMIE8PoJzAQEB Received: from unknown (HELO localhost.localdomain) ([109.79.33.174]) by mail1.vodafone.ie with ESMTP; 14 Dec 2014 13:17:51 +0000 Message-ID: <548D8DFE.3080608@draigBrady.com> Date: Sun, 14 Dec 2014 13:17:50 +0000 From: =?windows-1252?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: KO Myung-Hun , 19377@debbugs.gnu.org Subject: Re: bug#19378: [PATCH 3/4] cat, chcon, chgrp, chmod, chown, cp, du, head: support wildcards on OS/2 References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-4-git-send-email-komh@chollian.net> In-Reply-To: <1418528861-10270-4-git-send-email-komh@chollian.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: 19377 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.6 (/) forcemerge 19378 19377 stop On 14/12/14 03:47, KO Myung-Hun wrote: > And ln,ls,mv,rm,tail. > > * src/cat.c (main): Expand wildcards on OS/2. > * src/chcon.c (main): Likewise. > * src/chgrp.c (main): Likewise. > * src/chmod.c (main): Likewise. > * src/chown.c (main): Likewise. > * src/cp.c (main): Likewise. > * src/du.c (main): Likewise. > * src/head.c (main): Likewise. > * src/ln.c (main): Likewise. > * src/ls.c (main): Likewise. > * src/mv.c (main): Likewise. > * src/rm.c (main): Likewise. > * src/tail.c (main): Likewise. > > Patches from coreutils 8.8 by Paul Smedley. > diff --git a/src/cat.c b/src/cat.c > index c7bb7e1..0138114 100644 > --- a/src/cat.c > +++ b/src/cat.c > @@ -544,6 +544,10 @@ main (int argc, char **argv) > bool show_tabs = false; > int file_open_mode = O_RDONLY; > > +#ifdef __OS2__ > + _wildcard (&argc, &argv); > +#endif > + Interesing, the OS/2 shell doesn't doe the globbing. I'm wondering about the scalability of this. Are there any facilities for dealing with arbitrary numbers of files, like with xargs for example? What are the practical limits of the number of files? Does _wildcard() exit with an error in this case? thanks, Pádraig From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 14 08:25:21 2014 Received: (at 19377) by debbugs.gnu.org; 14 Dec 2014 13:25:21 +0000 Received: from localhost ([127.0.0.1]:45366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y09Am-0006Bb-4Z for submit@debbugs.gnu.org; Sun, 14 Dec 2014 08:25:20 -0500 Received: from mail1.vodafone.ie ([213.233.128.43]:58058) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y09Aj-0006BN-6y for 19377@debbugs.gnu.org; Sun, 14 Dec 2014 08:25:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuMIAJWOjVRtTyGu/2dsb2JhbABagwZSWII2wxyFdgICAoERFgEBAQEBfYQNAQUyAVYLDQsJFg8JAwIBAgFFBgEMCAEBiCwBwHKPbQELAR+PB3KEKQEEkUCGbIRUiygig2w+MIJDAQEB Received: from unknown (HELO localhost.localdomain) ([109.79.33.174]) by mail1.vodafone.ie with ESMTP; 14 Dec 2014 13:25:11 +0000 Message-ID: <548D8FB6.6000405@draigBrady.com> Date: Sun, 14 Dec 2014 13:25:10 +0000 From: =?windows-1252?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: KO Myung-Hun , 19377@debbugs.gnu.org Subject: Re: bug#19376: [PATCH 4/4] build: use -pi.bak instead of -pi References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-5-git-send-email-komh@chollian.net> In-Reply-To: <1418528861-10270-5-git-send-email-komh@chollian.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: 19377 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.6 (/) forcemerge 19376 19377 stop On 14/12/14 03:47, KO Myung-Hun wrote: > This fixes the following error. > > ----- > Can't do inplace edit without backup. > ----- > > * Makefile.am (dist-hook): Use -pi.bak instead of -pi. > * bootstrap.conf (bootstrap_epilogue): Likewise. > --- > Makefile.am | 2 +- > bootstrap.conf | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Makefile.am b/Makefile.am > index fb4af27..371eb59 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -105,7 +105,7 @@ BUILT_SOURCES = .version > # See the rm_subst comment for details. > dist-hook: gen-ChangeLog > $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version > - $(AM_V_at)perl -pi -e '$(rm_subst)' $(distdir)/Makefile.in > + $(AM_V_at)perl -pi.bak -e '$(rm_subst)' $(distdir)/Makefile.in > > gen_start_date = 2008-02-08 > .PHONY: gen-ChangeLog > diff --git a/bootstrap.conf b/bootstrap.conf > index c0b5f02..0baf455 100644 > --- a/bootstrap.conf > +++ b/bootstrap.conf > @@ -366,7 +366,7 @@ bootstrap_epilogue() > # Why? That pipeline searches all files in $(top_srcdir), and if you > # happen to have large files (or apparently large sparse files), the > # first grep may well run out of memory. > - perl -pi -e 's/if LC_ALL=C grep .GNU .PACKAGE.*; then/if true; then/' \ > + perl -pi.bak -e 's/if LC_ALL=C grep .GNU .PACKAGE.*; then/if true; then/' \ > po/Makefile.in.in > > # Install our git hooks, as long as "cp" accepts the --backup option, This will leave .bak files in place on all platforms which isn't ideal. Pity `perl -i` doesn't handle the platform differences transparently. Does sed -i behave better. That's less portable though could be tried and then fall back to perl -i. thanks, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 14 10:24:08 2014 Received: (at 19377) by debbugs.gnu.org; 14 Dec 2014 15:24:08 +0000 Received: from localhost ([127.0.0.1]:46195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0B1j-0002i6-Jw for submit@debbugs.gnu.org; Sun, 14 Dec 2014 10:24:07 -0500 Received: from mail-yk0-f173.google.com ([209.85.160.173]:40057) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0B1f-0002hY-Tr for 19377@debbugs.gnu.org; Sun, 14 Dec 2014 10:24:04 -0500 Received: by mail-yk0-f173.google.com with SMTP id 19so4341045ykq.32 for <19377@debbugs.gnu.org>; Sun, 14 Dec 2014 07:23:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=ZFF7Muc4eNS7Ffm/a3FVN5Gikb+NugkYcdNOXMOsrTs=; b=nun72Xdba8l/t/hueFYPTO6JnacbuXNmxcFpfiQrZt1lnQXuCG99BCfDRnaBNLLXpb Pj4IXEL0+7a2KI62KxdQiC7EAvNm/cMlOr398E92WumebIj91oPXO0teru7lAsuCtKxw Sh+rVEYBJx9XVr/wiVMFj18fKFu3AANMMb8i0x9xRv3Vl0NXPPx2mEi/Ib648LkuoJOG J4LCj1LdEXjJbej+i3qxadbcPny33o4iG7/g5JSyV7FJ/XM2Tz3N/lNJdRonqNkT00GR t3GGN6ZTV6j90IWmdBBIWsK5f7ZyzMJlri56p9ZbmjRxH1ETV1rFLNfRz1iP5S+Zetza 6aJw== X-Received: by 10.236.38.103 with SMTP id z67mr18824962yha.185.1418570638228; Sun, 14 Dec 2014 07:23:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.139.67 with HTTP; Sun, 14 Dec 2014 07:23:38 -0800 (PST) In-Reply-To: <548D8FB6.6000405@draigBrady.com> References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-5-git-send-email-komh@chollian.net> <548D8FB6.6000405@draigBrady.com> From: Jim Meyering Date: Sun, 14 Dec 2014 07:23:38 -0800 X-Google-Sender-Auth: emt-beSm399BnX_SAF8LSk5YqS0 Message-ID: Subject: Re: bug#19377: bug#19376: [PATCH 4/4] build: use -pi.bak instead of -pi To: =?ISO-8859-1?Q?P=E1draig_Brady?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19377 Cc: 19377@debbugs.gnu.org, KO Myung-Hun 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 Sun, Dec 14, 2014 at 5:25 AM, P=E1draig Brady wrote: > forcemerge 19376 19377 > stop > > On 14/12/14 03:47, KO Myung-Hun wrote: >> This fixes the following error. >> >> ----- >> Can't do inplace edit without backup. >> ----- >> >> * Makefile.am (dist-hook): Use -pi.bak instead of -pi. >> * bootstrap.conf (bootstrap_epilogue): Likewise. >> --- >> Makefile.am | 2 +- >> bootstrap.conf | 2 +- >> 2 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/Makefile.am b/Makefile.am >> index fb4af27..371eb59 100644 >> --- a/Makefile.am >> +++ b/Makefile.am >> @@ -105,7 +105,7 @@ BUILT_SOURCES =3D .version >> # See the rm_subst comment for details. >> dist-hook: gen-ChangeLog >> $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version >> - $(AM_V_at)perl -pi -e '$(rm_subst)' $(distdir)/Makefile.in >> + $(AM_V_at)perl -pi.bak -e '$(rm_subst)' $(distdir)/Makefile.in >> >> gen_start_date =3D 2008-02-08 >> .PHONY: gen-ChangeLog >> diff --git a/bootstrap.conf b/bootstrap.conf >> index c0b5f02..0baf455 100644 >> --- a/bootstrap.conf >> +++ b/bootstrap.conf >> @@ -366,7 +366,7 @@ bootstrap_epilogue() >> # Why? That pipeline searches all files in $(top_srcdir), and if you >> # happen to have large files (or apparently large sparse files), the >> # first grep may well run out of memory. >> - perl -pi -e 's/if LC_ALL=3DC grep .GNU .PACKAGE.*; then/if true; then= /' \ >> + perl -pi.bak -e 's/if LC_ALL=3DC grep .GNU .PACKAGE.*; then/if true; = then/' \ >> po/Makefile.in.in >> >> # Install our git hooks, as long as "cp" accepts the --backup option, > > This will leave .bak files in place on all platforms which isn't ideal. > Pity `perl -i` doesn't handle the platform differences transparently. > Does sed -i behave better. That's less portable though could be tried > and then fall back to perl -i. Actually, neither of those uses of perl -pi is run by one who builds from a distribution tarball. Only people who build from git and who run "make dist" will run those commands, so I think it is fine to require a working version of perl for those uses. i.e., I would prefer not to incur the cost of ugly work-around changes here for what appears to be a very "fringe" platform. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 14 20:15:53 2014 Received: (at 19377) by debbugs.gnu.org; 15 Dec 2014 01:15:53 +0000 Received: from localhost ([127.0.0.1]:46332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0KGO-0002Wp-Ha for submit@debbugs.gnu.org; Sun, 14 Dec 2014 20:15:52 -0500 Received: from mail-pd0-f179.google.com ([209.85.192.179]:58015) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0KGL-0002Wa-7X for 19377@debbugs.gnu.org; Sun, 14 Dec 2014 20:15:50 -0500 Received: by mail-pd0-f179.google.com with SMTP id fp1so10524669pdb.24 for <19377@debbugs.gnu.org>; Sun, 14 Dec 2014 17:15:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=+/+mNz8RqafolDT5fNI4BIh1kuxzB7sRO7Kq9GJJh74=; b=FIwfLKr1zgTGKGy88nyJS/sdpYrlXIhCUxxiOz9LJ3cb3gJXADHaBiDq1MhvtYW4Dl Ue2SHG/FwRqi0w7UwSwJ+ZWG3J6c5KkGhgRbKJek8Q/fRWe7eTtPfXwCvTas1quTWh5x yf+eTQ97a1gyfyl5XE1pWu0ahuC1GPfoMgSKhFdrapYCg24+zVZWSw/9ecrCSfARxPGc gKiQqon7zlwBIx1mLJvNyUFF1yejrg03H6Z7KKql7W7qu03wWRIIF1q8TWEKahAmInFR S+S5rvqD+SfVKlEFeXmQ633fHAiLBF2zigc1qzxws9qNOAEyZ8rOUCXx2TJ2Hbeepbsd /scQ== X-Received: by 10.70.54.161 with SMTP id k1mr46088390pdp.110.1418606143342; Sun, 14 Dec 2014 17:15:43 -0800 (PST) Received: from [10.0.2.15] ([211.244.64.26]) by mx.google.com with ESMTPSA id kj9sm7498520pbc.37.2014.12.14.17.15.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 14 Dec 2014 17:15:42 -0800 (PST) Message-ID: <548E364C.2060603@gmail.com> Date: Mon, 15 Dec 2014 10:15:56 +0900 From: KO Myung-Hun User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2 MIME-Version: 1.0 To: =?windows-1252?Q?P=E1draig_Brady?= Subject: Re: bug#19378: [PATCH 3/4] cat, chcon, chgrp, chmod, chown, cp, du, head: support wildcards on OS/2 References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-4-git-send-email-komh@chollian.net> <548D8DFE.3080608@draigBrady.com> In-Reply-To: <548D8DFE.3080608@draigBrady.com> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 19377 Cc: 19377@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.4 (/) Pádraig Brady wrote: > forcemerge 19378 19377 > stop > > On 14/12/14 03:47, KO Myung-Hun wrote: >> And ln,ls,mv,rm,tail. >> >> * src/cat.c (main): Expand wildcards on OS/2. >> * src/chcon.c (main): Likewise. >> * src/chgrp.c (main): Likewise. >> * src/chmod.c (main): Likewise. >> * src/chown.c (main): Likewise. >> * src/cp.c (main): Likewise. >> * src/du.c (main): Likewise. >> * src/head.c (main): Likewise. >> * src/ln.c (main): Likewise. >> * src/ls.c (main): Likewise. >> * src/mv.c (main): Likewise. >> * src/rm.c (main): Likewise. >> * src/tail.c (main): Likewise. >> >> Patches from coreutils 8.8 by Paul Smedley. > >> diff --git a/src/cat.c b/src/cat.c >> index c7bb7e1..0138114 100644 >> --- a/src/cat.c >> +++ b/src/cat.c >> @@ -544,6 +544,10 @@ main (int argc, char **argv) >> bool show_tabs = false; >> int file_open_mode = O_RDONLY; >> >> +#ifdef __OS2__ >> + _wildcard (&argc, &argv); >> +#endif >> + > > Interesing, the OS/2 shell doesn't doe the globbing. Ported unixy shells(sh) support it, but OS/2 default shell(CMD) does not. > I'm wondering about the scalability of this. > Are there any facilities for dealing with arbitrary numbers > of files, like with xargs for example? No. It always processes all files. > What are the practical limits of the number of files? It's up to a free memory. > Does _wildcard() exit with an error in this case? > Call exit(255) with printing an error message. -- KO Myung-Hun Using Mozilla SeaMonkey 2.7.2 Under OS/2 Warp 4 for Korean with FixPak #15 In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 14 20:26:43 2014 Received: (at 19377) by debbugs.gnu.org; 15 Dec 2014 01:26:44 +0000 Received: from localhost ([127.0.0.1]:46336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0KQt-0002lu-5p for submit@debbugs.gnu.org; Sun, 14 Dec 2014 20:26:43 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:41514) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0KQr-0002lg-1z for 19377@debbugs.gnu.org; Sun, 14 Dec 2014 20:26:41 -0500 Received: by mail-pa0-f50.google.com with SMTP id bj1so10768330pad.37 for <19377@debbugs.gnu.org>; Sun, 14 Dec 2014 17:26:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ovQkkmHtC15xj0/w2RN5ZAPPjNKwGiNQDTIi6FVTWWI=; b=phLhTCimbOp+NbLevBpd3WX6AYLCTN+CqGe8xkhOo7NhjbKRZh76yATaEL1encJ6oO DGgWJDWzOwv9mQ5cpqJVB0YrDOZuWXEMK/sGmYkSkDwCWSKh17/twhgNJVW4XlF+ZTcV UjHd5PpzpSOtdGDh/xGThKyFfIDw9ryOju83H0optQIcm7lYXNE9OiVe4Azr23UghaLe d2LuoajFfKI0T5WiI3joQYd6ihcwV6bnBzu+9xPpbGtAUQ6co1mmvReaN5bkmOEhjFBN b+RseoPR7UZEv02m6P3q/DrvIK5GY2WuSrRwhGg4o0Ll/lwmrIaEbUxe7jMlw0gBsYj1 Mm/A== X-Received: by 10.66.140.76 with SMTP id re12mr45306396pab.147.1418606795157; Sun, 14 Dec 2014 17:26:35 -0800 (PST) Received: from [10.0.2.15] ([211.244.64.26]) by mx.google.com with ESMTPSA id wm1sm83681pac.11.2014.12.14.17.26.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 14 Dec 2014 17:26:34 -0800 (PST) Message-ID: <548E38D8.7010407@gmail.com> Date: Mon, 15 Dec 2014 10:26:48 +0900 From: KO Myung-Hun User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2 MIME-Version: 1.0 To: Jim Meyering Subject: Re: bug#19377: bug#19376: [PATCH 4/4] build: use -pi.bak instead of -pi References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-5-git-send-email-komh@chollian.net> <548D8FB6.6000405@draigBrady.com> In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 19377 Cc: 19377@debbugs.gnu.org, =?ISO-8859-1?Q?P=E1draig_Brady?= 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.4 (/) Jim Meyering wrote: > On Sun, Dec 14, 2014 at 5:25 AM, Pádraig Brady wrote: >> forcemerge 19376 19377 >> stop >> >> On 14/12/14 03:47, KO Myung-Hun wrote: >>> This fixes the following error. >>> >>> ----- >>> Can't do inplace edit without backup. >>> ----- >>> >>> * Makefile.am (dist-hook): Use -pi.bak instead of -pi. >>> * bootstrap.conf (bootstrap_epilogue): Likewise. >>> --- >>> Makefile.am | 2 +- >>> bootstrap.conf | 2 +- >>> 2 files changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git a/Makefile.am b/Makefile.am >>> index fb4af27..371eb59 100644 >>> --- a/Makefile.am >>> +++ b/Makefile.am >>> @@ -105,7 +105,7 @@ BUILT_SOURCES = .version >>> # See the rm_subst comment for details. >>> dist-hook: gen-ChangeLog >>> $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version >>> - $(AM_V_at)perl -pi -e '$(rm_subst)' $(distdir)/Makefile.in >>> + $(AM_V_at)perl -pi.bak -e '$(rm_subst)' $(distdir)/Makefile.in >>> >>> gen_start_date = 2008-02-08 >>> .PHONY: gen-ChangeLog >>> diff --git a/bootstrap.conf b/bootstrap.conf >>> index c0b5f02..0baf455 100644 >>> --- a/bootstrap.conf >>> +++ b/bootstrap.conf >>> @@ -366,7 +366,7 @@ bootstrap_epilogue() >>> # Why? That pipeline searches all files in $(top_srcdir), and if you >>> # happen to have large files (or apparently large sparse files), the >>> # first grep may well run out of memory. >>> - perl -pi -e 's/if LC_ALL=C grep .GNU .PACKAGE.*; then/if true; then/' \ >>> + perl -pi.bak -e 's/if LC_ALL=C grep .GNU .PACKAGE.*; then/if true; then/' \ >>> po/Makefile.in.in >>> >>> # Install our git hooks, as long as "cp" accepts the --backup option, >> >> This will leave .bak files in place on all platforms which isn't ideal. >> Pity `perl -i` doesn't handle the platform differences transparently. >> Does sed -i behave better. That's less portable though could be tried >> and then fall back to perl -i. > > Actually, neither of those uses of perl -pi is run by one who builds > from a distribution tarball. Only people who build from git and who > run "make dist" will run those commands, so I think it is fine to > require a working version of perl for those uses. > Yes, getting a working perl would be better. > i.e., I would prefer not to incur the cost of ugly work-around > changes here for what appears to be a very "fringe" platform. Ah, ok. This is a destiny of a very "fringe" platform. Thanks. -- KO Myung-Hun Using Mozilla SeaMonkey 2.7.2 Under OS/2 Warp 4 for Korean with FixPak #15 In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 15 04:13:20 2014 Received: (at 19377) by debbugs.gnu.org; 15 Dec 2014 09:13:20 +0000 Received: from localhost ([127.0.0.1]:46432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0RiS-0005Vz-7O for submit@debbugs.gnu.org; Mon, 15 Dec 2014 04:13:20 -0500 Received: from mail2.vodafone.ie ([213.233.128.44]:14228) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0RiQ-0005Vg-1v for 19377@debbugs.gnu.org; Mon, 15 Dec 2014 04:13:18 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhQFADmljlRtTEPG/2dsb2JhbABahmbJHQKBGBYCAQEBfYQNAQUyAUYQCw0LCRYECwkDAgECAUUGDQEHAQGILAHBWpBAj3IHhCkFnQCLKCKCMIE8PoJzAQEB Received: from unknown (HELO localhost.localdomain) ([109.76.67.198]) by mail2.vodafone.ie with ESMTP; 15 Dec 2014 08:57:14 +0000 Message-ID: <548EA26B.7060103@draigBrady.com> Date: Mon, 15 Dec 2014 08:57:15 +0000 From: =?windows-1252?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: KO Myung-Hun Subject: Re: bug#19378: [PATCH 3/4] cat, chcon, chgrp, chmod, chown, cp, du, head: support wildcards on OS/2 References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-4-git-send-email-komh@chollian.net> <548D8DFE.3080608@draigBrady.com> <548E364C.2060603@gmail.com> In-Reply-To: <548E364C.2060603@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19377 Cc: 19377@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.0 (/) On 15/12/14 01:15, KO Myung-Hun wrote: > > > Pádraig Brady wrote: >> forcemerge 19378 19377 >> stop >> >> On 14/12/14 03:47, KO Myung-Hun wrote: >>> And ln,ls,mv,rm,tail. >>> >>> * src/cat.c (main): Expand wildcards on OS/2. >>> * src/chcon.c (main): Likewise. >>> * src/chgrp.c (main): Likewise. >>> * src/chmod.c (main): Likewise. >>> * src/chown.c (main): Likewise. >>> * src/cp.c (main): Likewise. >>> * src/du.c (main): Likewise. >>> * src/head.c (main): Likewise. >>> * src/ln.c (main): Likewise. >>> * src/ls.c (main): Likewise. >>> * src/mv.c (main): Likewise. >>> * src/rm.c (main): Likewise. >>> * src/tail.c (main): Likewise. >>> >>> Patches from coreutils 8.8 by Paul Smedley. >> >>> diff --git a/src/cat.c b/src/cat.c >>> index c7bb7e1..0138114 100644 >>> --- a/src/cat.c >>> +++ b/src/cat.c >>> @@ -544,6 +544,10 @@ main (int argc, char **argv) >>> bool show_tabs = false; >>> int file_open_mode = O_RDONLY; >>> >>> +#ifdef __OS2__ >>> + _wildcard (&argc, &argv); >>> +#endif >>> + >> >> Interesing, the OS/2 shell doesn't doe the globbing. > > Ported unixy shells(sh) support it, but OS/2 default shell(CMD) does not. > >> I'm wondering about the scalability of this. >> Are there any facilities for dealing with arbitrary numbers >> of files, like with xargs for example? > > No. It always processes all files. > >> What are the practical limits of the number of files? > > It's up to a free memory. > >> Does _wildcard() exit with an error in this case? >> > > Call exit(255) with printing an error message. > While the adjustment is small, it would be better to avoid the ifdef in all programs. I think there is a -Zwildcard option to auto enable for all programs? Also is there an option to disable this expansion at runtime (which should be documented if available). For example to allow deleting a file called '*', which seems like a more likely occurrence on this platform. thanks, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 15 10:00:10 2014 Received: (at 19377) by debbugs.gnu.org; 15 Dec 2014 15:00:10 +0000 Received: from localhost ([127.0.0.1]:47074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0X85-0006xq-0C for submit@debbugs.gnu.org; Mon, 15 Dec 2014 10:00:09 -0500 Received: from mail-yk0-f173.google.com ([209.85.160.173]:62131) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0X81-0006wi-QH for 19377@debbugs.gnu.org; Mon, 15 Dec 2014 10:00:07 -0500 Received: by mail-yk0-f173.google.com with SMTP id 19so4961506ykq.4 for <19377@debbugs.gnu.org>; Mon, 15 Dec 2014 06:59:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=uROwOmkyIlcTEhQGNaswXcQdka4F9LeQMQLVsfa/nu4=; b=bAIKIi4YVDtusq1kLYCkFZ2BYk6IYt7WuT+jfHIub+nYy1c8rPwZZgTduf1BCw3rzC hxBZAMUyDkmcwW1952nr3cWdgUgG+yhhgKX7ggs2cKtV0mk2GjViGMPM1SEGEssWYoNH tcDl/vKhhqyU+iYGVK5LdAL3xz2s+kD41dGlvFuhVKFzpvf1xkCAeBe/HN0eue5F01KA +oHovsfV2i+CsEZvoBZLJTuFq+ZB6WtdEOJQbj2YtxQRfvqlUfyxpFedrw9MWR1F0D7d Wh/UPli0AYHy0aI5RNRvbI8S6iRuu5OW6BWpEoqZMyXE3iRbRjheE5XwWzRKArm4v4Zv bpnQ== X-Received: by 10.236.1.70 with SMTP id 46mr22169964yhc.78.1418655599754; Mon, 15 Dec 2014 06:59:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.139.67 with HTTP; Mon, 15 Dec 2014 06:59:38 -0800 (PST) In-Reply-To: <548EA26B.7060103@draigBrady.com> References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-4-git-send-email-komh@chollian.net> <548D8DFE.3080608@draigBrady.com> <548E364C.2060603@gmail.com> <548EA26B.7060103@draigBrady.com> From: Jim Meyering Date: Mon, 15 Dec 2014 06:59:38 -0800 X-Google-Sender-Auth: NFpNsG0V4qblJmsAZNTknDhsfV8 Message-ID: Subject: Re: bug#19377: bug#19378: [PATCH 3/4] cat, chcon, chgrp, chmod, chown, cp, du, head: support wildcards on OS/2 To: =?ISO-8859-1?Q?P=E1draig_Brady?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19377 Cc: 19377 <19377@debbugs.gnu.org>, KO Myung-Hun 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 Mon, Dec 15, 2014 at 12:57 AM, P=E1draig Brady wrote: > On 15/12/14 01:15, KO Myung-Hun wrote: >> >> >> P=E1draig Brady wrote: >>> forcemerge 19378 19377 >>> stop >>> >>> On 14/12/14 03:47, KO Myung-Hun wrote: >>>> And ln,ls,mv,rm,tail. >>>> >>>> * src/cat.c (main): Expand wildcards on OS/2. >>>> * src/chcon.c (main): Likewise. >>>> * src/chgrp.c (main): Likewise. >>>> * src/chmod.c (main): Likewise. >>>> * src/chown.c (main): Likewise. >>>> * src/cp.c (main): Likewise. >>>> * src/du.c (main): Likewise. >>>> * src/head.c (main): Likewise. >>>> * src/ln.c (main): Likewise. >>>> * src/ls.c (main): Likewise. >>>> * src/mv.c (main): Likewise. >>>> * src/rm.c (main): Likewise. >>>> * src/tail.c (main): Likewise. >>>> >>>> Patches from coreutils 8.8 by Paul Smedley. >>> >>>> diff --git a/src/cat.c b/src/cat.c >>>> index c7bb7e1..0138114 100644 >>>> --- a/src/cat.c >>>> +++ b/src/cat.c >>>> @@ -544,6 +544,10 @@ main (int argc, char **argv) >>>> bool show_tabs =3D false; >>>> int file_open_mode =3D O_RDONLY; >>>> >>>> +#ifdef __OS2__ >>>> + _wildcard (&argc, &argv); >>>> +#endif >>>> + >>> >>> Interesing, the OS/2 shell doesn't doe the globbing. >> >> Ported unixy shells(sh) support it, but OS/2 default shell(CMD) does not= . >> >>> I'm wondering about the scalability of this. >>> Are there any facilities for dealing with arbitrary numbers >>> of files, like with xargs for example? >> >> No. It always processes all files. >> >>> What are the practical limits of the number of files? >> >> It's up to a free memory. >> >>> Does _wildcard() exit with an error in this case? >>> >> >> Call exit(255) with printing an error message. >> > > While the adjustment is small, it would be better to avoid the ifdef in a= ll programs. > I think there is a -Zwildcard option to auto enable for all programs? > Also is there an option to disable this expansion at runtime > (which should be documented if available). > For example to allow deleting a file called '*', which seems like a more = likely > occurrence on this platform. It would be better still not to modify so many programs directly. Can you instead add one occurrence of that ifdef in system.h, to change the definition of the initialize_main macro that is already used from every main program? From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 15 21:00:00 2014 Received: (at 19377) by debbugs.gnu.org; 16 Dec 2014 02:00:00 +0000 Received: from localhost ([127.0.0.1]:47308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0hQd-0006L2-G1 for submit@debbugs.gnu.org; Mon, 15 Dec 2014 20:59:59 -0500 Received: from mail-pd0-f180.google.com ([209.85.192.180]:52557) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0hQZ-0006Ks-Ty for 19377@debbugs.gnu.org; Mon, 15 Dec 2014 20:59:57 -0500 Received: by mail-pd0-f180.google.com with SMTP id w10so12756884pde.25 for <19377@debbugs.gnu.org>; Mon, 15 Dec 2014 17:59:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=XYLApo1xxkldle5xRLUV50P/sklx0mpcs+pbOzrIAd8=; b=HC42XB2nYuIuC78IQhBSCQ8o05YDoVZNo98E/BS6peJ9SGbMyVwN/quNc7BZ1w4eak 3IviwoKV9rN2WcQMB2Yr50xQpOiabcVJEf0FW/PprD7KtvA6YH2YNT1QTTOYYfp3Nbmt ILJAeW/KwtqjfFXKPW+4sPgc0+DgYC/G0zAL6Tq1wIcWFBL6M8A5rKs4K6R2RexM+GuE 6awu0A1VHEcVsb0x+D5VoxP9CYxK7WezIdMGwXvxlq09Z5NKwLb/nWkXWedEUJpmjxap igj+ia1esaTNzITVfSDZF11x0Q+yRntrfsBAtTPOCDl9sJMQlNkZK0OdjpfUfkwLoXTS Oy4A== X-Received: by 10.70.47.6 with SMTP id z6mr56941184pdm.82.1418695194627; Mon, 15 Dec 2014 17:59:54 -0800 (PST) Received: from [10.0.2.15] ([211.244.64.26]) by mx.google.com with ESMTPSA id d14sm10514139pdj.46.2014.12.15.17.59.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Dec 2014 17:59:53 -0800 (PST) Message-ID: <548F922A.2000506@gmail.com> Date: Tue, 16 Dec 2014 11:00:10 +0900 From: KO Myung-Hun User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2 MIME-Version: 1.0 To: =?windows-1252?Q?P=E1draig_Brady?= Subject: Re: bug#19377: bug#19378: [PATCH 3/4] cat, chcon, chgrp, chmod, chown, cp, du, head: support wildcards on OS/2 References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-4-git-send-email-komh@chollian.net> <548D8DFE.3080608@draigBrady.com> <548E364C.2060603@gmail.com> <548EA26B.7060103@draigBrady.com> In-Reply-To: <548EA26B.7060103@draigBrady.com> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 19377 Cc: 19377@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.4 (/) Pádraig Brady wrote: > On 15/12/14 01:15, KO Myung-Hun wrote: >> >> >> Pádraig Brady wrote: >>> forcemerge 19378 19377 >>> stop >>> >>> On 14/12/14 03:47, KO Myung-Hun wrote: >>>> And ln,ls,mv,rm,tail. >>>> >>>> * src/cat.c (main): Expand wildcards on OS/2. >>>> * src/chcon.c (main): Likewise. >>>> * src/chgrp.c (main): Likewise. >>>> * src/chmod.c (main): Likewise. >>>> * src/chown.c (main): Likewise. >>>> * src/cp.c (main): Likewise. >>>> * src/du.c (main): Likewise. >>>> * src/head.c (main): Likewise. >>>> * src/ln.c (main): Likewise. >>>> * src/ls.c (main): Likewise. >>>> * src/mv.c (main): Likewise. >>>> * src/rm.c (main): Likewise. >>>> * src/tail.c (main): Likewise. >>>> >>>> Patches from coreutils 8.8 by Paul Smedley. >>> >>>> diff --git a/src/cat.c b/src/cat.c >>>> index c7bb7e1..0138114 100644 >>>> --- a/src/cat.c >>>> +++ b/src/cat.c >>>> @@ -544,6 +544,10 @@ main (int argc, char **argv) >>>> bool show_tabs = false; >>>> int file_open_mode = O_RDONLY; >>>> >>>> +#ifdef __OS2__ >>>> + _wildcard (&argc, &argv); >>>> +#endif >>>> + >>> >>> Interesing, the OS/2 shell doesn't doe the globbing. >> >> Ported unixy shells(sh) support it, but OS/2 default shell(CMD) does not. >> >>> I'm wondering about the scalability of this. >>> Are there any facilities for dealing with arbitrary numbers >>> of files, like with xargs for example? >> >> No. It always processes all files. >> >>> What are the practical limits of the number of files? >> >> It's up to a free memory. >> >>> Does _wildcard() exit with an error in this case? >>> >> >> Call exit(255) with printing an error message. >> > > While the adjustment is small, it would be better to avoid the ifdef in all programs. > I think there is a -Zwildcard option to auto enable for all programs? Good guess. -Zargs-wild. > Also is there an option to disable this expansion at runtime > (which should be documented if available). What do you mean by 'at runtime' ? On command line ? Or a function opposite to _wildcard() ? In the former, escaping like unixy shells is used. In the latter, no functions. > For example to allow deleting a file called '*', which seems like a more likely > occurrence on this platform. > both '*' and '?' are illegal for a filename on OS/2. -- KO Myung-Hun Using Mozilla SeaMonkey 2.7.2 Under OS/2 Warp 4 for Korean with FixPak #15 In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 15 21:34:17 2014 Received: (at 19377) by debbugs.gnu.org; 16 Dec 2014 02:34:17 +0000 Received: from localhost ([127.0.0.1]:47318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0hxo-0007AG-Dd for submit@debbugs.gnu.org; Mon, 15 Dec 2014 21:34:16 -0500 Received: from mail-pd0-f182.google.com ([209.85.192.182]:33291) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0hxl-0007A6-Fq for 19377@debbugs.gnu.org; Mon, 15 Dec 2014 21:34:14 -0500 Received: by mail-pd0-f182.google.com with SMTP id p10so12950664pdj.27 for <19377@debbugs.gnu.org>; Mon, 15 Dec 2014 18:34:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=IiFdyd04YGtoRKFevi0ukX7dTLX3nT7OfK57oz2DF+s=; b=clPjebyoRySaO14MfzpzeoX/4usrOkwlj+juJBcEd1nAD4pngcvn22rpnEDZL5eYEK xxvuCN8vItNggJ8S9JZ+R+F58Z2RR3hpUFQwy4hWrOfnf7OL88ZXPDST2QdjHO0tKEZV a33M406RH1W+BZpWgxAZ+Im/SWgT0i4TKYKkgexgxoWMQpdkkeHm8jHTc6/itwRhv+L8 mnvZhUz+PH6A/8FPuzPfTA8F70ORI/DDrykVr2sBD5DJ89gVmzyT0hYgdm5xjT24FJJ3 PEfngci/ankK73COMf0ipMmXi9Q8B7ElZfWNY80C3Q5HiF7jLD3hOfvDQhh0ItO39qWn Tdcw== X-Received: by 10.68.218.7 with SMTP id pc7mr56450230pbc.80.1418697252539; Mon, 15 Dec 2014 18:34:12 -0800 (PST) Received: from [10.0.2.15] ([211.244.64.26]) by mx.google.com with ESMTPSA id c9sm10538324pdn.81.2014.12.15.18.34.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Dec 2014 18:34:11 -0800 (PST) Message-ID: <548F9A34.6000004@gmail.com> Date: Tue, 16 Dec 2014 11:34:28 +0900 From: KO Myung-Hun User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2 MIME-Version: 1.0 To: Jim Meyering Subject: Re: bug#19377: bug#19378: [PATCH 3/4] cat, chcon, chgrp, chmod, chown, cp, du, head: support wildcards on OS/2 References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-4-git-send-email-komh@chollian.net> <548D8DFE.3080608@draigBrady.com> <548E364C.2060603@gmail.com> <548EA26B.7060103@draigBrady.com> In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: multipart/mixed; boundary="------------090805030309090809020908" X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 19377 Cc: 19377 <19377@debbugs.gnu.org>, =?ISO-8859-1?Q?P=E1draig_Brady?= 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.4 (/) This is a multi-part message in MIME format. --------------090805030309090809020908 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Jim Meyering wrote: > On Mon, Dec 15, 2014 at 12:57 AM, Pádraig Brady wrote: >> On 15/12/14 01:15, KO Myung-Hun wrote: >>> >>> >>> Pádraig Brady wrote: >>>> forcemerge 19378 19377 >>>> stop >>>> >>>> On 14/12/14 03:47, KO Myung-Hun wrote: >>>>> And ln,ls,mv,rm,tail. >>>>> >>>>> * src/cat.c (main): Expand wildcards on OS/2. >>>>> * src/chcon.c (main): Likewise. >>>>> * src/chgrp.c (main): Likewise. >>>>> * src/chmod.c (main): Likewise. >>>>> * src/chown.c (main): Likewise. >>>>> * src/cp.c (main): Likewise. >>>>> * src/du.c (main): Likewise. >>>>> * src/head.c (main): Likewise. >>>>> * src/ln.c (main): Likewise. >>>>> * src/ls.c (main): Likewise. >>>>> * src/mv.c (main): Likewise. >>>>> * src/rm.c (main): Likewise. >>>>> * src/tail.c (main): Likewise. >>>>> >>>>> Patches from coreutils 8.8 by Paul Smedley. >>>> >>>>> diff --git a/src/cat.c b/src/cat.c >>>>> index c7bb7e1..0138114 100644 >>>>> --- a/src/cat.c >>>>> +++ b/src/cat.c >>>>> @@ -544,6 +544,10 @@ main (int argc, char **argv) >>>>> bool show_tabs = false; >>>>> int file_open_mode = O_RDONLY; >>>>> >>>>> +#ifdef __OS2__ >>>>> + _wildcard (&argc, &argv); >>>>> +#endif >>>>> + >>>> >>>> Interesing, the OS/2 shell doesn't doe the globbing. >>> >>> Ported unixy shells(sh) support it, but OS/2 default shell(CMD) does not. >>> >>>> I'm wondering about the scalability of this. >>>> Are there any facilities for dealing with arbitrary numbers >>>> of files, like with xargs for example? >>> >>> No. It always processes all files. >>> >>>> What are the practical limits of the number of files? >>> >>> It's up to a free memory. >>> >>>> Does _wildcard() exit with an error in this case? >>>> >>> >>> Call exit(255) with printing an error message. >>> >> >> While the adjustment is small, it would be better to avoid the ifdef in all programs. >> I think there is a -Zwildcard option to auto enable for all programs? >> Also is there an option to disable this expansion at runtime >> (which should be documented if available). >> For example to allow deleting a file called '*', which seems like a more likely >> occurrence on this platform. > > It would be better still not to modify so many programs directly. > Can you instead add one occurrence of that ifdef in system.h, > to change the definition of the initialize_main macro that is > already used from every main program? Good suggestion. I merged patch3 and patch4. -- KO Myung-Hun Using Mozilla SeaMonkey 2.7.2 Under OS/2 Warp 4 for Korean with FixPak #15 In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr --------------090805030309090809020908 Content-Type: text/plain; name="0001-build-expand-a-response-file-and-a-wildcard-on-OS-2.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-build-expand-a-response-file-and-a-wildcard-on-OS-2.pat"; filename*1="ch" >From 585596682bcee144eb05941ba4bfd01f2f107165 Mon Sep 17 00:00:00 2001 From: KO Myung-Hun Date: Tue, 16 Dec 2014 11:27:28 +0900 Subject: [PATCH] build: expand a response file and a wildcard on OS/2 OS/2 traditional shells(cmd) does not expand a response file(@file) and a wildcard. Expand them in an utility itself. * src/system.h (initialize_main): Define on OS/2. Expand a response file and a wildcard. --- src/system.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/system.h b/src/system.h index 8b3f768..62d5815 100644 --- a/src/system.h +++ b/src/system.h @@ -137,7 +137,12 @@ enum /* Redirection and wildcarding when done by the utility itself. Generally a noop, but used in particular for native VMS. */ #ifndef initialize_main -# define initialize_main(ac, av) +# ifndef __OS2__ +# define initialize_main(ac, av) +# else +# define initialize_main(ac, av) \ + do { _wildcard(ac, av); _response(ac, av); } while (0) +# endif #endif #include "stat-macros.h" -- 1.8.5.2 --------------090805030309090809020908-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 15 23:23:03 2014 Received: (at 19377) by debbugs.gnu.org; 16 Dec 2014 04:23:03 +0000 Received: from localhost ([127.0.0.1]:47330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0jf4-0001OK-OU for submit@debbugs.gnu.org; Mon, 15 Dec 2014 23:23:02 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:57700) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0jf2-0001Np-5c for 19377@debbugs.gnu.org; Mon, 15 Dec 2014 23:23:00 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 422A5A60077; Mon, 15 Dec 2014 20:22:59 -0800 (PST) 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 5KQNIfJRjQQS; Mon, 15 Dec 2014 20:22:50 -0800 (PST) Received: from [192.168.1.9] (pool-71-177-17-123.lsanca.dsl-w.verizon.net [71.177.17.123]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 89869A60073; Mon, 15 Dec 2014 20:22:50 -0800 (PST) Message-ID: <548FB39A.8090800@cs.ucla.edu> Date: Mon, 15 Dec 2014 20:22:50 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: KO Myung-Hun Subject: Re: bug#19377: bug#19378: [PATCH 3/4] cat, chcon, chgrp, chmod, chown, cp, du, head: support wildcards on OS/2 References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-4-git-send-email-komh@chollian.net> <548D8DFE.3080608@draigBrady.com> <548E364C.2060603@gmail.com> <548EA26B.7060103@draigBrady.com> <548F9A34.6000004@gmail.com> In-Reply-To: <548F9A34.6000004@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 19377 Cc: 19377 <19377@debbugs.gnu.org>, =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= 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.3 (--) KO Myung-Hun wrote: > /* Redirection and wildcarding when done by the utility itself. > Generally a noop, but used in particular for native VMS. */ > #ifndef initialize_main > -# define initialize_main(ac, av) > +# ifndef __OS2__ > +# define initialize_main(ac, av) > +# else What happened to VMS? The comment doesn't seem to match the code, and this suggests that the code should be moved to wherever VMS does its thing. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 15 23:35:01 2014 Received: (at 19377) by debbugs.gnu.org; 16 Dec 2014 04:35:01 +0000 Received: from localhost ([127.0.0.1]:47337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0jqf-0001gX-1Y for submit@debbugs.gnu.org; Mon, 15 Dec 2014 23:35:01 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:36951) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0jqc-0001gM-2Z for 19377@debbugs.gnu.org; Mon, 15 Dec 2014 23:34:59 -0500 Received: by mail-pa0-f44.google.com with SMTP id et14so13289574pad.31 for <19377@debbugs.gnu.org>; Mon, 15 Dec 2014 20:34:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=stVfUalTeUGrMe2CyPbTRypwrplIuq69z+Vv05IxMAA=; b=THdu/7UqAHjT17w6/UqqySihKw5bYH7Vp5McoQdZ8wqJpBbo/Ng9xSCI/i3dpq8JJn bLM9CcnqVC2TMw4tbzCakEk5ISEHWvknZ2pzVR/FE5yc5mSGJvzAOQI/r2qhEWXuaK5F lActOrW8ablH4YhP6BqqCymyDw4rwwI721nJ9jxCsLxf4MRO1qD8DKxmh196zXj2nQUb 8ZjaMC5ZtQZaNtVXm7mdtQVW4NbOho2MWAPNn8JF4xVBt+glsmto796gG7jrw8D4cY2k C0FfTdd9fo6ZTP9au/NnsZ4IOovW2SpPoNoUVPOB0Ex5NalLVydP6NzLRt5b4aCadq1X 3egw== X-Received: by 10.68.241.130 with SMTP id wi2mr57129229pbc.89.1418704496937; Mon, 15 Dec 2014 20:34:56 -0800 (PST) Received: from [10.0.2.15] ([211.244.64.26]) by mx.google.com with ESMTPSA id hx9sm6399376pad.38.2014.12.15.20.34.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Dec 2014 20:34:55 -0800 (PST) Message-ID: <548FB67E.1090201@gmail.com> Date: Tue, 16 Dec 2014 13:35:10 +0900 From: KO Myung-Hun User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2 MIME-Version: 1.0 To: Paul Eggert Subject: Re: bug#19377: bug#19378: [PATCH 3/4] cat, chcon, chgrp, chmod, chown, cp, du, head: support wildcards on OS/2 References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-4-git-send-email-komh@chollian.net> <548D8DFE.3080608@draigBrady.com> <548E364C.2060603@gmail.com> <548EA26B.7060103@draigBrady.com> <548F9A34.6000004@gmail.com> <548FB39A.8090800@cs.ucla.edu> In-Reply-To: <548FB39A.8090800@cs.ucla.edu> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 19377 Cc: 19377 <19377@debbugs.gnu.org>, =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= , Jim Meyering 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.4 (/) Paul Eggert wrote: > KO Myung-Hun wrote: >> /* Redirection and wildcarding when done by the utility itself. >> Generally a noop, but used in particular for native VMS. */ >> #ifndef initialize_main >> -# define initialize_main(ac, av) >> +# ifndef __OS2__ >> +# define initialize_main(ac, av) >> +# else > > What happened to VMS? The comment doesn't seem to match the code, and I don't know of VMS. Do you mean to change comments for OS/2 ? > this suggests that the code should be moved to wherever VMS does its thing. Where is it ? I didn't find initialize_main() or others for VMS. -- KO Myung-Hun Using Mozilla SeaMonkey 2.7.2 Under OS/2 Warp 4 for Korean with FixPak #15 In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 15 23:46:03 2014 Received: (at 19377) by debbugs.gnu.org; 16 Dec 2014 04:46:03 +0000 Received: from localhost ([127.0.0.1]:47356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0k1L-0001yE-2W for submit@debbugs.gnu.org; Mon, 15 Dec 2014 23:46:03 -0500 Received: from mail-yh0-f46.google.com ([209.85.213.46]:47981) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0k1I-0001xk-SG for 19377@debbugs.gnu.org; Mon, 15 Dec 2014 23:46:01 -0500 Received: by mail-yh0-f46.google.com with SMTP id t59so5794577yho.5 for <19377@debbugs.gnu.org>; Mon, 15 Dec 2014 20:46:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=uTBuGcEg7G4eBMhii8hDbed4xF3UrZn3KCvIPQxncj0=; b=ss/E03JJf6femazszpS35cxs3BbPcj8L+XHmJp6uQzU2H2+OBJbQOcHHzY66JGjh/3 vABFoooLevWFrFVzkaqGHrCunQrUQAObyNymcSxzkur3qcJHK7luml4Cckz26ktiTVKS Z62qbuGI+o9xGu9ZFW2Cs0L5didWh8vB5dhdJG8nYzTU3miHnY01PVhjDIxhc5fYt4VJ fqsKxmZ2ROD7VH6YjQn4hlckJ4rnMvveA2igbCH3d2RiuDqOzEQCTHtcrCrpdLE2niel dmKPWl+adYu0aR+TlFNIV1GUCXxhmJhT5HuToukuSwsbYvovlFwt3tyPIps53vonrex/ KBPQ== X-Received: by 10.236.60.230 with SMTP id u66mr24630871yhc.43.1418705160120; Mon, 15 Dec 2014 20:46:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.139.67 with HTTP; Mon, 15 Dec 2014 20:45:39 -0800 (PST) In-Reply-To: <548FB67E.1090201@gmail.com> References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-4-git-send-email-komh@chollian.net> <548D8DFE.3080608@draigBrady.com> <548E364C.2060603@gmail.com> <548EA26B.7060103@draigBrady.com> <548F9A34.6000004@gmail.com> <548FB39A.8090800@cs.ucla.edu> <548FB67E.1090201@gmail.com> From: Jim Meyering Date: Mon, 15 Dec 2014 20:45:39 -0800 X-Google-Sender-Auth: sWZGDZKv9jgyvBE4GqK73OmvAxQ Message-ID: Subject: Re: bug#19377: bug#19378: [PATCH 3/4] cat, chcon, chgrp, chmod, chown, cp, du, head: support wildcards on OS/2 To: KO Myung-Hun Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19377 Cc: 19377 <19377@debbugs.gnu.org>, Paul Eggert , =?ISO-8859-1?Q?P=E1draig_Brady?= 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 Mon, Dec 15, 2014 at 8:35 PM, KO Myung-Hun wrote: > Paul Eggert wrote: >> KO Myung-Hun wrote: >>> /* Redirection and wildcarding when done by the utility itself. >>> Generally a noop, but used in particular for native VMS. */ >>> #ifndef initialize_main >>> -# define initialize_main(ac, av) >>> +# ifndef __OS2__ >>> +# define initialize_main(ac, av) >>> +# else >> >> What happened to VMS? The comment doesn't seem to match the code, and > > I don't know of VMS. Do you mean to change comments for OS/2 ? > >> this suggests that the code should be moved to wherever VMS does its thing. > > Where is it ? I didn't find initialize_main() or others for VMS. It was never defined in any version-controlled file, so please just update the comment, replacing VMS with OS/2. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 16 00:11:09 2014 Received: (at 19377) by debbugs.gnu.org; 16 Dec 2014 05:11:09 +0000 Received: from localhost ([127.0.0.1]:47361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0kPc-0002Zi-FO for submit@debbugs.gnu.org; Tue, 16 Dec 2014 00:11:08 -0500 Received: from mail-pd0-f169.google.com ([209.85.192.169]:57669) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y0kPZ-0002ZY-Qc for 19377@debbugs.gnu.org; Tue, 16 Dec 2014 00:11:07 -0500 Received: by mail-pd0-f169.google.com with SMTP id z10so13170265pdj.14 for <19377@debbugs.gnu.org>; Mon, 15 Dec 2014 21:11:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=zb7k4mqk/50WccnF9HMAF4NyKF74fCw730RA2MnSZV4=; b=vmIXmtPrI2F1dJkouC/stCwRnT68lurmVhkVjOZ6h8gC7Ppmqn2NfOvqPmKKW1n1I2 iRZpdGixGmyGYWkiCCC8pMXW0hPcM9tJ8rGJAnBdSq6e/sj47dAaYhuH6lhsTX9qsVVO XnUuFHsrfMIUToN0T2JLIkxNTMIVQ8TUE4ItyCf4qyD1+1HoDtQN6Jz/xjgZdprtkcw8 DqdF11fBR+kmrrqwOlL5I0FejJbWCriWz/VaNfTLReAoh0GhLzt/v61xHHSiILoB/N0i sskGj+pKAOxz4qhJZVAH0CbN7CWzElDToQdej3wZ1Ocm3UjSIC+xFbtHMN+DyhOpsc6+ b9ZQ== X-Received: by 10.68.167.36 with SMTP id zl4mr56761603pbb.83.1418706664214; Mon, 15 Dec 2014 21:11:04 -0800 (PST) Received: from [10.0.2.15] ([211.244.64.26]) by mx.google.com with ESMTPSA id je4sm10769374pbd.94.2014.12.15.21.11.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Dec 2014 21:11:02 -0800 (PST) Message-ID: <548FBEF4.5010209@gmail.com> Date: Tue, 16 Dec 2014 14:11:16 +0900 From: KO Myung-Hun User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2 MIME-Version: 1.0 To: Jim Meyering Subject: Re: bug#19377: bug#19378: [PATCH 3/4] cat, chcon, chgrp, chmod, chown, cp, du, head: support wildcards on OS/2 References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-4-git-send-email-komh@chollian.net> <548D8DFE.3080608@draigBrady.com> <548E364C.2060603@gmail.com> <548EA26B.7060103@draigBrady.com> <548F9A34.6000004@gmail.com> <548FB39A.8090800@cs.ucla.edu> <548FB67E.1090201@gmail.com> In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: multipart/mixed; boundary="------------080900070005060600000100" X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 19377 Cc: 19377 <19377@debbugs.gnu.org>, Paul Eggert , =?ISO-8859-1?Q?P=E1draig_Brady?= 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.4 (/) This is a multi-part message in MIME format. --------------080900070005060600000100 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Jim Meyering wrote: > On Mon, Dec 15, 2014 at 8:35 PM, KO Myung-Hun wrote: >> Paul Eggert wrote: >>> KO Myung-Hun wrote: >>>> /* Redirection and wildcarding when done by the utility itself. >>>> Generally a noop, but used in particular for native VMS. */ >>>> #ifndef initialize_main >>>> -# define initialize_main(ac, av) >>>> +# ifndef __OS2__ >>>> +# define initialize_main(ac, av) >>>> +# else >>> >>> What happened to VMS? The comment doesn't seem to match the code, and >> >> I don't know of VMS. Do you mean to change comments for OS/2 ? >> >>> this suggests that the code should be moved to wherever VMS does its thing. >> >> Where is it ? I didn't find initialize_main() or others for VMS. > > It was never defined in any version-controlled file, > so please just update the comment, replacing VMS with OS/2. Ok. Fixed. -- KO Myung-Hun Using Mozilla SeaMonkey 2.7.2 Under OS/2 Warp 4 for Korean with FixPak #15 In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr --------------080900070005060600000100 Content-Type: text/plain; name="0001-build-expand-a-response-file-and-a-wildcard-on-OS-2.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-build-expand-a-response-file-and-a-wildcard-on-OS-2.pat"; filename*1="ch" >From de8bd295137f170571ac20b198bebdd7b8ce701c Mon Sep 17 00:00:00 2001 From: KO Myung-Hun Date: Tue, 16 Dec 2014 11:27:28 +0900 Subject: [PATCH] build: expand a response file and a wildcard on OS/2 OS/2 traditional shells(cmd) does not expand a response file(@file) and a wildcard. Expand them in an utility itself. * src/system.h (initialize_main): Define on OS/2. Expand a response file and a wildcard. --- src/system.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/system.h b/src/system.h index 8b3f768..2d2635a 100644 --- a/src/system.h +++ b/src/system.h @@ -135,9 +135,10 @@ enum #include /* Redirection and wildcarding when done by the utility itself. - Generally a noop, but used in particular for native VMS. */ + Generally a noop, but used in particular for OS/2. */ #ifndef initialize_main -# define initialize_main(ac, av) +# define initialize_main(ac, av) \ + do { _wildcard(ac, av); _response(ac, av); } while (0) #endif #include "stat-macros.h" -- 1.8.5.2 --------------080900070005060600000100-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 18 10:25:12 2014 Received: (at 19377-done) by debbugs.gnu.org; 18 Dec 2014 15:25:12 +0000 Received: from localhost ([127.0.0.1]:50223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1cwx-0001gh-DC for submit@debbugs.gnu.org; Thu, 18 Dec 2014 10:25:11 -0500 Received: from mail-yh0-f53.google.com ([209.85.213.53]:59713) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1cwu-0001gY-DS for 19377-done@debbugs.gnu.org; Thu, 18 Dec 2014 10:25:08 -0500 Received: by mail-yh0-f53.google.com with SMTP id i57so621017yha.26 for <19377-done@debbugs.gnu.org>; Thu, 18 Dec 2014 07:25:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=4m5SweEcv51RpuYE/n9bprHMph9Im6VtyXpt3QjAa98=; b=Slg/IaZo84jJEadNc33yrU7TK/KKhEPC3QQT53zV/2yIYLdSDTXEjFNsJpzt+yhiMf HyvGdjfilvAE3JmcUSh+4iIBFWapyqoD4NyNIgwFW7dSRO+TJyS/C26qTO5DTbJKHm6v nkQ1tMMSBBHouxShHdYes2S0byJW+g6v7m1BhMf6PEuk42vETm50AVTAdoUPhlwCsk5B CrnwIkvQralsM+FviZvUHwV+YgGN7d8AuimK1kmk+EfZ5IWvsz15pLo0FBB55rH0pUno x5IjFrogviUE6F/Et8K00+CmDEMmhs4dkY9Qg7XY2ifOSenLkgMfQmK4B8H7TB0fnHni MgMQ== X-Received: by 10.236.1.70 with SMTP id 46mr2263928yhc.78.1418916307915; Thu, 18 Dec 2014 07:25:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.169.11 with HTTP; Thu, 18 Dec 2014 07:24:47 -0800 (PST) In-Reply-To: <548FBEF4.5010209@gmail.com> References: <1418528861-10270-1-git-send-email-komh@chollian.net> <1418528861-10270-4-git-send-email-komh@chollian.net> <548D8DFE.3080608@draigBrady.com> <548E364C.2060603@gmail.com> <548EA26B.7060103@draigBrady.com> <548F9A34.6000004@gmail.com> <548FB39A.8090800@cs.ucla.edu> <548FB67E.1090201@gmail.com> <548FBEF4.5010209@gmail.com> From: Jim Meyering Date: Thu, 18 Dec 2014 07:24:47 -0800 X-Google-Sender-Auth: aOZN3EPo3LEMYF-MOdMxLV8VLog Message-ID: Subject: Re: bug#19377: bug#19378: [PATCH 3/4] cat, chcon, chgrp, chmod, chown, cp, du, head: support wildcards on OS/2 To: KO Myung-Hun Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19377-done Cc: 19377-done@debbugs.gnu.org, Paul Eggert , =?ISO-8859-1?Q?P=E1draig_Brady?= 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 Mon, Dec 15, 2014 at 9:11 PM, KO Myung-Hun wrote: > Jim Meyering wrote: >> On Mon, Dec 15, 2014 at 8:35 PM, KO Myung-Hun wrote: >>> Paul Eggert wrote: >>>> KO Myung-Hun wrote: >>>>> /* Redirection and wildcarding when done by the utility itself. >>>>> Generally a noop, but used in particular for native VMS. */ >>>>> #ifndef initialize_main >>>>> -# define initialize_main(ac, av) >>>>> +# ifndef __OS2__ >>>>> +# define initialize_main(ac, av) >>>>> +# else >>>> >>>> What happened to VMS? The comment doesn't seem to match the code, and >>> >>> I don't know of VMS. Do you mean to change comments for OS/2 ? >>> >>>> this suggests that the code should be moved to wherever VMS does its thing. >>> >>> Where is it ? I didn't find initialize_main() or others for VMS. >> >> It was never defined in any version-controlled file, >> so please just update the comment, replacing VMS with OS/2. > > Ok. Fixed. Thanks. Pushed with minor grammar fixes in the commit log. From unknown Mon Jun 23 02:21:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Fri, 19 Dec 2014 02:08:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 10 12:00:47 2018 Received: (at control) by debbugs.gnu.org; 10 Oct 2018 16:00:47 +0000 Received: from localhost ([127.0.0.1]:43726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAGul-0001Pi-EZ for submit@debbugs.gnu.org; Wed, 10 Oct 2018 12:00:47 -0400 Received: from mail-pl1-f178.google.com ([209.85.214.178]:44100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gAGuk-0001KV-B0; Wed, 10 Oct 2018 12:00:46 -0400 Received: by mail-pl1-f178.google.com with SMTP id p25-v6so2737405pli.11; Wed, 10 Oct 2018 09:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=nhqZ1SkwOgaa8pCNnqOmYylWRqZG6KgUO3hxR7PPOcY=; b=T9oK0IBab6d2I3xW81hMcHQHwBwtOpGAs6o5PTIOI8GleUg+CY+J4H97f/rNyVfcxc C4qBi8h79226lhjOuy4JErwy07dk6v11z2NC9RyCZ4BzNSCxg/ypM3gEYcLgtKZiZ9jR ewMRGeAwhfAXwz2xoPwJcPhpzpnB4SplJzsaEI8AVzUAe8S0CR7c6E0lI3O1jUE6wAlY jmmwmVryKg6XZmwRaY9EP2prv508/PsihmpXpB8foSJ2Mtl6x5MbZrbBF1gVhgLaR5SD g1DzUAz5N/1MTQK76BVtZ4qKeo4TqMkjTFPaRUI+mIJDYcE2KTA9XcWVe5G7PR4NXvcU jVEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=nhqZ1SkwOgaa8pCNnqOmYylWRqZG6KgUO3hxR7PPOcY=; b=AERqmYRdKPlETAY3V8neLFSeBVMZYrElRgteZry7Unie+71IvQeNCRkf50kR57XCtQ hchTvLa2HG3Z4KmcC0T+xzqDu5vT/w6nLj7IgjNh8SDiy4WeVXKexwrA9HpoKPfX++vb vpQUv/Gca65LPTHilTHsG+7HQh5dq6wnalRSEmE/RICfKA8gL31z/RRxn+uBhHZSXnub gqSEtLTXR7S5ym8ijyZzi3bzT++JEboROTF0unudclIw0uQ6+nR2xG13dAfSfEfMsSBN zC+CWS46PtTcYA5eWOxdJJKUcOt0fqZNzcjJuXbIKhgyGjzHq5naf+tYUnr2+tt9PVEh 5kXw== X-Gm-Message-State: ABuFfohePdYSzZHXVbElMU8/uS1wc2KVV85deDUKM5JzW4a0pI916sBL tSGIwdVCKXr6kP2V5rx0L1Sy0Ut6+Wc= X-Google-Smtp-Source: ACcGV62MNLQXdvBTM4DLNcE/K1pn7qQPRFoHqobwKvC1f2OH0Kad3viRhmiGqn/T6Cov3zlkXGE5Vw== X-Received: by 2002:a17:902:8c90:: with SMTP id t16-v6mr32892629plo.251.1539187239932; Wed, 10 Oct 2018 09:00:39 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id h7-v6sm44957119pfd.35.2018.10.10.09.00.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Oct 2018 09:00:38 -0700 (PDT) To: 19375@debbugs.gnu.org From: Assaf Gordon Message-ID: Date: Wed, 10 Oct 2018 10:00:37 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 19375 fixed close 19375 stop pushed at https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=178f8e79dcd1e0b8bbb3b04da664d05eaae56186 closing. [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.214.178 listed in list.dnswl.org] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 1.0 (+) tags 19375 fixed close 19375 stop pushed at https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=178f8e79dcd1e0b8bbb3b04da664d05eaae56186 closing. From unknown Mon Jun 23 02:21:29 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, 08 Nov 2018 12:24:07 +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