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]

fhandler_socket & sigframe patch


Another batch of stuff from the pit:

The fhandler_socket class is unique in that many of its methods
contain a sigframe.  None of the other fhandler classes do this;
instead the sigframe is in the system call itself (in syscalls.cc
or wherever).

Attached is a patch to move these declarations from the
fhandler_socket methods into the relevant functions, mostly in
net.cc; I've also had to add one to the ioctl system call in
ioctl.cc.

Apart from the *important* and *critical* reasons of beauty and
consistency :-), another excuse for the change is that there are
occasionally two sigframe's, e.g. in fhandler_close() where one
already exists in syscalls.cc close().  Maybe not important but .
. .

I've also swept up a couple more strace touch-ups that my last
patch missed out.

Enjoy!

// Conrad

Attachment: ChangeLog.txt
Description: Text document

Attachment: sigframe.patch.txt
Description: Text document


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