svn commit: r202055 - user/kmacy/releng_8_rump/lib/libunet

Kip Macy kmacy at FreeBSD.org
Mon Jan 11 00:22:47 UTC 2010


Author: kmacy
Date: Mon Jan 11 00:22:47 2010
New Revision: 202055
URL: http://svn.freebsd.org/changeset/base/202055

Log:
  - opt out of supporting SIGIO for now
  - white space cleanup

Modified:
  user/kmacy/releng_8_rump/lib/libunet/unet_glue.c
  user/kmacy/releng_8_rump/lib/libunet/unet_kern_synch.c

Modified: user/kmacy/releng_8_rump/lib/libunet/unet_glue.c
==============================================================================
--- user/kmacy/releng_8_rump/lib/libunet/unet_glue.c	Mon Jan 11 00:18:40 2010	(r202054)
+++ user/kmacy/releng_8_rump/lib/libunet/unet_glue.c	Mon Jan 11 00:22:47 2010	(r202055)
@@ -39,6 +39,8 @@ MALLOC_DEFINE(M_DEVBUF, "devbuf", "devic
 MALLOC_DEFINE(M_TEMP, "temp", "misc temporary data buffers");
 
 
+extern void abort(void);
+
 int	ticks;
 
 time_t time_second = 1;
@@ -601,7 +603,8 @@ pgsigio(sigiop, sig, checkctty)
 	struct sigio **sigiop;
 	int sig, checkctty;
 {
-	panic("");
+	printf("SIGIO not supported yet\n");
+	abort();
 #ifdef notyet
 	ksiginfo_t ksi;
 	struct sigio *sigio;

Modified: user/kmacy/releng_8_rump/lib/libunet/unet_kern_synch.c
==============================================================================
--- user/kmacy/releng_8_rump/lib/libunet/unet_kern_synch.c	Mon Jan 11 00:18:40 2010	(r202054)
+++ user/kmacy/releng_8_rump/lib/libunet/unet_kern_synch.c	Mon Jan 11 00:22:47 2010	(r202055)
@@ -143,7 +143,7 @@ _sleep(void *ident, struct lock_object *
 
 	pthread_mutex_lock(&synch_lock);
 	se_free(se);
-	pthread_mutex_unlock(&synch_lock);	
+	pthread_mutex_unlock(&synch_lock);
 
 	return (rv);
 }


More information about the svn-src-user mailing list