diff --git a/mps/code/protsgix.c b/mps/code/protsgix.c index 22f867d1c49..b5c807c5f34 100644 --- a/mps/code/protsgix.c +++ b/mps/code/protsgix.c @@ -10,8 +10,8 @@ * SOURCES * * .source.posix: POSIX specifications for signal.h and sigaction - * - * + * + * * * .source.man: sigaction(2): FreeBSD System Calls Manual. * diff --git a/mps/code/testthr.h b/mps/code/testthr.h index 3edceda068c..2c7b0056895 100644 --- a/mps/code/testthr.h +++ b/mps/code/testthr.h @@ -51,7 +51,7 @@ typedef struct testthr_t { /* In pthreads, a thread is identified by a pthread_t, which is * allowed "to be defined as a structure" [IEEE Std 1003.1, sys/types.h] - * + * */ typedef pthread_t testthr_t; diff --git a/mps/code/trace.c b/mps/code/trace.c index cdc4708aeae..6c7ef613366 100644 --- a/mps/code/trace.c +++ b/mps/code/trace.c @@ -933,7 +933,7 @@ static void traceReclaim(Trace trace) * scan at WEAK. All other segments for this trace should be scanned by now. * We must scan at WEAK to avoid bringing any objects back to life. * - * See the message + * See the message * for a description of these semantics. */ Rank TraceRankForAccess(Arena arena, Seg seg) @@ -1020,10 +1020,10 @@ Rank TraceRankForAccess(Arena arena, Seg seg) * whilst working in this band. That's what we check, although we * expect to have to change the check if we introduce more ranks, or * start changing the semantics of them. A flag is used to implement - * this check. See . + * this check. See . * * For further discussion on the semantics of rank based tracing see - * + * */ static Bool traceFindGrey(Seg *segReturn, Rank *rankReturn, diff --git a/mps/code/tree.c b/mps/code/tree.c index 9e7c42bc80e..b1022b354b2 100644 --- a/mps/code/tree.c +++ b/mps/code/tree.c @@ -223,7 +223,7 @@ Bool TreeInsert(Tree *treeReturn, Tree root, Tree node, * TreeTraverse is generally superior if comparisons are cheap, but * TreeTraverseMorris does not require any comparison function. * - * + * * * Joseph M. Morris (1979). "Traversing Binary Trees Simply and Cheaply". * Information Processing Letters 9:5 pp. 197–200. diff --git a/mps/code/zcoll.c b/mps/code/zcoll.c index 87bd39f5cad..7d6c9a7d6ac 100644 --- a/mps/code/zcoll.c +++ b/mps/code/zcoll.c @@ -345,7 +345,7 @@ static void CatalogCheck(void) * means the interior pointers are unmanaged references, and the * code goes wrong. The hack in poolamc.c#4 cures this, but not very * nicely. For further discussion, see: - * + * */ static void CatalogDo(mps_arena_t arena, mps_ap_t ap) { diff --git a/mps/design/diag.txt b/mps/design/diag.txt index f4da8c41724..ce8c12eaad6 100644 --- a/mps/design/diag.txt +++ b/mps/design/diag.txt @@ -211,7 +211,7 @@ References .. [RHSK_2007-04-13] Richard Kistruck. 2007-04-13. "`diagnostic feedback from the MPS `_". -.. [RHSK_2007-04-18] Richard Kistruck. 2007-04-18. "`Diverse types of diagnostic feedback `_". +.. [RHSK_2007-04-18] Richard Kistruck. 2007-04-18. "`Diverse types of diagnostic feedback `_". Document History diff --git a/mps/design/lock.txt b/mps/design/lock.txt index 9d390a1a8bd..9e63a90d994 100644 --- a/mps/design/lock.txt +++ b/mps/design/lock.txt @@ -278,7 +278,7 @@ References .. [POSIXThreads] The Open Group; "The Single UNIX Specification, Version 2---Threads"; - + Document History diff --git a/mps/design/monitor.txt b/mps/design/monitor.txt index 27987c67399..57556c8288b 100644 --- a/mps/design/monitor.txt +++ b/mps/design/monitor.txt @@ -150,7 +150,7 @@ References .. [GR_2004-12-02] "RE: MPS, working set, and address space"; Göran Rydqvist; Configura Sverige AB; 2004-12-02; - . + . Document History diff --git a/mps/design/prmc.txt b/mps/design/prmc.txt index 06d91662d7e..36df12276df 100644 --- a/mps/design/prmc.txt +++ b/mps/design/prmc.txt @@ -187,9 +187,9 @@ _`.impl.ix.context`: The context consists of the |siginfo_t|_ and This is decoded on a platform-by-platform basis. .. |siginfo_t| replace:: ``siginfo_t`` -.. _siginfo_t: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html +.. _siginfo_t: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html .. |ucontext_t| replace:: ``ucontext_t`` -.. _ucontext_t: http://pubs.opengroup.org/onlinepubs/9699919799/functions/sigaction.html +.. _ucontext_t: https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigaction.html _`.impl.ix.fault.signal`: POSIX specifies that "Invalid permissions for mapped object" (a protection fault) causes a ``SEGV`` signal. diff --git a/mps/design/testthr.txt b/mps/design/testthr.txt index 86f545aa194..07981618037 100644 --- a/mps/design/testthr.txt +++ b/mps/design/testthr.txt @@ -101,7 +101,7 @@ References .. [pthreads] The Open Group; "The Single UNIX Specification, Version 2---Threads"; - + Document History diff --git a/mps/design/thread-manager.txt b/mps/design/thread-manager.txt index 51fbaaecc8d..426f479c42e 100644 --- a/mps/design/thread-manager.txt +++ b/mps/design/thread-manager.txt @@ -88,7 +88,7 @@ whose lifetime has ended, the behavior is undefined." For this reason, the documentation for ``mps_thread_reg()`` specifies that it is an error if a thread dies while registered. -.. _POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09_02 +.. _POSIX: https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09_02 _`.sol.thread.term.attempt`: Nonetheless, the thread manager makes a "best effort" to continue running after detecting a terminated thread, @@ -203,7 +203,7 @@ _`.impl.ix.register`: ``ThreadRegister()`` records the thread id the current thread by calling |pthread_self|_. .. |pthread_self| replace:: ``pthread_self()`` -.. _pthread_self: http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_self.html +.. _pthread_self: https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_self.html _`.impl.ix.register.multi`: Multiply-registered threads are handled specially by the POSIX thread extensions. See diff --git a/mps/design/thread-safety.txt b/mps/design/thread-safety.txt index d64ee2b4f1e..e40639a5e0d 100644 --- a/mps/design/thread-safety.txt +++ b/mps/design/thread-safety.txt @@ -256,7 +256,7 @@ and in the parent and child processes just after fork (the "parent" and "child" handlers respectively). .. |pthread_atfork| replace:: ``pthread_atfork()`` -.. _pthread_atfork: http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_atfork.html +.. _pthread_atfork: https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_atfork.html _`.sol.fork.lock`: In the prepare handler, the MPS takes all the locks: that is, the global locks, and then the arena lock for every diff --git a/mps/design/version-library.txt b/mps/design/version-library.txt index 292908f6703..cb72a55d2df 100644 --- a/mps/design/version-library.txt +++ b/mps/design/version-library.txt @@ -130,7 +130,7 @@ _`.impl.tool`: The version string starts with the characters Ravenbrook MPS, product.mps, release/1.117.0, platform.xci6ll, variety.asserted.logging.nonstats, compiled on Oct 18 2016 13:57:08 .. |what| replace:: ``what(1)`` -.. _what: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/what.html +.. _what: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/what.html Document History diff --git a/mps/design/vm.txt b/mps/design/vm.txt index ead8eb25d4f..5b4c3304d2d 100644 --- a/mps/design/vm.txt +++ b/mps/design/vm.txt @@ -266,7 +266,7 @@ _`.impl.ix.reserve`: Address space is reserved by calling |mmap|_, passing ``PROT_NONE`` and ``MAP_PRIVATE | MAP_ANON``. .. |mmap| replace:: ``mmap()`` -.. _mmap: http://pubs.opengroup.org/onlinepubs/9699919799/functions/mmap.html +.. _mmap: https://pubs.opengroup.org/onlinepubs/9699919799/functions/mmap.html _`.impl.ix.anon.trans`: Note that ``MAP_ANON`` ("map anonymous memory not associated with any specific file") is an extension to @@ -277,7 +277,7 @@ the file ``/dev/zero``. _`.impl.ix.release`: Address space is released by calling |munmap|_. .. |munmap| replace:: ``munmap()`` -.. _munmap: http://pubs.opengroup.org/onlinepubs/9699919799/functions/munmap.html +.. _munmap: https://pubs.opengroup.org/onlinepubs/9699919799/functions/munmap.html _`.impl.ix.map`: Address space is mapped to main memory by calling |mmap|_, passing ``PROT_READ | PROT_WRITE | PROT_EXEC`` and diff --git a/mps/example/scheme/scheme-advanced.c b/mps/example/scheme/scheme-advanced.c index 0c1b2ded068..f02e77a15a9 100644 --- a/mps/example/scheme/scheme-advanced.c +++ b/mps/example/scheme/scheme-advanced.c @@ -3,7 +3,7 @@ * Copyright (c) 2001-2018 Ravenbrook Limited. See end of file for license. * * This is a toy interpreter for a subset of the Scheme programming - * language . + * language . * It is by no means the best or even the right way to implement Scheme, * but it serves the purpose of showing how the Memory Pool System can be * used as part of a programming language run-time system. diff --git a/mps/example/scheme/scheme.c b/mps/example/scheme/scheme.c index a6acfcf9e19..008cf206280 100644 --- a/mps/example/scheme/scheme.c +++ b/mps/example/scheme/scheme.c @@ -3,7 +3,7 @@ * Copyright (c) 2001-2018 Ravenbrook Limited. See end of file for license. * * This is a toy interpreter for a subset of the Scheme programming - * language . + * language . * It is by no means the best or even the right way to implement Scheme, * but it serves the purpose of showing how the Memory Pool System can be * used as part of a programming language run-time system. diff --git a/mps/manual/source/topic/format.rst b/mps/manual/source/topic/format.rst index 9210a260d16..83087db816c 100644 --- a/mps/manual/source/topic/format.rst +++ b/mps/manual/source/topic/format.rst @@ -1,6 +1,6 @@ .. sources: - ``_ + ``_ .. index:: single: object format; introduction diff --git a/mps/manual/source/topic/thread.rst b/mps/manual/source/topic/thread.rst index 056a9dbce34..99cf2764855 100644 --- a/mps/manual/source/topic/thread.rst +++ b/mps/manual/source/topic/thread.rst @@ -132,7 +132,7 @@ even if the :term:`client program` was running multiple situation of a child process running after a multi-threaded parent forked. The specification_ says: - .. _specification: http://pubs.opengroup.org/onlinepubs/9699919799/functions/fork.html + .. _specification: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fork.html A process shall be created with a single thread. If a multi-threaded process calls :c:func:`fork`, the new process shall diff --git a/mps/procedure/release-build.rst b/mps/procedure/release-build.rst index d6b2077e725..c9f95d93a1a 100644 --- a/mps/procedure/release-build.rst +++ b/mps/procedure/release-build.rst @@ -218,7 +218,7 @@ On a Unix (including macOS) machine: -------------------------- #. Visit the `project - updater `__, + updater `__, select “mps” from the dropdown, and hit “Find releases”. #. Make a git tag for the release:: @@ -250,7 +250,7 @@ A. References .. [RHSK_2008-10-16] Richard Kistruck; "revert ; rm ; sync -f"; Ravenbrook Limited; 2008-10-16; - http://info.ravenbrook.com/mail/2008/10/16/13-08-20/0.txt + . B. Document History