[Commit] nickle file.c, 1.56, 1.57 value.h, 1.94, 1.95 version.m4, 1.5, 1.6

Keith Packard commit at keithp.com
Fri Jan 9 22:20:05 PST 2004


Committed by: keithp

Update of /local/src/CVS/nickle
In directory home.keithp.com:/local/src/nickle

Modified Files:
	file.c value.h version.m4 
Log Message:
Switch fds to nonblocking for connect/accept calls

Index: file.c
===================================================================
RCS file: /local/src/CVS/nickle/file.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- file.c	13 Oct 2003 18:44:24 -0000	1.56
+++ file.c	10 Jan 2004 06:20:02 -0000	1.57
@@ -936,7 +936,7 @@
 
 #define DontBlockIO	(runnable && running)
 
-static Bool
+Bool
 FileIsReadable (int fd)
 {
     fd_set	    bits;
@@ -956,7 +956,7 @@
     return n > 0;
 }
 
-static Bool
+Bool
 FileIsWritable (int fd)
 {
     fd_set	    bits;

Index: value.h
===================================================================
RCS file: /local/src/CVS/nickle/value.h,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- value.h	13 Oct 2003 05:08:41 -0000	1.94
+++ value.h	10 Jan 2004 06:20:02 -0000	1.95
@@ -1002,6 +1002,8 @@
 void	FilePrintf (Value, char *, ...);
 void	FileVPrintf (Value, char *, va_list);
 void	FileSetBuffer (Value file, int buf);
+Bool	FileIsReadable (int fd);
+Bool	FileIsWritable (int fd);
 
 extern Bool	anyFileWriteBlocked;
 extern Bool	anyFileReadBlocked;

Index: version.m4
===================================================================
RCS file: /local/src/CVS/nickle/version.m4,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- version.m4	14 Dec 2003 07:45:01 -0000	1.5
+++ version.m4	10 Jan 2004 06:20:02 -0000	1.6
@@ -1,7 +1,7 @@
 dnl This file is maintained automatically by update-version.sh
 dnl The file format is finicky, so do not hand-edit lightly.
-dnl Last updated Sat Dec 13 23:43:27 PST 2003
+dnl Last updated Thu Jan  8 01:05:11 PST 2004
 dnl CURHEADER $Header$
-dnl OLDHEADER <Header: /local/src/CVS/nickle/version.m4,v 1.5 2003/12/05 05:06:13 keithp Exp >
-dnl CURVERSION 2.25
-define([VERSION_NUMBER],[2.25])
+dnl OLDHEADER <Header: /local/src/CVS/nickle/version.m4,v 1.5 2003/12/14 07:45:01 keithp Exp >
+dnl CURVERSION 2.26
+define([VERSION_NUMBER],[2.26])




More information about the Commit mailing list