Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: =?UTF-8?B?T8SfdXo=?= Newsgroups: gnu.bash.bug Subject: Re: Arithmetic expansion in rediretion word is evaluated twice Date: Tue, 2 Jun 2020 08:18:32 +0300 Lines: 64 Approved: bug-bash@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1591075129 18680 209.51.188.17 (2 Jun 2020 05:18:49 GMT) X-Complaints-To: action@cs.stanford.edu Cc: "bug-bash@gnu.org" To: "chet.ramey@case.edu" Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=3QYNx616UXrLZBujzUoTxRxPrMF7VwwUwAFmkYq5pJk=; b=XoYUUrzZD+qF4iVLe0qaqEHrGUsk2yCo52x8iSD0oEdgfpedCu06SDrA9p+QJ4RrNs Qd6DtJ4EW6GTYwlPR8o1LBf54MOwMFbLPMlXyr/OWqyI+0Kfja13hgL7ECYoHLg7EUXI lVCiFSWj72CpPQ2o5aUIWv/B0KEJa8lWb4fxItJPs1QSQaYlImlZdGr0r81Fhwk3aNWw cPssEj19uVEAzQa9m99QWoiwwQWektgjAQCWy1on6P02RhENUFB4YUkRbJrRmnkHPe+U ZBbBKozF3cSfGjUaNchME5NHjAkO+/fZjusySRf8Lb0E2jLP5U8BsAF9+axdpT77YZvT 7QQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=3QYNx616UXrLZBujzUoTxRxPrMF7VwwUwAFmkYq5pJk=; b=g7+K7ViS9+NjO6IC75J+zpAdLY3gZShib1rM88KzZdOI2VYK55h9KcmQW7DhcF8kWD YeobG0HaUJchFhHcdFMkw0+vfEU8tzufAN0Yo51/ojOdtRqJCKoC4sewB6MDC4XRDBZO ZwrElQdICZZkX+cWjiIXbt2QAneGuVbpyUZ2DgQ/cL07Qei4g9DTdg3Md3QoYxHgDMbz jWnFq8XG++pPErBF0PexqZmaolKSlk40/LFqzwkwQTK6CZ8QUgaV6lZRwrDsTgjdqt2i B9/sA2MYv+GX/ImVzBXpJPkR2RyLXpOv52En4xX6utaAHxhW85lOUqDLZMWtCIkdzTKO Jqpw== X-Gm-Message-State: AOAM530c4HT+jd7PANf+JUVOX7OPm1f7wP2aq/fbCk79CJ71YzO6XbNe 42Oy2o/Zvd+/9/+4sfrItiHyYcepJTo8fB0x38w= X-Google-Smtp-Source: ABdhPJwWMBuM9UfrWdqjnoT9SN9dIBD+W9gByqiHSAWZZ462PXSIAY8el64Sj9X7jkk9PNGFz52Z4ayUjxj1u/qZPhk= X-Received: by 2002:a37:9d52:: with SMTP id g79mr23311802qke.331.1591075124777; Mon, 01 Jun 2020 22:18:44 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::72e; envelope-from=oguzismailuysal@gmail.com; helo=mail-qk1-x72e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FROM_EXCESS_BASE64=0.979, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: Xref: csiph.com gnu.bash.bug:16349 Below is the error message from the compilation failure after git pull && m= ake: variables.o: In function `get_urandom': /home/oguz/.local/src/bash/variables.c:1406: undefined reference to `get_urandom32' variables.o: In function `assign_random': /home/oguz/.local/src/bash/variables.c:1356: undefined reference to `sbrand= ' variables.o: In function `get_random_number': /home/oguz/.local/src/bash/variables.c:1376: undefined reference to `brand' /home/oguz/.local/src/bash/variables.c:1371: undefined reference to `seedra= nd' /home/oguz/.local/src/bash/variables.c:1376: undefined reference to `brand' variables.o: In function `initialize_shell_variables': /home/oguz/.local/src/bash/variables.c:607: undefined reference to `seedran= d' /home/oguz/.local/src/bash/variables.c:608: undefined reference to `seedran= d32' collect2: error: ld returned 1 exit status Makefile:581: recipe for target 'bash' failed make: *** [bash] Error 1 On Mon, Jun 1, 2020 at 11:17 PM O=C4=9Fuz wrote= : > > > > 1 Haziran 2020 Pazartesi tarihinde Chet Ramey yazd= =C4=B1: >> >> On 6/1/20 3:34 PM, O=C4=9Fuz wrote: >> > See: >> > >> > $ unset foo >> > $ : <$((foo+=3D42)) >> > bash: 84: No such file or directory >> > $ echo $foo >> > 84 >> > >> > Reproducible on 4.4.20 and 5.0.11, couldn't try on development version >> > because since the last push it doesn't compile >> >> How about an error message from the compile failure? >> > It was something about underlying $RANDOM functions in variables.c, tomor= row I can mail the full error messages. > >> -- >> ``The lyf so short, the craft so long to lerne.'' - Chaucer >> ``Ars longa, vita brevis'' - Hippocrates >> Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet= / > > > > -- > O=C4=9Fuz > --=20 O=C4=9Fuz