From owner-p4-projects@FreeBSD.ORG Fri May 23 13:49:25 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E4A6437B404; Fri, 23 May 2003 13:49:24 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8024337B401 for ; Fri, 23 May 2003 13:49:24 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 331CA43FBD for ; Fri, 23 May 2003 13:49:23 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4NKnN0U087826 for ; Fri, 23 May 2003 13:49:23 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4NKnMkS087823 for perforce@freebsd.org; Fri, 23 May 2003 13:49:22 -0700 (PDT) Date: Fri, 23 May 2003 13:49:22 -0700 (PDT) Message-Id: <200305232049.h4NKnMkS087823@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 31725 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 20:49:26 -0000 http://perforce.freebsd.org/chv.cgi?CH=31725 Change 31725 by peter@peter_daintree on 2003/05/23 13:48:39 IFC @31722 Affected files ... .. //depot/projects/hammer/lib/libthr/Makefile#2 integrate .. //depot/projects/hammer/lib/libthr/arch/i386/i386/_setcurthread.c#4 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_autoinit.c#2 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_cancel.c#3 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_create.c#4 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_detach.c#2 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_exit.c#3 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_init.c#3 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_kern.c#4 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_mutex.c#5 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_printf.c#2 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_private.h#3 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_resume_np.c#2 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_setschedparam.c#2 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_sig.c#4 integrate .. //depot/projects/hammer/lib/libthr/thread/thr_syscalls.c#2 integrate .. //depot/projects/hammer/release/doc/de_DE.ISO8859-1/share/sgml/release.dsl#4 integrate .. //depot/projects/hammer/release/doc/en_US.ISO8859-1/hardware/i386/proc-i386.sgml#5 integrate .. //depot/projects/hammer/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml#27 integrate .. //depot/projects/hammer/release/doc/en_US.ISO8859-1/share/sgml/release.dsl#3 integrate .. //depot/projects/hammer/release/doc/fr_FR.ISO8859-1/share/sgml/release.dsl#4 integrate .. //depot/projects/hammer/release/doc/ja_JP.eucJP/share/sgml/release.dsl#4 integrate .. //depot/projects/hammer/release/doc/share/sgml/release.dsl#2 integrate .. //depot/projects/hammer/release/doc/share/sgml/release.ent#4 integrate .. //depot/projects/hammer/sbin/bsdlabel/Makefile#8 integrate .. //depot/projects/hammer/sys/amd64/include/pmap.h#14 integrate .. //depot/projects/hammer/sys/amd64/include/reg.h#7 integrate .. //depot/projects/hammer/sys/amd64/include/vmparam.h#10 integrate .. //depot/projects/hammer/sys/kern/vfs_subr.c#18 integrate Differences ... ==== //depot/projects/hammer/lib/libthr/Makefile#2 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/lib/libthr/Makefile,v 1.2 2003/04/01 07:07:38 jeff Exp $ +# $FreeBSD: src/lib/libthr/Makefile,v 1.3 2003/05/23 09:48:20 mtm Exp $ # # All library objects contain FreeBSD revision strings by default; they may be # excluded as a space-saving measure. To produce a library that does @@ -20,6 +20,8 @@ AINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/thread PRECIOUSLIB= yes +WARNS?= 2 + .include "${.CURDIR}/thread/Makefile.inc" .include "${.CURDIR}/sys/Makefile.inc" .include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" ==== //depot/projects/hammer/lib/libthr/arch/i386/i386/_setcurthread.c#4 (text+ko) ==== @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $FreeBSD: src/lib/libthr/arch/i386/i386/_setcurthread.c,v 1.5 2003/05/21 08:21:24 mtm Exp $ + * $FreeBSD: src/lib/libthr/arch/i386/i386/_setcurthread.c,v 1.6 2003/05/23 09:48:20 mtm Exp $ */ #include @@ -31,6 +31,8 @@ #include #include +#include +#include #include #include @@ -48,6 +50,9 @@ static void ldt_init(void); +/* in _curthread.S */ +extern void _set_gs(int); + /* * Initialize the array of ldt_entries and the next free slot. * This routine must be called with the global ldt lock held. ==== //depot/projects/hammer/lib/libthr/thread/thr_autoinit.c#2 (text+ko) ==== @@ -30,9 +30,13 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/lib/libthr/thread/thr_autoinit.c,v 1.1 2003/04/01 03:46:28 jeff Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_autoinit.c,v 1.2 2003/05/23 09:48:20 mtm Exp $ */ +#include + +#include "thr_private.h" + /* * This module uses GCC extentions to initialize the * threads package at program start-up time. ==== //depot/projects/hammer/lib/libthr/thread/thr_cancel.c#3 (text+ko) ==== @@ -1,9 +1,10 @@ /* * David Leonard , 1999. Public domain. - * $FreeBSD: src/lib/libthr/thread/thr_cancel.c,v 1.3 2003/05/15 17:56:18 mtm Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_cancel.c,v 1.4 2003/05/23 09:48:20 mtm Exp $ */ #include #include +#include #include "thr_private.h" /* ==== //depot/projects/hammer/lib/libthr/thread/thr_create.c#4 (text+ko) ==== @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/lib/libthr/thread/thr_create.c,v 1.5 2003/05/21 03:34:54 mtm Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_create.c,v 1.6 2003/05/23 09:48:20 mtm Exp $ */ #include #include @@ -62,7 +62,6 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr, void *(*start_routine) (void *), void *arg) { - struct itimerval itimer; int f_gc = 0; int ret = 0; pthread_t gc_thread; ==== //depot/projects/hammer/lib/libthr/thread/thr_detach.c#2 (text+ko) ==== @@ -29,10 +29,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/lib/libthr/thread/thr_detach.c,v 1.2 2003/04/02 03:05:39 jeff Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_detach.c,v 1.3 2003/05/23 09:48:20 mtm Exp $ */ #include #include +#include #include "thr_private.h" __weak_reference(_pthread_detach, pthread_detach); ==== //depot/projects/hammer/lib/libthr/thread/thr_exit.c#3 (text+ko) ==== @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/lib/libthr/thread/thr_exit.c,v 1.3 2003/05/21 03:29:18 mtm Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_exit.c,v 1.5 2003/05/23 09:48:20 mtm Exp $ */ #include #include @@ -42,6 +42,9 @@ __weak_reference(_pthread_exit, pthread_exit); +/* thr_exit() */ +extern int _thr_exit(void); + void _thread_exit(char *fname, int lineno, char *string) { @@ -173,7 +176,7 @@ /* If we're the last thread, call it quits */ if (TAILQ_EMPTY(&_thread_list)) - exit(curthread->ret); + exit(0); /* * Retire the architecture specific id so that it can be used for ==== //depot/projects/hammer/lib/libthr/thread/thr_init.c#3 (text+ko) ==== @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/lib/libthr/thread/thr_init.c,v 1.4 2003/05/21 03:22:36 mtm Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_init.c,v 1.5 2003/05/23 09:48:20 mtm Exp $ */ /* Allocate space for global thread variables here: */ @@ -158,7 +158,6 @@ { struct pthread *pthread; int fd; - int flags; int i; size_t len; int mib[2]; @@ -328,7 +327,7 @@ /* Initialise the garbage collector mutex and condition variable. */ if (_pthread_mutex_init(&_gc_mutex,NULL) != 0 || - pthread_cond_init(&_gc_cond,NULL) != 0) + _pthread_cond_init(&_gc_cond,NULL) != 0) PANIC("Failed to initialise garbage collector mutex or condvar"); } ==== //depot/projects/hammer/lib/libthr/thread/thr_kern.c#4 (text+ko) ==== @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $FreeBSD: src/lib/libthr/thread/thr_kern.c,v 1.5 2003/05/12 10:48:02 mtm Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_kern.c,v 1.7 2003/05/23 10:28:13 mtm Exp $ */ #include @@ -33,6 +33,7 @@ #include #include #include +#include #include #include @@ -72,27 +73,18 @@ errno); abort(); } - - restore = sav; + curthread->savedsig = sav; } void _thread_critical_exit(pthread_t pthread) { sigset_t set; - int error; - - /* - * restore is protected by giant. We could restore our signal state - * incorrectly if someone else set restore between unlocking giant - * and restoring the signal mask. To avoid this we cache a copy prior - * to the unlock. - */ - set = restore; /* * Restore signals. */ + set = curthread->savedsig; if (__sys_sigprocmask(SIG_SETMASK, &set, NULL)) { _thread_printf(STDERR_FILENO, "Critical Exit: sig err %d\n", errno); ==== //depot/projects/hammer/lib/libthr/thread/thr_mutex.c#5 (text+ko) ==== @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/lib/libthr/thread/thr_mutex.c,v 1.7 2003/05/21 03:41:07 mtm Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_mutex.c,v 1.8 2003/05/23 09:48:20 mtm Exp $ */ #include #include @@ -64,6 +64,7 @@ */ static int get_muncontested(pthread_mutex_t, int); static void get_mcontested(pthread_mutex_t); +static int mutex_lock_common(pthread_mutex_t *, int); static inline int mutex_self_trylock(pthread_mutex_t); static inline int mutex_self_lock(pthread_mutex_t); static inline int mutex_unlock_common(pthread_mutex_t *, int); @@ -1381,13 +1382,14 @@ static int get_muncontested(pthread_mutex_t mutexp, int nonblock) { - if (mutexp->m_owner != NULL && mutexp->m_owner != curthread) + if (mutexp->m_owner != NULL && mutexp->m_owner != curthread) { return (-1); - else if (mutexp->m_owner == curthread) + } else if (mutexp->m_owner == curthread) { if (nonblock) return (mutex_self_trylock(mutexp)); else return (mutex_self_lock(mutexp)); + } /* * The mutex belongs to this thread now. Mark it as ==== //depot/projects/hammer/lib/libthr/thread/thr_printf.c#2 (text+ko) ==== @@ -23,17 +23,18 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/lib/libthr/thread/thr_printf.c,v 1.1 2003/04/01 03:46:29 jeff Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_printf.c,v 1.2 2003/05/23 09:48:20 mtm Exp $ */ #include -__FBSDID("$FreeBSD: src/lib/libthr/thread/thr_printf.c,v 1.1 2003/04/01 03:46:29 jeff Exp $"); +__FBSDID("$FreeBSD: src/lib/libthr/thread/thr_printf.c,v 1.2 2003/05/23 09:48:20 mtm Exp $"); #include #include #include #include #include +#include #include #include ==== //depot/projects/hammer/lib/libthr/thread/thr_private.h#3 (text+ko) ==== @@ -31,7 +31,7 @@ * * Private thread definitions for the uthread kernel. * - * $FreeBSD: src/lib/libthr/thread/thr_private.h,v 1.6 2003/05/12 10:48:02 mtm Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_private.h,v 1.8 2003/05/23 10:28:13 mtm Exp $ */ #ifndef _THR_PRIVATE_H @@ -425,6 +425,7 @@ char *name; u_int64_t uniqueid; /* for gdb */ thr_id_t thr_id; + sigset_t savedsig; /* * Lock for accesses to this thread structure. @@ -718,7 +719,7 @@ void _thread_cleanupspecific(void); void _thread_dump_info(void); void _thread_init(void); -void _thread_sig_wrapper(int sig, siginfo_t *info, ucontext_t *context); +void _thread_sig_wrapper(int sig, siginfo_t *info, void *context); void _thread_printf(int fd, const char *, ...); void _thread_start(void); void _thread_seterrno(pthread_t, int); ==== //depot/projects/hammer/lib/libthr/thread/thr_resume_np.c#2 (text+ko) ==== @@ -29,10 +29,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/lib/libthr/thread/thr_resume_np.c,v 1.2 2003/04/02 03:05:39 jeff Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_resume_np.c,v 1.3 2003/05/23 09:48:20 mtm Exp $ */ #include #include +#include #include "thr_private.h" static void resume_common(struct pthread *); ==== //depot/projects/hammer/lib/libthr/thread/thr_setschedparam.c#2 (text+ko) ==== @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $FreeBSD: src/lib/libthr/thread/thr_setschedparam.c,v 1.3 2003/04/02 03:05:39 jeff Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_setschedparam.c,v 1.4 2003/05/23 09:48:20 mtm Exp $ */ #include #include @@ -42,7 +42,10 @@ _pthread_setschedparam(pthread_t pthread, int policy, const struct sched_param *param) { - int old_prio, in_readyq = 0, ret = 0; + int old_prio, ret = 0; +#if 0 + int in_readyq = 0; +#endif if ((param == NULL) || (policy < SCHED_FIFO) || (policy > SCHED_RR)) return (EINVAL); ==== //depot/projects/hammer/lib/libthr/thread/thr_sig.c#4 (text+ko) ==== @@ -24,7 +24,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $FreeBSD: src/lib/libthr/thread/thr_sig.c,v 1.5 2003/05/12 10:50:18 mtm Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_sig.c,v 1.6 2003/05/23 09:48:20 mtm Exp $ */ #include @@ -113,7 +113,7 @@ * User thread signal handler wrapper. */ void -_thread_sig_wrapper(int sig, siginfo_t *info, ucontext_t *context) +_thread_sig_wrapper(int sig, siginfo_t *info, void *context) { struct pthread_state_data psd; __siginfohandler_t *handler; @@ -149,7 +149,7 @@ GIANT_UNLOCK(curthread); handler = (__siginfohandler_t *) _thread_sigact[sig - 1].sa_handler; - handler(sig, info, context); + handler(sig, info, (ucontext_t *)context); GIANT_LOCK(curthread); } ==== //depot/projects/hammer/lib/libthr/thread/thr_syscalls.c#2 (text+ko) ==== @@ -28,7 +28,7 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $FreeBSD: src/lib/libthr/thread/thr_syscalls.c,v 1.1 2003/04/01 03:46:29 jeff Exp $ + * $FreeBSD: src/lib/libthr/thread/thr_syscalls.c,v 1.2 2003/05/23 09:48:20 mtm Exp $ */ /* @@ -90,6 +90,16 @@ #include "thr_private.h" +extern int __creat(const char *, mode_t); +extern int __sleep(unsigned int); +extern int __sys_nanosleep(const struct timespec *, struct timespec *); +extern int __sys_select(int, fd_set *, fd_set *, fd_set *, struct timeval *); +extern int __system(const char *); +extern int __tcdrain(int); +extern pid_t __wait(int *); +extern pid_t _wait4(pid_t, int *, int, struct rusage *); +extern pid_t __waitpid(pid_t, int *, int); + __weak_reference(_aio_suspend, aio_suspend); int ==== //depot/projects/hammer/release/doc/de_DE.ISO8859-1/share/sgml/release.dsl#4 (text+ko) ==== @@ -1,5 +1,5 @@ @@ -15,6 +15,9 @@ + (define %refentry-xref-link% #t) + (define ($email-footer$) (make sequence (make element gi: "p" @@ -53,36 +56,8 @@ (create-link (list (list "HREF" "mailto:de-bsd-translators@de.FreeBSD.org")) (literal "de-bsd-translators@de.FreeBSD.org")) (literal ">.")))))) - - - (element quote - (make sequence - (literal "``") - (process-children) - (literal "''"))) - - - (define %refentry-xref-link% #t) - - - (define ($create-refentry-xref-link$ #!optional (n (current-node))) - (let* ((r (select-elements (children n) (normalize "refentrytitle"))) - (m (select-elements (children n) (normalize "manvolnum"))) - (v (attribute-string (normalize "vendor") n)) - (u (string-append "http://www.FreeBSD.org/cgi/man.cgi?query=" - (data r) "&" "sektion=" (data m)))) - (case v - (("xfree86") (string-append u "&" "manpath=XFree86+4.2.0")) - (("netbsd") (string-append u "&" "manpath=NetBSD+1.5")) - (("ports") (string-append u "&" "manpath=FreeBSD+Ports")) - (else (string-append u "&" "manpath=FreeBSD+5.0-current"))))) ]]> - (define (toc-depth nd) - (if (string=? (gi nd) (normalize "book")) - 3 - 3)) - ==== //depot/projects/hammer/release/doc/en_US.ISO8859-1/hardware/i386/proc-i386.sgml#5 (text+ko) ==== @@ -1,5 +1,5 @@ Supported Processors and Motherboards @@ -65,4 +65,31 @@ work around hardware bugs or other oddities. When in doubt, a search of the archives of the &a.mobile; may be useful. + Most modern laptops (as well as many desktops) use the + Advanced Configuration and Power Management (ACPI) standard. &os; + supports ACPI via the ACPI Component Architecture reference + implementation from Intel, as described in the &man.acpi.4; manual + page. The use of ACPI causes instabilities on some machines and it + may be necessary to disable the ACPI driver, which is normally + loaded via a kernel module. This may be accomplished by adding + the following line to /boot/device.hints: + + hint.acpi.0.disabled="1" + + Users debugging ACPI-related problems may find it useful to + disable portions of the ACPI functionality. The &man.acpi.4; + manual page has more information on how to do this via loader + tunables. + + ACPI depends on a Differentiated System Descriptor Table + (DSDT) provided by each machine's BIOS. Some machines have bad or + incomplete DSDTs, which prevents ACPI from functioning correctly. + Replacement DSDTs for some machines can be found at the DSDT + section of the ACPI4Linux project Web + site. &os; can use these DSDTs to override the DSDT provided by + the BIOS; see the &man.acpi.4; manual page for more + information. + ==== //depot/projects/hammer/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml#27 (text+ko) ==== @@ -3,7 +3,7 @@ The FreeBSD Project - $FreeBSD: src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml,v 1.570 2003/05/23 00:02:10 bmah Exp $ + $FreeBSD: src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml,v 1.571 2003/05/23 20:10:46 bmah Exp $ 2000 @@ -814,10 +814,19 @@ The libkse library, providing POSIX threading support using KSE, is now enabled and - installed by default. It is still considered a + installed by default. + This library currently supports M:N threading. Both process and + system scope threads are supported, as well as getting/setting + the concurrency level. By default, the library sets the + concurrency level to the number of CPUs in the system. Each + concurrency level correlates to a KSE, and all process scope + threads run in these KSEs. Each system scope thread gets its + own KSE in addition to those corresponding to concurrency levels. + libkse is still considered a work-in-progress, and is not used by default. However, it can be used as a replacement for the libc_r - thread library. + thread library, by substituting instead of + when linking programs. A 1:1 threading package (where for every pthread in an application there is one KSE and thread) has been implemented. ==== //depot/projects/hammer/release/doc/en_US.ISO8859-1/share/sgml/release.dsl#3 (text+ko) ==== @@ -1,4 +1,4 @@ - + @@ -11,6 +11,9 @@ + (define %refentry-xref-link% #t) + (define ($email-footer$) (make sequence (make element gi: "p" @@ -49,36 +52,8 @@ (create-link (list (list "HREF" "mailto:doc@FreeBSD.org")) (literal "doc@FreeBSD.org")) (literal ">.")))))) - - - (element quote - (make sequence - (literal "``") - (process-children) - (literal "''"))) - - - (define %refentry-xref-link% #t) - - - (define ($create-refentry-xref-link$ #!optional (n (current-node))) - (let* ((r (select-elements (children n) (normalize "refentrytitle"))) - (m (select-elements (children n) (normalize "manvolnum"))) - (v (attribute-string (normalize "vendor") n)) - (u (string-append "http://www.FreeBSD.org/cgi/man.cgi?query=" - (data r) "&" "sektion=" (data m)))) - (case v - (("xfree86") (string-append u "&" "manpath=XFree86+4.2.0")) - (("netbsd") (string-append u "&" "manpath=NetBSD+1.5")) - (("ports") (string-append u "&" "manpath=FreeBSD+Ports")) - (else (string-append u "&" "manpath=FreeBSD+5.0-current"))))) ]]> - (define (toc-depth nd) - (if (string=? (gi nd) (normalize "book")) - 3 - 3)) - ==== //depot/projects/hammer/release/doc/fr_FR.ISO8859-1/share/sgml/release.dsl#4 (text+ko) ==== @@ -3,7 +3,7 @@ The FreeBSD French Documentation Project $Id$ - $FreeBSD: src/release/doc/fr_FR.ISO8859-1/share/sgml/release.dsl,v 1.5 2002/10/19 16:26:33 gioria Exp $ + $FreeBSD: src/release/doc/fr_FR.ISO8859-1/share/sgml/release.dsl,v 1.6 2003/05/23 10:30:27 hrs Exp $ Original revision: 1.6 --> @@ -18,6 +18,9 @@ + (define %refentry-xref-link% #t) + (define ($email-footer$) (make sequence (make element gi: "p" @@ -56,36 +59,8 @@ (create-link (list (list "HREF" "mailto:doc@FreeBSD.org")) (literal "doc@FreeBSD.org")) (literal ">.")))))) - - - (element quote - (make sequence - (literal "``") - (process-children) - (literal "''"))) - - - (define %refentry-xref-link% #t) - - - (define ($create-refentry-xref-link$ #!optional (n (current-node))) - (let* ((r (select-elements (children n) (normalize "refentrytitle"))) - (m (select-elements (children n) (normalize "manvolnum"))) - (v (attribute-string (normalize "vendor") n)) - (u (string-append "http://www.FreeBSD.org/cgi/man.cgi?query=" - (data r) "&" "sektion=" (data m)))) - (case v - (("xfree86") (string-append u "&" "manpath=XFree86+4.2.0")) - (("netbsd") (string-append u "&" "manpath=NetBSD+1.5")) - (("ports") (string-append u "&" "manpath=FreeBSD+Ports")) - (else (string-append u "&" "manpath=FreeBSD+5.0-current"))))) ]]> - (define (toc-depth nd) - (if (string=? (gi nd) (normalize "book")) - 3 - 3)) - ==== //depot/projects/hammer/release/doc/ja_JP.eucJP/share/sgml/release.dsl#4 (text+ko) ==== @@ -1,4 +1,4 @@ - + + (define %refentry-xref-link% #t) + (define ($email-footer$) (make sequence (make element gi: "p" @@ -55,37 +58,7 @@ (create-link (list (list "HREF" "http://www.jp.FreeBSD.org/ml.html#doc-jp")) (literal "doc-jp@jp.FreeBSD.org")) (literal "> まで電子メールでお願いします。")))))) - - - - (element quote - (make sequence - (literal "``") - (process-children) - (literal "''"))) - - - (define %refentry-xref-link% #t) - - - (define ($create-refentry-xref-link$ #!optional (n (current-node))) - (let* ((r (select-elements (children n) (normalize "refentrytitle"))) - (m (select-elements (children n) (normalize "manvolnum"))) - (v (attribute-string (normalize "vendor") n)) - (u (string-append "http://www.FreeBSD.org/cgi/man.cgi?query=" - (data r) "&" "sektion=" (data m)))) - (case v - (("xfree86") (string-append u "&" "manpath=XFree86+4.2.0")) - (("netbsd") (string-append u "&" "manpath=NetBSD+1.5")) - (("ports") (string-append u "&" "manpath=FreeBSD+Ports")) - (else (string-append u "&" "manpath=FreeBSD+5.0-current"))))) ]]> - - (define (toc-depth nd) - (if (string=? (gi nd) (normalize "book")) - 3 - 3)) - ==== //depot/projects/hammer/release/doc/share/sgml/release.dsl#2 (text+ko) ==== @@ -1,4 +1,4 @@ - + @@ -6,6 +6,8 @@ + +%release.ent; ]> @@ -111,11 +113,35 @@ (define %callout-graphics% ;; Use graphics in callouts? #f) + + + (element quote + (make sequence + (literal "``") + (process-children) + (literal "''"))) + + + (define ($create-refentry-xref-link$ #!optional (n (current-node))) + (let* ((r (select-elements (children n) (normalize "refentrytitle"))) + (m (select-elements (children n) (normalize "manvolnum"))) + (v (attribute-string (normalize "vendor") n)) + (u (string-append "&release.man.url;?query=" + (data r) "&" "sektion=" (data m)))) + (case v + (("xfree86") (string-append u "&" "manpath=XFree86+&release.manpath.xfree86;" )) + (("netbsd") (string-append u "&" "manpath=NetBSD+&release.manpath.netbsd;")) + (("ports") (string-append u "&" "manpath=FreeBSD+&release.manpath.freebsd-ports;")) + (else (string-append u "&" "manpath=FreeBSD+&release.manpath.freebsd;"))))) ]]> + (define (toc-depth nd) + (if (string=? (gi nd) (normalize "book")) + 3 + 3)) + - ==== //depot/projects/hammer/release/doc/share/sgml/release.ent#4 (text+ko) ==== @@ -1,6 +1,6 @@ @@ -37,6 +37,13 @@ + + + + + + +