This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Add flock syscall emulation


On Thu, Nov 27, 2003 at 02:51:10PM -0500, Nicholas Wourms wrote:
> Hi All,
> 
> Here is a patch to add the flock() syscall to Cygwin.  I've noticed that some

Applied with changes.

I've run indent on flock.c since its formatting was non-GNU.  I've
removed the _DEFUN, since it's nowhere else used in Cygwin.  I've
added a change message to include/sys/file.h according to the
licensing terms in include/sys/copying.dj.  I removed the _flock
from cygwin.din.  This should in future really only be used if newlib
expects a new syscall.

> As a side note, I noticed that sys/file.h was from DJGPP.  Will DJ allow us to
> use code from DJGPP in Newlib/Cygwin?  If so, I noticed some code in the DJGPP
> libc which I could port and use in future contributions.

This is a question you should ask DJ.  AFAIK, DJGPP is GPLd.  This
would mean that its code isn't suitable for use in Cygwin itself.

Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]