diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-06-11 05:57:58 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-06-11 05:57:58 +0000 |
commit | b28cc4163bc2faaa80c5782fc02c8f03c410cdeb (patch) | |
tree | 58a5eda9a58f43d9f6bad4f7037ee852f69bf00e /source/smbd/server.c | |
parent | 1871d4a3f64401f9a6f749ce26d1715e3bcdeac3 (diff) | |
download | samba-b28cc4163bc2faaa80c5782fc02c8f03c410cdeb.tar.gz samba-b28cc4163bc2faaa80c5782fc02c8f03c410cdeb.tar.xz samba-b28cc4163bc2faaa80c5782fc02c8f03c410cdeb.zip |
Linux kernel oplocks now seem to work, but need a _lot_ of testing
I had to modify sys_select() to not loop on EINTR. I added a wrapper
called sys_select_intr() which gives the old behaviour.
Diffstat (limited to 'source/smbd/server.c')
-rw-r--r-- | source/smbd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/server.c b/source/smbd/server.c index ecf1deb05af..a5da1562506 100644 --- a/source/smbd/server.c +++ b/source/smbd/server.c @@ -203,7 +203,7 @@ max can be %d\n", memcpy((char *)&lfds, (char *)&listen_set, sizeof(listen_set)); - num = sys_select(FD_SETSIZE,&lfds,NULL); + num = sys_select_intr(FD_SETSIZE,&lfds,NULL); if (num == -1 && errno == EINTR) continue; |