Samuel Zeter 
							
						 
					 
					
						
						
							
						
						87b5a759f4 
					 
					
						
						
							
							manual: tidy the longopt.c example  
						
						... 
						
						
						
						- Change longopt.c's backticks to single quotes
- puts() does not use format specifiers
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org > 
						
						
					 
					
						2025-03-31 10:34:51 -03:00 
						 
				 
			
				
					
						
							
							
								Paul Eggert 
							
						 
					 
					
						
						
							
						
						2642002380 
					 
					
						
						
							
							Update copyright dates with scripts/update-copyrights  
						
						
						
						
					 
					
						2025-01-01 11:22:09 -08:00 
						 
				 
			
				
					
						
							
							
								Paul Eggert 
							
						 
					 
					
						
						
							
						
						dff8da6b3e 
					 
					
						
						
							
							Update copyright dates with scripts/update-copyrights  
						
						
						
						
					 
					
						2024-01-01 10:53:40 -08:00 
						 
				 
			
				
					
						
							
							
								Joseph Myers 
							
						 
					 
					
						
						
							
						
						6d7e8eda9b 
					 
					
						
						
							
							Update copyright dates with scripts/update-copyrights  
						
						
						
						
					 
					
						2023-01-06 21:14:39 +00:00 
						 
				 
			
				
					
						
							
							
								Paul Eggert 
							
						 
					 
					
						
						
							
						
						581c785bf3 
					 
					
						
						
							
							Update copyright dates with scripts/update-copyrights  
						
						... 
						
						
						
						I used these shell commands:
../glibc/scripts/update-copyrights $PWD/../gnulib/build-aux/update-copyright
(cd ../glibc && git commit -am"[this commit message]")
and then ignored the output, which consisted lines saying "FOO: warning:
copyright statement not found" for each of 7061 files FOO.
I then removed trailing white space from math/tgmath.h,
support/tst-support-open-dev-null-range.c, and
sysdeps/x86_64/multiarch/strlen-vec.S, to work around the following
obscure pre-commit check failure diagnostics from Savannah.  I don't
know why I run into these diagnostics whereas others evidently do not.
remote: *** 912-#endif
remote: *** 913:
remote: *** 914-
remote: *** error: lines with trailing whitespace found
...
remote: *** error: sysdeps/unix/sysv/linux/statx_cp.c: trailing lines 
						
						
					 
					
						2022-01-01 11:40:24 -08:00 
						 
				 
			
				
					
						
							
							
								Paul Eggert 
							
						 
					 
					
						
						
							
						
						2b778ceb40 
					 
					
						
						
							
							Update copyright dates with scripts/update-copyrights  
						
						... 
						
						
						
						I used these shell commands:
../glibc/scripts/update-copyrights $PWD/../gnulib/build-aux/update-copyright
(cd ../glibc && git commit -am"[this commit message]")
and then ignored the output, which consisted lines saying "FOO: warning:
copyright statement not found" for each of 6694 files FOO.
I then removed trailing white space from benchtests/bench-pthread-locks.c
and iconvdata/tst-iconv-big5-hkscs-to-2ucs4.c, to work around this
diagnostic from Savannah:
remote: *** pre-commit check failed ...
remote: *** error: lines with trailing whitespace found
remote: error: hook declined to update refs/heads/master 
						
						
					 
					
						2021-01-02 12:17:34 -08:00 
						 
				 
			
				
					
						
							
							
								Joseph Myers 
							
						 
					 
					
						
						
							
						
						d614a75396 
					 
					
						
						
							
							Update copyright dates with scripts/update-copyrights.  
						
						
						
						
					 
					
						2020-01-01 00:14:33 +00:00 
						 
				 
			
				
					
						
							
							
								Paul Eggert 
							
						 
					 
					
						
						
							
						
						5a82c74822 
					 
					
						
						
							
							Prefer https to http for gnu.org and fsf.org URLs  
						
						... 
						
						
						
						Also, change sources.redhat.com to sourceware.org.
