From a6dce3480f0bd34e62c0ebd3ab4dff1e78fcf6d1 Mon Sep 17 00:00:00 2001 From: Gaius Mulley Date: Wed, 18 May 2022 13:01:24 +0100 Subject: [PATCH] Tidy up dates and correct spelling in documentation. gcc/ChangeLog: * doc/gm2.texi: Corrected spelling and spaces between sentances. gm2tools/ChangeLog: * Corrected dates on all source files. libgm2/ChangeLog: * Corrected dates on all source files. Signed-off-by: Gaius Mulley --- gcc/doc/gm2.texi | 19 +++++++++---------- gcc/m2/gm2-gcc/README | 4 ++-- gm2tools/ChangeLog | 4 ++++ gm2tools/Makefile.am | 2 +- gm2tools/autogen.sh | 2 +- gm2tools/configure.ac | 2 +- gm2tools/errors.c | 2 +- gm2tools/m2color.c | 2 +- libgm2/ChangeLog | 4 ++++ libgm2/Makefile.am | 2 +- libgm2/autogen.sh | 2 +- libgm2/configure.ac | 2 +- libgm2/libm2cor/KeyBoardLEDs.c | 2 +- libgm2/libm2cor/Makefile.am | 2 +- libgm2/libm2iso/ChanConsts.h | 2 +- libgm2/libm2iso/ErrnoCategory.c | 2 +- libgm2/libm2iso/Makefile.am | 2 +- libgm2/libm2iso/RTco.c | 4 ++-- libgm2/libm2iso/wrapsock.c | 2 +- libgm2/libm2iso/wraptime.c | 2 +- libgm2/libm2log/Break.c | 2 +- libgm2/libm2log/Makefile.am | 2 +- libgm2/libm2min/Makefile.am | 2 +- libgm2/libm2min/libc.c | 2 +- libgm2/libm2pim/Makefile.am | 2 +- libgm2/libm2pim/Selective.c | 2 +- libgm2/libm2pim/SysExceptions.c | 2 +- libgm2/libm2pim/UnixArgs.c | 2 +- libgm2/libm2pim/cgetopt.c | 2 +- libgm2/libm2pim/dtoa.c | 2 +- libgm2/libm2pim/errno.c | 2 +- libgm2/libm2pim/ldtoa.c | 2 +- libgm2/libm2pim/sckt.c | 2 +- libgm2/libm2pim/target.c | 2 +- libgm2/libm2pim/termios.c | 2 +- libgm2/libm2pim/wrapc.c | 2 +- 36 files changed, 52 insertions(+), 45 deletions(-) diff --git a/gcc/doc/gm2.texi b/gcc/doc/gm2.texi index 74994480b8b8..fb12f91bb9ff 100644 --- a/gcc/doc/gm2.texi +++ b/gcc/doc/gm2.texi @@ -1409,19 +1409,18 @@ Modula-2 language as defined in ISO/IEC Information technology - programming languages - part 1: Modula-2 Language, ISO/IEC 10514-1 (1996) (ISO). -The command line switches @samp{-fpim2}, @samp{-fpim3}, -@samp{-fpim4} and @samp{-fiso} can be used to force mutually -exclusive features. However by default the compiler will not -agressively fail if a non mutually exclusive feature is used -from another dialect. For example it is possible to specify -@samp{-fpim2} and still utilise @samp{DEFINITION} @samp{MODULES} -which have no export list. +The command line switches @samp{-fpim2}, @samp{-fpim3}, @samp{-fpim4} +and @samp{-fiso} can be used to force mutually exclusive +features. However by default the compiler will not aggressively fail +if a non mutually exclusive feature is used from another dialect. For +example it is possible to specify @samp{-fpim2} and still utilise +@samp{DEFINITION} @samp{MODULES} which have no export list. Some dialect differences will force a compile time error, for example in PIM2 the user must @code{IMPORT} @code{SIZE} from the module @code{SYSTEM}, whereas in PIM3 and PIM4 @code{SIZE} is a pervasive -function. Thus compiling PIM4 source code with the @samp{-fpim2} -switch will cause a compile time error. This can be fixed quickly +function. Thus compiling PIM4 source code with the @samp{-fpim2} +switch will cause a compile time error. This can be fixed quickly with an additional @code{IMPORT} or alternatively by compiling with the @samp{-fpim4} switch. @@ -1435,7 +1434,7 @@ The most dangerous set of mutually exclusive features found in the four dialects supported by GNU Modula-2 are the @code{INTEGER} division, remainder and modulus arithmetic operators. It is important to note that the same source code can be compiled to give different -runtime results depending upon these switches! The reference manual +runtime results depending upon these switches! The reference manual for the various dialects of Modula-2 are quite clear about this behaviour and sadly there are three distinct definitions. diff --git a/gcc/m2/gm2-gcc/README b/gcc/m2/gm2-gcc/README index ee8c674f1e58..c671ac26778d 100644 --- a/gcc/m2/gm2-gcc/README +++ b/gcc/m2/gm2-gcc/README @@ -1,5 +1,5 @@ This directory contains the interface code between the Modula-2 front end and GCC. In effect this is the Modula-2 compiler GCC Tree API. It is an internal API only. Many of these filenames match their GCC C -family counterparts. So for example m2decl.def and m2decl.c are the -Modula-2 front end version of c-decl.c. +family counterparts. So for example m2decl.def and m2decl.cc are the +Modula-2 front end version of c-decl.cc. diff --git a/gm2tools/ChangeLog b/gm2tools/ChangeLog index dd7a3709eeea..fc1b95249a33 100644 --- a/gm2tools/ChangeLog +++ b/gm2tools/ChangeLog @@ -1,3 +1,7 @@ +2022-05-17 Gaius Mulley + + * Corrected dates on all source files. + 2021-06-14 Gaius Mulley * errors.c: (New file). diff --git a/gm2tools/Makefile.am b/gm2tools/Makefile.am index 72c79e83c9d4..6aedf364116f 100644 --- a/gm2tools/Makefile.am +++ b/gm2tools/Makefile.am @@ -1,5 +1,5 @@ # Makefile for gm2tools -# Copyright (C) 2021 Free Software Foundation, Inc. +# Copyright (C) 2021-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/gm2tools/autogen.sh b/gm2tools/autogen.sh index c4607c04cf83..ea0ef7660984 100755 --- a/gm2tools/autogen.sh +++ b/gm2tools/autogen.sh @@ -1,7 +1,7 @@ #!/bin/sh # autogen.sh regenerate the autoconf files. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/gm2tools/configure.ac b/gm2tools/configure.ac index 15ca36eefb5a..15a64406e5fd 100644 --- a/gm2tools/configure.ac +++ b/gm2tools/configure.ac @@ -1,5 +1,5 @@ # Configure script for gm2tools. -# Copyright (C) 2021 Free Software Foundation, Inc. +# Copyright (C) 2021-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by diff --git a/gm2tools/errors.c b/gm2tools/errors.c index e717cce8f1b2..e48f08ed8862 100644 --- a/gm2tools/errors.c +++ b/gm2tools/errors.c @@ -1,6 +1,6 @@ /* error.c provide C version of fancy_abort. -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2021-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/gm2tools/m2color.c b/gm2tools/m2color.c index 8f873ece8e41..1fe42fc0cee5 100644 --- a/gm2tools/m2color.c +++ b/gm2tools/m2color.c @@ -1,6 +1,6 @@ /* m2color.c interface to gcc colorization. -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2021-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog index 950f68223426..3e63497dec81 100644 --- a/libgm2/ChangeLog +++ b/libgm2/ChangeLog @@ -1,3 +1,7 @@ +2022-05-17 Gaius Mulley + + * Corrected dates on all source files. + 2022-03-02 Gaius Mulley * libm2pim/sckt.c (tcpServerEstablishPort): Corrected spelling. diff --git a/libgm2/Makefile.am b/libgm2/Makefile.am index 24d48fd8d1c4..ca9535136706 100644 --- a/libgm2/Makefile.am +++ b/libgm2/Makefile.am @@ -1,5 +1,5 @@ # Makefile for libgm2. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/autogen.sh b/libgm2/autogen.sh index c4607c04cf83..ea0ef7660984 100755 --- a/libgm2/autogen.sh +++ b/libgm2/autogen.sh @@ -1,7 +1,7 @@ #!/bin/sh # autogen.sh regenerate the autoconf files. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/configure.ac b/libgm2/configure.ac index 83c7212d8b3c..3f12defd5cfb 100644 --- a/libgm2/configure.ac +++ b/libgm2/configure.ac @@ -1,5 +1,5 @@ # Configure script for libgm2. -# Copyright (C) 2013-2021 Free Software Foundation, Inc. +# Copyright (C) 2013-2022 Free Software Foundation, Inc. # This file is part of GCC. diff --git a/libgm2/libm2cor/KeyBoardLEDs.c b/libgm2/libm2cor/KeyBoardLEDs.c index 922db2dd3821..2fa0b23a2eac 100644 --- a/libgm2/libm2cor/KeyBoardLEDs.c +++ b/libgm2/libm2cor/KeyBoardLEDs.c @@ -1,6 +1,6 @@ /* KeyBoardLEDs.c provide access to the keyboard LEDs. -Copyright (C) 2005-2021 Free Software Foundation, Inc. +Copyright (C) 2005-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2cor/Makefile.am b/libgm2/libm2cor/Makefile.am index afca859b81eb..55d675501572 100644 --- a/libgm2/libm2cor/Makefile.am +++ b/libgm2/libm2cor/Makefile.am @@ -1,5 +1,5 @@ # Makefile for libm2cor. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/libm2iso/ChanConsts.h b/libgm2/libm2iso/ChanConsts.h index 4fba640ca759..78a53213d436 100644 --- a/libgm2/libm2iso/ChanConsts.h +++ b/libgm2/libm2iso/ChanConsts.h @@ -1,6 +1,6 @@ /* ChanConsts.h provides a C header file for ISO ChanConst.def. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2iso/ErrnoCategory.c b/libgm2/libm2iso/ErrnoCategory.c index 4af8834547cd..a64478fbcb59 100644 --- a/libgm2/libm2iso/ErrnoCategory.c +++ b/libgm2/libm2iso/ErrnoCategory.c @@ -1,6 +1,6 @@ /* ErrnoCatogory.c categorizes values of errno maps onto ChanConsts.h. -Copyright (C) 2008-2021 Free Software Foundation, Inc. +Copyright (C) 2008-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2iso/Makefile.am b/libgm2/libm2iso/Makefile.am index 716767a950da..3d47d967365a 100644 --- a/libgm2/libm2iso/Makefile.am +++ b/libgm2/libm2iso/Makefile.am @@ -1,5 +1,5 @@ # Makefile for libm2iso. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/libm2iso/RTco.c b/libgm2/libm2iso/RTco.c index 06a1e8117db6..c011f2d5b05c 100644 --- a/libgm2/libm2iso/RTco.c +++ b/libgm2/libm2iso/RTco.c @@ -1,6 +1,6 @@ /* RTco.c provides minimal access to thread primitives. -Copyright (C) 2019-2021 Free Software Foundation, Inc. +Copyright (C) 2019-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. @@ -125,7 +125,7 @@ signalSem (threadSem *sem) __gthread_cond_signal (&sem->counter); else sem->sem_value++; - __gthread_mutex_unlock (&sem->mutex); + __gthread_mutex_unlock (&sem->mutex); } void stop (void) {} diff --git a/libgm2/libm2iso/wrapsock.c b/libgm2/libm2iso/wrapsock.c index 805c6a9c3c23..d0948ac92bc1 100644 --- a/libgm2/libm2iso/wrapsock.c +++ b/libgm2/libm2iso/wrapsock.c @@ -1,6 +1,6 @@ /* wrapsock.c provides access to socket related system calls. -Copyright (C) 2008-2021 Free Software Foundation, Inc. +Copyright (C) 2008-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2iso/wraptime.c b/libgm2/libm2iso/wraptime.c index 61e1b5312f65..bdaa7589a147 100644 --- a/libgm2/libm2iso/wraptime.c +++ b/libgm2/libm2iso/wraptime.c @@ -1,6 +1,6 @@ /* wraptime.c provides access to time related system calls. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2log/Break.c b/libgm2/libm2log/Break.c index 5deddb39a285..0b878d8c27e1 100644 --- a/libgm2/libm2log/Break.c +++ b/libgm2/libm2log/Break.c @@ -1,6 +1,6 @@ /* Break.c implements an interrupt handler for SIGINT. -Copyright (C) 2004-2021 Free Software Foundation, Inc. +Copyright (C) 2004-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2log/Makefile.am b/libgm2/libm2log/Makefile.am index 461612d907b9..26b23caec22f 100644 --- a/libgm2/libm2log/Makefile.am +++ b/libgm2/libm2log/Makefile.am @@ -1,5 +1,5 @@ # Makefile for libm2log. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/libm2min/Makefile.am b/libgm2/libm2min/Makefile.am index 70187a460a78..c15cdbe9f8ee 100644 --- a/libgm2/libm2min/Makefile.am +++ b/libgm2/libm2min/Makefile.am @@ -1,5 +1,5 @@ # Makefile for libm2min. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/libm2min/libc.c b/libgm2/libm2min/libc.c index 567249840f09..29ef066be829 100644 --- a/libgm2/libm2min/libc.c +++ b/libgm2/libm2min/libc.c @@ -1,6 +1,6 @@ /* libc.c provides minimal stubs for expected symbols used by the rts. -Copyright (C) 2010-2021 Free Software Foundation, Inc. +Copyright (C) 2010-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/Makefile.am b/libgm2/libm2pim/Makefile.am index 1831a2bfb6ab..e8dc508033a2 100644 --- a/libgm2/libm2pim/Makefile.am +++ b/libgm2/libm2pim/Makefile.am @@ -1,5 +1,5 @@ # Makefile for libm2pim. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/libm2pim/Selective.c b/libgm2/libm2pim/Selective.c index 0f7703bebf90..e03c68bd9ff5 100644 --- a/libgm2/libm2pim/Selective.c +++ b/libgm2/libm2pim/Selective.c @@ -1,6 +1,6 @@ /* Selective.c provide access to timeval and select. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/SysExceptions.c b/libgm2/libm2pim/SysExceptions.c index c8d548b5eec9..59d7cbff5561 100644 --- a/libgm2/libm2pim/SysExceptions.c +++ b/libgm2/libm2pim/SysExceptions.c @@ -1,6 +1,6 @@ /* SysExceptions.c configure the signals to create m2 exceptions. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/UnixArgs.c b/libgm2/libm2pim/UnixArgs.c index f8a766239f7a..daede41100f0 100644 --- a/libgm2/libm2pim/UnixArgs.c +++ b/libgm2/libm2pim/UnixArgs.c @@ -1,6 +1,6 @@ /* UnixArgs.c record argc, argv as global variables. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/cgetopt.c b/libgm2/libm2pim/cgetopt.c index 7435118b73b5..001d151348f9 100644 --- a/libgm2/libm2pim/cgetopt.c +++ b/libgm2/libm2pim/cgetopt.c @@ -1,6 +1,6 @@ /* getopt.c provide access to the C getopt library. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/dtoa.c b/libgm2/libm2pim/dtoa.c index 15286b2f3e5c..0a079a5be038 100644 --- a/libgm2/libm2pim/dtoa.c +++ b/libgm2/libm2pim/dtoa.c @@ -1,6 +1,6 @@ /* dtoa.c convert double to ascii and visa versa. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/errno.c b/libgm2/libm2pim/errno.c index 6400fff79f5f..54d93b2b90f5 100644 --- a/libgm2/libm2pim/errno.c +++ b/libgm2/libm2pim/errno.c @@ -1,6 +1,6 @@ /* errno.c provide access to the errno value. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/ldtoa.c b/libgm2/libm2pim/ldtoa.c index cee2f7fd21a0..540ee70b13e2 100644 --- a/libgm2/libm2pim/ldtoa.c +++ b/libgm2/libm2pim/ldtoa.c @@ -1,6 +1,6 @@ /* ldtoa.c convert long double to ascii and visa versa. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/sckt.c b/libgm2/libm2pim/sckt.c index 626a450af4c4..76d99349b577 100644 --- a/libgm2/libm2pim/sckt.c +++ b/libgm2/libm2pim/sckt.c @@ -1,6 +1,6 @@ /* sckt.c provide access to the socket layer. -Copyright (C) 2005-2021 Free Software Foundation, Inc. +Copyright (C) 2005-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/target.c b/libgm2/libm2pim/target.c index 838ffd1c8d2a..0e66391972d0 100644 --- a/libgm2/libm2pim/target.c +++ b/libgm2/libm2pim/target.c @@ -1,6 +1,6 @@ /* target.c provide access to miscellaneous math functions. -Copyright (C) 2005-2021 Free Software Foundation, Inc. +Copyright (C) 2005-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/termios.c b/libgm2/libm2pim/termios.c index c9cbfd9dbb76..8833df1cd0b9 100644 --- a/libgm2/libm2pim/termios.c +++ b/libgm2/libm2pim/termios.c @@ -1,6 +1,6 @@ /* termios.c provide access to the terminal. -Copyright (C) 2010-2021 Free Software Foundation, Inc. +Copyright (C) 2010-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/wrapc.c b/libgm2/libm2pim/wrapc.c index b3d118a4ccca..cfbcf7b98944 100644 --- a/libgm2/libm2pim/wrapc.c +++ b/libgm2/libm2pim/wrapc.c @@ -1,6 +1,6 @@ /* wrapc.c provide access to miscellaneous C library functions. -Copyright (C) 2005-2021 Free Software Foundation, Inc. +Copyright (C) 2005-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley . This file is part of GNU Modula-2. -- 2.47.2