From dc825f85f4795fc45f67eb27708d9adcc72c9b40 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 28 Jan 1996 22:47:31 +0000 Subject: Sun Jan 28 17:25:38 1996 Roland McGrath * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to make C++ happy. * alpha/jmp_buf.h: Likewise. * m68k/jmp_buf.h: Likewise. * mips/jmp_buf.h: Likewise. * sparc/jmp_buf.h: Likewise. * vax/jmp_buf.h: Likewise. Sun Jan 28 17:25:38 1996 Roland McGrath * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to make C++ happy. * alpha/jmp_buf.h: Likewise. * m68k/jmp_buf.h: Likewise. * mips/jmp_buf.h: Likewise. * sparc/jmp_buf.h: Likewise. * vax/jmp_buf.h: Likewise. * sysdeps/generic/memmem.c: Fix return value in case where NEEDLE_LEN==0. * hurd/hurdlookup.c (__file_name_lookup_under, __file_name_lookup): Restrict mode with umask. * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask. * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask. --- setjmp/setjmp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'setjmp/setjmp.h') diff --git a/setjmp/setjmp.h b/setjmp/setjmp.h index 479cf973ec..12b05f1033 100644 --- a/setjmp/setjmp.h +++ b/setjmp/setjmp.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. +/* Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -32,7 +32,7 @@ __BEGIN_DECLS #include /* Get `__sigset_t'. */ /* Calling environment, plus possibly a saved signal mask. */ -typedef struct +typedef struct __jmp_buf /* C++ doesn't like tagless structs. */ { /* NOTE: The machine-dependent definitions of `__sigsetjmp' assume that a `jmp_buf' begins with a `__jmp_buf'. @@ -54,7 +54,7 @@ extern int __sigsetjmp __P ((jmp_buf __env, int __savemask)); The ANSI C standard says `setjmp' is a macro. */ #define setjmp(env) __sigsetjmp ((env), 0) #else -/* We are in 4.3 BSD-compatibility mode in which `setjmp' +/* We are in 4.3 BSD-compatibility mode in which `setjmp' saves the signal mask like `sigsetjmp (ENV, 1)'. */ #define setjmp(env) __sigsetjmp ((env), 1) #endif /* Favor BSD. */ -- cgit v1.2.3