forked from Imagelibrary/rtems
2002-10-02 Joel Sherrill <joel@OARcorp.com>
* kern/uipc_socket.c: Make sure that small non-zero delays work. Suggested cleanup from Eric Norum.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-10-02 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* kern/uipc_socket.c: Make sure that small non-zero delays work.
|
||||
Suggested cleanup from Eric Norum.
|
||||
|
||||
2002-10-02 Eric Norum <eric.norum@usask.ca>
|
||||
|
||||
* rtems/mkrootfs.c: As part of PR283, remove redundant code that
|
||||
|
||||
@@ -960,8 +960,9 @@ sosetopt(so, level, optname, m0)
|
||||
error = EDOM;
|
||||
goto bad;
|
||||
}
|
||||
|
||||
val = tv->tv_sec * hz + tv->tv_usec / tick;
|
||||
if (val == 0)
|
||||
if ((val == 0) && (tv->tv_sec || tv->tv_usec))
|
||||
val = 1;
|
||||
|
||||
switch (optname) {
|
||||
|
||||
Reference in New Issue
Block a user