Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2017 19:56:35 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326707 - head/stand/libsa
Message-ID:  <201712081956.vB8JuZiC094150@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Dec  8 19:56:35 2017
New Revision: 326707
URL: https://svnweb.freebsd.org/changeset/base/326707

Log:
  Add partial support signal.h functioanlity. Pull in machine/signal.h
  to define sig_atomic_t.
  
  Sponsored by: Netflix

Modified:
  head/stand/libsa/Makefile
  head/stand/libsa/stand.h

Modified: head/stand/libsa/Makefile
==============================================================================
--- head/stand/libsa/Makefile	Fri Dec  8 19:50:06 2017	(r326706)
+++ head/stand/libsa/Makefile	Fri Dec  8 19:56:35 2017	(r326707)
@@ -111,7 +111,7 @@ beforedepend:
 	for i in _time.h _strings.h _string.h; do \
 		[ -f xlocale/$$i ] || cp /dev/null xlocale/$$i; \
 	done; \
-	for i in ctype.h fcntl.h stdio.h stdlib.h; do \
+	for i in ctype.h fcntl.h signal.h stdio.h stdlib.h; do \
 		ln -sf ${SASRC}/stand.h $$i; \
 	done
 

Modified: head/stand/libsa/stand.h
==============================================================================
--- head/stand/libsa/stand.h	Fri Dec  8 19:50:06 2017	(r326706)
+++ head/stand/libsa/stand.h	Fri Dec  8 19:56:35 2017	(r326707)
@@ -88,6 +88,9 @@
 #define	EOFFSET	(ELAST+8)	/* relative seek not supported */
 #define	ESALAST	(ELAST+8)	/* */
 
+/* Partial signal emulation for sig_atomic_t */
+#include <machine/signal.h>
+
 struct open_file;
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712081956.vB8JuZiC094150>