From c3352e623384fe221743a6d2212c17d9619041ef Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 29 May 1996 17:50:37 +0000 Subject: Wed May 29 12:53:10 1996 Roland McGrath * 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 * 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. * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null token instead of it being implicitly skipped. --- ChangeLog | 21 +++++++++++++++++++++ MakeTAGS | 6 ++++-- Makerules | 5 +++-- hurd/report-wait.c | 5 +++++ string/tester.c | 6 +++--- version.h | 2 +- 6 files changed, 37 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1b40afca1c..8de5a686b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,26 @@ +Wed May 29 12:53:10 1996 Roland McGrath + + * 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 + + * 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 + * 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. diff --git a/MakeTAGS b/MakeTAGS index 3915fd36c2..7e95c266e1 100644 --- a/MakeTAGS +++ b/MakeTAGS @@ -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)/,\ diff --git a/Makerules b/Makerules index 15a0b0e7af..6c35fe5e2b 100644 --- a/Makerules +++ b/Makerules @@ -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 7fc92935bf..18763d0564 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 1b87c9f544..64ccce1e11 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"); diff --git a/version.h b/version.h index bfe2e1a654..abaefa6e78 100644 --- a/version.h +++ b/version.h @@ -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" -- cgit v1.2.3