projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set socket pgrp to avoid races; block SIGURG till done;
[unix-history]
/
usr
/
src
/
lib
/
libc
/
net
/
res_send.c
diff --git
a/usr/src/lib/libc/net/res_send.c
b/usr/src/lib/libc/net/res_send.c
index
b691b0f
..
3bdf9de
100644
(file)
--- a/
usr/src/lib/libc/net/res_send.c
+++ b/
usr/src/lib/libc/net/res_send.c
@@
-6,7
+6,7
@@
*/
#if defined(LIBC_SCCS) && !defined(lint)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)res_send.c 6.
7
(Berkeley) %G%";
+static char sccsid[] = "@(#)res_send.c 6.
8
(Berkeley) %G%";
#endif LIBC_SCCS and not lint
/*
#endif LIBC_SCCS and not lint
/*
@@
-246,6
+246,7
@@
wait:
}
}
(void) close(s);
}
}
(void) close(s);
+ s = -1;
if (v_circuit == 0 && gotsomewhere == 0)
errno = ECONNREFUSED;
else
if (v_circuit == 0 && gotsomewhere == 0)
errno = ECONNREFUSED;
else