delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/01/10:37:01

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3A50796D.CB476531@phekda.freeserve.co.uk>
Date: Mon, 01 Jan 2001 12:34:53 +0000
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.17 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: fcntl locking changes #3: Notes
References: <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20001231145420 DOT 00a8bab0 AT pop5 DOT banet DOT net>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

"Peter J. Farley III" wrote:
> There are "*.ok" files in each of the test directories for fcntl,
> flock, and [l]lockf.  These show the results I got on my W98SE/DOS
> box/LFN=y system.  YMMV.

I applied the dostrerror(), fcntl() and flock() + *lockf() patches. I get
the same results as you, but the output has file descriptor 7 rather than
5. (Please note that I did my tests on a copy of unmodified sources from
CVS, with Peter's patches.) I tested in the same conditions as you, Peter.

Tests I ran:

tests/libc/posix/fcntl/fcntl3gb.exe
tests/libc/posix/fcntl/tfcntl.exe
tests/libc/posix/fcntl/tfcntl2.exe
tests/libc/compat/unistd/tllockf.exe
tests/libc/compat/unistd/tlockf.exe
tests/libc/posix/sys/file/tflock.exe

If I've missed any, please tell me and I'll run them.

> ljmp/lcall patch        Required before building anything with gcc 2.952
>                         Includes changes to src/makefile.inc for GAS
>                         versions and LIBGCCA

Why is this required? gas seems to produce the same code for lcall. Does
it not do the right thing for ljmp? I can retest with the patch, if you'd
like.

Bye, Rich =]

-- 
Richard Dawe
[ mailto:richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019