diff options
-rw-r--r-- | ChangeLog | 21 | ||||
-rw-r--r-- | MakeTAGS | 6 | ||||
-rw-r--r-- | Makerules | 5 | ||||
-rw-r--r-- | hurd/report-wait.c | 5 | ||||
-rw-r--r-- | string/tester.c | 6 | ||||
-rw-r--r-- | version.h | 2 |
6 files changed, 37 insertions, 8 deletions
@@ -1,5 +1,26 @@ +Wed May 29 12:53:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * version.h (VERSION): Set to 1.90. + + * Makerules (distinfo-vars): Write extra-libs and *-routines for each + of its elts. + * MakeTAGS (sources): Add those sources. + + * MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c). + +Wed May 29 08:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu> + + * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the + itimer thread. + + * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling + _hurd_proc_init. + Wed May 29 00:52:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null + token instead of it being implicitly skipped. + * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t. Must operate on top of fp reg stack, not second from top. @@ -77,10 +77,12 @@ sources += $(filter %.c %.s %.S,$(all-dist)) headers += $(filter %.h,$(all-dist)) all-dist := $(filter-out %.h %.c %.s %.S,$(all-dist)) +sources += $(foreach lib,$(extra-libs),$($(lib)-routines:=.c)) + # All different versions of $(sources), preserving the configured sysdep # directory order. -all-sources = $(wildcard $(sort $(sources) $(sources:.c=.S) \ - $(sources:.c=.s))) \ +all-sources = $(wildcard $(sort $(sources) $(sources:.c=.S) $(sources:.c=.s) \ + $(others:=.c) $(tests:=.c))) \ $(foreach dir,$(all-dirs),\ $(wildcard \ $(addprefix $(dir)/,\ @@ -794,9 +794,10 @@ distinfo: Makefile $(..)Makerules define distinfo-vars rm -f $@.new $(foreach var,subdir subdir-dirs sources elided-routines headers distribute \ - dont_distribute generated others tests, + dont_distribute generated others tests \ + extra-libs $(extra-libs:%=%-routines), echo >> $@.new '$(var) := $($(var))') -echo >> $@.new 'sources := $$(sources) $$(addsuffix .c,$$(elided-routines))' +echo >> $@.new 'sources += $$(addsuffix .c,$$(elided-routines))' endef ifneq (,$(strip $(gpl2lgpl))) diff --git a/hurd/report-wait.c b/hurd/report-wait.c index 7fc9293..18763d0 100644 --- a/hurd/report-wait.c +++ b/hurd/report-wait.c @@ -93,6 +93,9 @@ describe_port (string_t description, mach_port_t port) } +/* Common defn so we don't link in the itimer code unnecssarily. */ +thread_t _hurd_itimer_thread; /* XXX */ + kern_return_t _S_msg_report_wait (mach_port_t msgport, thread_t thread, string_t description, int *msgid) @@ -102,6 +105,8 @@ _S_msg_report_wait (mach_port_t msgport, thread_t thread, if (thread == _hurd_msgport_thread) /* Cute. */ strcpy (description, "msgport"); + else if (thread == _hurd_itimer_thread) + strcpy (description, "itimer"); else { /* Make sure this is really one of our threads. */ diff --git a/string/tester.c b/string/tester.c index 1b87c9f..64ccce1 100644 --- a/string/tester.c +++ b/string/tester.c @@ -417,8 +417,8 @@ DEFUN(main, (argc, argv), int argc AND char **argv) equal(strsep(&cp, ", "), "third", 4); check(strsep(&cp, ", ") == NULL, 5); cp = strcpy(one, ", first, "); - equal(strsep(&cp, ", "), "first", 6); /* Extra delims, 1 tok. */ - check(strsep(&cp, ", ") == NULL, 7); + equal(strsep(&cp, ", "), "", 6); /* null token. */ + equal(strsep(&cp, ", "), "", 7); cp = strcpy(one, "1a, 1b; 2a, 2b"); equal(strsep(&cp, ", "), "1a", 8); /* Changing delim lists. */ equal(strsep(&cp, "; "), "1b", 9); @@ -435,7 +435,7 @@ DEFUN(main, (argc, argv), int argc AND char **argv) check(strsep(&cp, ", ") == NULL, 18); check(strsep(&cp, ", ") == NULL, 19); /* Persistence. */ cp = strcpy(one, ", "); - check(strsep(&cp, ", ") == NULL, 20); /* No tokens. */ + check(strsep(&cp, ", ") == one, 20); /* Null token. */ cp = strcpy(one, ""); check(strsep(&cp, ", ") == NULL, 21); /* Empty string. */ cp = strcpy(one, "abc"); @@ -1,4 +1,4 @@ /* This file just defines the current version number of libc. */ #define RELEASE "alpha" -#define VERSION "1.09.7" +#define VERSION "1.90" |