X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-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; bh=Ov0RF5z3f164JN1jAZBdzcHpeh5Qe+vMT1juR+G2blY=; b=lgizN9/S5Wsnp/ClF/u0cDdzvASVeuf0di5YS6o3fC8a8J+xMe+gfprd7Kz7XHH2N6 jD+ZNkqigiuR03xc8Tbf+wLfhEn0ITThRyWXQKsVpmLFUodcseVMalOt5T2jtOrrhZ2K fTBrU3xm0E3p23Hgh7DEuW4l6cOhD1mUMYqDNg4YTFez6KOkIGGUmMTL/iJMGJkZ49BR 1HWwq3KnpRtaeuBkfGCDl4kmyiwMFZWUjwOMOGPLFhihHlt6PkCojZMmQE340DuzzJjh ljGicM5otFrU65zfkF6Cn7gzrr7p+wx+46qBYZYdjd1+kfryZXzH8VFEtJ8B37j17mnl z8Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=Ov0RF5z3f164JN1jAZBdzcHpeh5Qe+vMT1juR+G2blY=; b=M1ezMt50S2EH8KfmfFLw9+dmNJJlUVKkI7LriBOYg3BsSNSdoFKmlIYhS7fZSjqMSX EbCn5CXeHwfz3fffOVFj0mjJ5vZFJDWUsCAVGGtAIOqGAkmN39g4i3q+zPiyOG8+f5Mj FfCL8/Ni9aiKvXCAv8j7O5ymGt3Y7GPHPtmmVYcCLw8gSS3ecR4XYtGkWV2vWkigwGCF pX403QV7l+HD/eTvPwtoWhWtbw6HaiGelMuPD2d+6h5biCd2+q0Ol4GE5Fyt/HjhFHTG 3P96iOpfd0yEUTax5XHt3AA//GeJYowHH3ict8ei2EsKy/9+5YcqoYWywOvlAwZvfhSG X+hw== X-Gm-Message-State: AOPr4FWjPu6R+khS4uP+PRHl3+9cX7YJW8MR7CWYcdtgZpi3iUCxze/gFuXAFqA61ZG6CIkWa+YbzGvRoJQUDg== MIME-Version: 1.0 X-Received: by 10.107.164.101 with SMTP id n98mr8937720ioe.93.1463079816515; Thu, 12 May 2016 12:03:36 -0700 (PDT) In-Reply-To: References: <56F8295E DOT 2090401 AT posteo DOT de> <571E403D DOT 8080709 AT iki DOT fi> <571E4A50 DOT 3010806 AT iki DOT fi> <571E8166 DOT 1000103 AT gmx DOT de> <571EE412 DOT 6000005 AT iki DOT fi> <152f7110-7932-a6db-30fd-afccd63822d4 AT iki DOT fi> <83shxpavlp DOT fsf AT gnu DOT org> Date: Thu, 12 May 2016 22:03:36 +0300 Message-ID: Subject: Re: Fwd: A few DJGPP libc.a bugs From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" To: djgpp AT delorie DOT com Content-Type: text/plain; charset=UTF-8 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 5/11/16, Wiktor S. (wswiktorSP AT Mpoczta DOT fm) [via djgpp AT delorie DOT com] wrote: >> Also of interest is whether cat.exe is built with 2.05 and, if it is, >> whether a version of cat.exe built with 2.03 fails or succeeds. > > The problem does NOT occur in cat.exe from deleted/v2gnu/txt20b.zip > Only in newer version from current/v2gnu/txt20br2.zip > On 5/12/16, Wiktor S. (wswiktorSP AT Mpoczta DOT fm) [via djgpp AT delorie DOT com] wrote: >> Can you debug the libc functions involved and see which one of them >> fails? > > fopen() fails because open() fails because _open() fails. > Since the old version does not fail, the problem must be introduced possibly between 2.03 and 2.04, or possibly between 2.04 and 2.05. 2.04 added symlink and open-dir-as-fd funnies. 2.05 made changes to how lfn functions are used. It would be interesting to test builds made against original v2.04 from 2003: if that doesn't have the issue, than the problem is introduced between 2.04 and 2.05 possibly by the lfn changes by Juan. -- O.S.