This website works better with JavaScript.
Home
Help
Register
Sign In
mirrors
/
libowfat
mirror of
/home/gitosis/repositories/libowfat.git
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
fix signal race (Scott Lamb)
master
Felix von Leitner
17 years ago
parent
ca610274e0
commit
f9bff979e2
3 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
CHANGES
+1
-1
io/io_tryread.c
+1
-1
io/io_trywrite.c
+ 1
- 0
CHANGES
View File
@ -3,6 +3,7 @@
add io_passfd and io_receivefd (and test/fdpassing.c)
io_trywrite and io_waitwrite not ignore SIGPIPE
add man pages for libio, safemult
fix possible signal race in io_tryread and io_trywrite (Scott Lamb)
0.18:
make libowfat compile on BSD again (sorry, and thanks to everyone who
+ 1
- 1
io/io_tryread.c
View File
@ -21,7 +21,7 @@ int64 io_tryread(int64 d,char* buf,int64 len) {
e
-
>
next_read
=
-
1
;
return
-
1
;
}
new
.
it_interval
.
tv_usec
=
0
;
new
.
it_interval
.
tv_usec
=
1000
0
;
new
.
it_interval
.
tv_sec
=
0
;
new
.
it_value
.
tv_usec
=
10000
;
new
.
it_value
.
tv_sec
=
0
;
+ 1
- 1
io/io_trywrite.c
View File
@ -22,7 +22,7 @@ int64 io_trywrite(int64 d,const char* buf,int64 len) {
e
-
>
next_write
=
-
1
;
return
-
1
;
}
new
.
it_interval
.
tv_usec
=
0
;
new
.
it_interval
.
tv_usec
=
1000
0
;
new
.
it_interval
.
tv_sec
=
0
;
new
.
it_value
.
tv_usec
=
10000
;
new
.
it_value
.
tv_sec
=
0
;
Write
Preview
Loading…
Cancel
Save