mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Hartmann <andihartmann@freenet.de>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rmap 15j for 2.4.21-rc6
Date: Tue, 03 Jun 2003 05:16:36 +0200	[thread overview]
Message-ID: <bbh3uk$1a7$1@ID-44327.news.dfncis.de> (raw)
In-Reply-To: <fa.g746m1f.1u52e03@ifi.uio.no>

Hi,

Willy Tarreau wrote:

> Hi !
> 
> On Mon, Jun 02, 2003 at 06:55:48PM +0200, Andreas Hartmann wrote:
>> Michael Frank wrote:
> <...>
>> > GNU bash, version 2.05b.0(1)-release (i386-redhat-linux-gnu)
>> 
>> 2.02.1(1)-release
> <...>
>> > -   while (( i-- )); do
>> > +   while (( i=`expr $i - 1` )); do
>> > 
>> > In your opinion are your changes more portable across a wide range of
>> > systems?
>> 
>> I didn't think at portability :-). I only made it working for me. Maybe
>> there are other persons out there who do have some old versions too - so
>> they can use this patch.
> 
> Well, I found that i--/i++ don't work with bash-2.03 (present about
> everywhere) but i=i-1 or i=i+1 work well. So at least, for portability,
> this could be rewritten as "while (( i=i-1 )); do".

Works fine with 2.02.1, too.


Regards,
Andreas Hartmann

       reply	other threads:[~2003-06-03  2:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.hqlmaq3.1ck6lpl@ifi.uio.no>
     [not found] ` <fa.g746m1f.1u52e03@ifi.uio.no>
2003-06-03  3:16   ` Andreas Hartmann [this message]
     [not found] <fa.hnjaa1v.19gukhb@ifi.uio.no>
     [not found] ` <fa.h2i5rk8.1c3cq0m@ifi.uio.no>
2003-06-02 16:55   ` Andreas Hartmann
2003-06-02 19:37     ` Willy Tarreau
     [not found] <fa.nvklblk.jl430u@ifi.uio.no>
     [not found] ` <fa.h329tc5.1djcrol@ifi.uio.no>
2003-06-01 11:00   ` Andreas Hartmann
2003-06-01 11:26     ` Michael Frank
2003-06-02 13:29       ` Rik van Riel
2003-06-01  4:57 ghugh Song
2003-06-01  6:39 ` Michael Frank
  -- strict thread matches above, loose matches on Subject: below --
2003-05-30 17:16 [PATCH] rmap 15j Rik van Riel
2003-05-31 14:48 ` [PATCH] rmap 15j for 2.4.21-rc6 Rik van Riel
2003-05-31 15:52   ` Michael Frank

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='bbh3uk$1a7$1@ID-44327.news.dfncis.de' \
    --to=andihartmann@freenet.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®