1999-09-19  Ulrich Drepper  <drepper@cygnus.com>

	* po/pl.po: Updated.

1999-09-17  Andreas Schwab  <schwab@suse.de>

	* Makefile (clean): Also remove $(postclean) files.

1999-09-15  Andreas Jaeger  <aj@suse.de>

	* pwd/Makefile (otherlibs): Add for building with static-nss.
	* inet/Makefile (otherlibs): Likewise.

1999-09-15  Andreas Jaeger  <aj@suse.de>

	* sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
	function definition to avoid a compilation failure.

1999-09-15  Andreas Jaeger  <aj@suse.de>

	* stdlib/tst-environ.c (main): Add getenv regression test for
	environment variable that's one character long.

1999-09-15  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
	signal definitions to let glibc compile with older Linux versions
	(2.0.10 to 2.1.100 or so).
This commit is contained in:
Ulrich Drepper 1999-09-20 02:18:14 +00:00
parent 4d512b6553
commit b5c69d9913
9 changed files with 2538 additions and 992 deletions

View File

@ -1,3 +1,32 @@
1999-09-19 Ulrich Drepper <drepper@cygnus.com>
* po/pl.po: Updated.
1999-09-17 Andreas Schwab <schwab@suse.de>
* Makefile (clean): Also remove $(postclean) files.
1999-09-15 Andreas Jaeger <aj@suse.de>
* pwd/Makefile (otherlibs): Add for building with static-nss.
* inet/Makefile (otherlibs): Likewise.
1999-09-15 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/aio_sigqueue.c (__aio_sigqueue): Use old style
function definition to avoid a compilation failure.
1999-09-15 Andreas Jaeger <aj@suse.de>
* stdlib/tst-environ.c (main): Add getenv regression test for
environment variable that's one character long.
1999-09-15 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/i386/sigaction.c: Protect real time
signal definitions to let glibc compile with older Linux versions
(2.0.10 to 2.1.100 or so).
1999-09-18 Roland McGrath <roland@baalperazim.frob.com> 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN, * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN,

View File

@ -205,6 +205,7 @@ clean: parent-clean
# subdirectories are dealt with and so they won't try to remove object # subdirectories are dealt with and so they won't try to remove object
# files from it when it's going to be removed anyway. # files from it when it's going to be removed anyway.
@$(MAKE) subdir_clean no_deps=t @$(MAKE) subdir_clean no_deps=t
-rm -f $(postclean)
mostlyclean: parent-mostlyclean mostlyclean: parent-mostlyclean
@$(MAKE) subdir_mostlyclean no_deps=t @$(MAKE) subdir_mostlyclean no_deps=t
-rm -f $(postclean) -rm -f $(postclean)

View File

@ -68,3 +68,8 @@ endif
ifeq ($(build-static-nss),yes) ifeq ($(build-static-nss),yes)
CFLAGS += -DSTATIC_NSS CFLAGS += -DSTATIC_NSS
endif endif
ifeq (yes,$(build-static-nss))
otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
$(resolvobjdir)/libresolv.a
endif

View File

@ -1,3 +1,9 @@
1999-09-19 Ulrich Drepper <drepper@cygnus.com>
* signals.c (sigaction): Correct last patch. Don't select
pthread_sighandler_rt based on the signal number but instead of
the SA_SIGINFO flag.
1999-09-18 Ulrich Drepper <drepper@cygnus.com> 1999-09-18 Ulrich Drepper <drepper@cygnus.com>
* pthread.c (pthread_handle_sigrestart_rt): New function. Use * pthread.c (pthread_handle_sigrestart_rt): New function. Use

View File

@ -139,10 +139,10 @@ int sigaction(int sig, const struct sigaction * act,
if (act->sa_handler != SIG_IGN && act->sa_handler != SIG_DFL if (act->sa_handler != SIG_IGN && act->sa_handler != SIG_DFL
&& sig > 0 && sig < NSIG) && sig > 0 && sig < NSIG)
{ {
if (sig >= SIGRTMIN) if (act->sa_flags & SA_SIGINFO)
newact.sa_handler = (__sighandler_t) pthread_sighandler_rt; newact.sa_handler = (__sighandler_t) pthread_sighandler_rt;
else else
newact.sa_handler = (__sighandler_t) pthread_sighandler; newact.sa_handler = (__sighandler_t) pthread_sighandler;
} }
newactp = &newact; newactp = &newact;
} }

3457
po/pl.po

File diff suppressed because it is too large Load Diff

View File

@ -36,3 +36,8 @@ CFLAGS-getpwuid_r.c = -DUSE_NSCD=1
CFLAGS-getpwnam_r.c = -DUSE_NSCD=1 CFLAGS-getpwnam_r.c = -DUSE_NSCD=1
endif endif
ifeq (yes,$(build-static-nss))
otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
$(resolvobjdir)/libresolv.a
endif

View File

@ -138,5 +138,21 @@ main (void)
result = 1; result = 1;
} }
/* Now a test with an environment variable that's one character long.
This is to test a special case in the getenv implementation. */
strcpy (putenv_val, "X=one character test");
if (putenv (putenv_val) != 0)
{
printf ("putenv #2 failed: %m\n");
result = 1;
}
valp = getenv ("X");
if (valp == NULL || strcmp (valp, "one character test") != 0)
{
puts ("getenv #11 failed");
result = 1;
}
return result; return result;
} }

View File

@ -23,7 +23,10 @@
#include "aio_misc.h" #include "aio_misc.h"
int int
__aio_sigqueue (int sig, const union sigval val, pid_t caller_pid) __aio_sigqueue (sig, val, caller_pid)
int sig;
const union sigval val;
pid_t caller_pid;
{ {
__set_errno (ENOSYS); __set_errno (ENOSYS);
return -1; return -1;