This patch was automatically generated by running the following shell
script, which uses GNU sed, and which avoids modifying files imported
from upstream:
sed -ri '
  s,(http|ftp)(://(.*\.)?(gnu|fsf|sourceware)\.org($|[^.]|\.[^a-z])),https\2,g
  s,(http|ftp)(://(.*\.)?)sources\.redhat\.com($|[^.]|\.[^a-z]),https\2sourceware.org\4,g
' \
  $(find $(git ls-files) -prune -type f \
      ! -name '*.po' \
      ! -name 'ChangeLog*' \
      ! -path COPYING ! -path COPYING.LIB \
      ! -path manual/fdl-1.3.texi ! -path manual/lgpl-2.1.texi \
      ! -path manual/texinfo.tex ! -path scripts/config.guess \
      ! -path scripts/config.sub ! -path scripts/install-sh \
      ! -path scripts/mkinstalldirs ! -path scripts/move-if-change \
      ! -path INSTALL ! -path  locale/programs/charmap-kw.h \
      ! -path po/libc.pot ! -path sysdeps/gnu/errlist.c \
      ! '(' -name configure \
            -execdir test -f configure.ac -o -f configure.in ';' ')' \
      ! '(' -name preconfigure \
            -execdir test -f preconfigure.ac ';' ')' \
      -print)
and then by running 'make dist-prepare' to regenerate files built
from the altered files, and then executing the following to cleanup:
  chmod a+x sysdeps/unix/sysv/linux/riscv/configure
  # Omit irrelevant whitespace and comment-only changes,
  # perhaps from a slightly-different Autoconf version.
  git checkout -f \
    sysdeps/csky/configure \
    sysdeps/hppa/configure \
    sysdeps/riscv/configure \
    sysdeps/unix/sysv/linux/csky/configure
  # Omit changes that caused a pre-commit check to fail like this:
  # remote: *** error: sysdeps/powerpc/powerpc64/ppc-mcount.S: trailing lines
  git checkout -f \
    sysdeps/powerpc/powerpc64/ppc-mcount.S \
    sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
  # Omit change that caused a pre-commit check to fail like this:
  # remote: *** error: sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: last line does not end in newline
  git checkout -f sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S 
						
						
					 
					
						2019-09-07 02:43:31 -07:00 
						 
				 
			
				
					
						
							
							
								Joseph Myers 
							
						 
					 
					
						
						
							
						
						04277e02d7 
					 
					
						
						
							
							Update copyright dates with scripts/update-copyrights.  
						
						... 
						
						
						
						* All files with FSF copyright notices: Update copyright dates
	using scripts/update-copyrights.
	* locale/programs/charmap-kw.h: Regenerated.
	* locale/programs/locfile-kw.h: Likewise. 
						
						
					 
					
						2019-01-01 00:11:28 +00:00 
						 
				 
			
				
					
						
							
							
								H.J. Lu 
							
						 
					 
					
						
						
							
						
						ab4169313c 
					 
					
						
						
							
							manual/examples: Remove redundant "if not"  
						
						... 
						
						
						
						Replace "if not, if not," with "if not,".
	* manual/examples/add.c: Remove redundant "if not".
	* manual/examples/argp-ex1.c: Likewise.
	* manual/examples/argp-ex2.c: Likewise.
	* manual/examples/argp-ex3.c: Likewise.
	* manual/examples/argp-ex4.c: Likewise.
	* manual/examples/atexit.c: Likewise.
	* manual/examples/db.c: Likewise.
	* manual/examples/dir.c: Likewise.
	* manual/examples/dir2.c: Likewise.
	* manual/examples/execinfo.c: Likewise.
	* manual/examples/filecli.c: Likewise.
	* manual/examples/filesrv.c: Likewise.
	* manual/examples/fmtmsgexpl.c: Likewise.
	* manual/examples/genpass.c: Likewise.
	* manual/examples/inetcli.c: Likewise.
	* manual/examples/inetsrv.c: Likewise.
	* manual/examples/isockad.c: Likewise.
	* manual/examples/longopt.c: Likewise.
	* manual/examples/memopen.c: Likewise.
	* manual/examples/memstrm.c: Likewise.
	* manual/examples/mkdirent.c: Likewise.
	* manual/examples/mkfsock.c: Likewise.
	* manual/examples/mkisock.c: Likewise.
	* manual/examples/mygetpass.c: Likewise.
	* manual/examples/pipe.c: Likewise.
	* manual/examples/popen.c: Likewise.
	* manual/examples/rprintf.c: Likewise.
	* manual/examples/search.c: Likewise.
	* manual/examples/select.c: Likewise.
	* manual/examples/setjmp.c: Likewise.
	* manual/examples/sigh1.c: Likewise.
	* manual/examples/sigusr.c: Likewise.
	* manual/examples/stpcpy.c: Likewise.
	* manual/examples/strdupa.c: Likewise.
	* manual/examples/strftim.c: Likewise.
	* manual/examples/subopt.c: Likewise.
	* manual/examples/swapcontext.c: Likewise.
	* manual/examples/termios.c: Likewise.
	* manual/examples/testopt.c: Likewise.
	* manual/examples/testpass.c: Likewise.
	* manual/examples/timeval_subtract.c: Likewise. 
						
						
					 
					
						2018-12-20 07:53:57 -08:00 
						 
				 
			
				
					
						
							
							
								Joseph Myers 
							
						 
					 
					
						
						
							
						
						688903eb3e 
					 
					
						
						
							
							Update copyright dates with scripts/update-copyrights.  
						
						... 
						
						
						
						* All files with FSF copyright notices: Update copyright dates
	using scripts/update-copyrights.
	* locale/programs/charmap-kw.h: Regenerated.
	* locale/programs/locfile-kw.h: Likewise. 
						
						
					 
					
						2018-01-01 00:32:25 +00:00 
						 
				 
			
				
					
						
							
							
								Joseph Myers 
							
						 
					 
					
						
						
							
						
						bfff8b1bec 
					 
					
						
						
							
							Update copyright dates with scripts/update-copyrights.  
						
						
						
						
					 
					
						2017-01-01 00:14:16 +00:00 
						 
				 
			
				
					
						
							
							
								Joseph Myers 
							
						 
					 
					
						
						
							
						
						f7a9f785e5 
					 
					
						
						
							
							Update copyright dates with scripts/update-copyrights.  
						
						
						
						
					 
					
						2016-01-04 16:05:18 +00:00 
						 
				 
			
				
					
						
							
							
								Joseph Myers 
							
						 
					 
					
						
						
							
						
						b168057aaa 
					 
					
						
						
							
							Update copyright dates with scripts/update-copyrights.  
						
						
						
						
					 
					
						2015-01-02 16:29:47 +00:00 
						 
				 
			
				
					
						
							
							
								Allan McRae 
							
						 
					 
					
						
						
							
						
						d4697bc93d 
					 
					
						
						
							
							Update copyright notices with scripts/update-copyrights  
						
						
						
						
					 
					
						2014-01-01 22:00:23 +10:00 
						 
				 
			
				
					
						
							
							
								Joseph Myers 
							
						 
					 
					
						
						
							
						
						568035b787 
					 
					
						
						
							
							Update copyright notices with scripts/update-copyrights.  
						
						
						
						
					 
					
						2013-01-02 19:05:09 +00:00 
						 
				 
			
				
					
						
							
							
								Roland McGrath 
							
						 
					 
					
						
						
							
						
						d9a17c075e 
					 
					
						
						
							
							BZ  #13792 : License manual example source files under GPL.  
						
						
						
						
					 
					
						2012-03-02 16:52:01 -08:00 
						 
				 
			
				
					
						
							
							
								Rafe Kettler 
							
						 
					 
					
						
						
							
						
						09c093b500 
					 
					
						
						
							
							Make declarations of "main" in examples consistent.  
						
						
						
						
					 
					
						2012-02-18 00:12:10 +00:00 
						 
				 
			
				
					
						
							
							
								Andreas Jaeger 
							
						 
					 
					
						
						
							
						
						941cee2737 
					 
					
						
						
							
							(main): Fix which options take arguments.  
						
						
						
						
					 
					
						2001-07-24 16:28:48 +00:00 
						 
				 
			
				
					
						
							
							
								Ulrich Drepper 
							
						 
					 
					
						
						
							
						
						9495793d2a 
					 
					
						
						
							
							Update.  
						
						... 
						
						
						
						2001-01-07  Ben Collins  <bcollins@debian.org >
	* manual/examples/longopt.c: Make the "struct option" a little
	more like it should be, adding usage of required_argument,
	noargument and such, and also setting the options string right.
	* manual/sysinfo.texi (Load Average): New section, documents
	getloadavg(). 
						
						
					 
					
						2001-01-07 16:59:39 +00:00 
						 
				 
			
				
					
						
							
							
								Roland McGrath 
							
						 
					 
					
						
						
							
						
						46d9215f3b 
					 
					
						
						
							
							Wed May 15 18:59:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>  
						
						... 
						
						
						
						* manual/examples/longopt.c: Include stdlib.h and getopt.h. 
						
						
					 
					
						1996-05-15 23:05:44 +00:00 
						 
				 
			
				
					
						
							
							
								Roland McGrath 
							
						 
					 
					
						
						
							
						
						28f540f45b 
					 
					
						
						
							
							initial import  
						
						
						
						
					 
					
						1995-02-18 01:27:10 +00:00