]> TLD Linux GIT Repositories - packages/coreutils.git/commitdiff
- merged 8.22 from PLD
authorMarcin Krol <hawk@tld-linux.org>
Tue, 28 Jan 2014 14:23:46 +0000 (14:23 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 28 Jan 2014 14:23:46 +0000 (14:23 +0000)
coreutils-info.patch
coreutils.spec
format-security.patch [deleted file]

index 2019f5e8441183cacff2b83469e4c6f50d143149..fd167b14fadc5c1ecb4140b088f5cbe02e84606e 100644 (file)
@@ -1,5 +1,5 @@
---- coreutils-8.21/doc/coreutils.texi.orig     2013-02-11 10:37:28.000000000 +0100
-+++ coreutils-8.21/doc/coreutils.texi  2013-02-24 17:41:00.409391351 +0100
+--- coreutils-8.22/doc/coreutils.texi.orig     2013-12-13 03:43:10.000000000 +0100
++++ coreutils-8.22/doc/coreutils.texi  2013-12-14 12:02:04.754108101 +0100
 @@ -20,120 +20,109 @@
  @syncodeindex pg cp
  @syncodeindex vr cp
 @@ -20,120 +20,109 @@
  @syncodeindex pg cp
  @syncodeindex vr cp
  * Delaying::                     sleep
  * Numeric operations::           factor seq
  * File permissions::             Access modes
  * Delaying::                     sleep
  * Numeric operations::           factor seq
  * File permissions::             Access modes
-@@ -230,45 +218,45 @@
+@@ -230,43 +218,43 @@
  
  Output of entire files
  
  
  Output of entire files
  
 +* pr::                           Paginate or columnate files for printing
 +* fold::                         Wrap input lines to fit in specified width
  
 +* pr::                           Paginate or columnate files for printing
 +* fold::                         Wrap input lines to fit in specified width
  
- @command{numfmt}: General Options, Units
  Output of parts of files
  
 -* head invocation::              Output the first part of files
  Output of parts of files
  
 -* head invocation::              Output the first part of files
  
  @command{ptx}: Produce permuted indexes
  
  
  @command{ptx}: Produce permuted indexes
  
-@@ -280,15 +268,15 @@
+@@ -278,15 +266,15 @@
  
  Operating on fields
  
  
  Operating on fields
  
  
  @command{tr}: Translate, squeeze, and/or delete characters
  
  
  @command{tr}: Translate, squeeze, and/or delete characters
  
-@@ -298,10 +286,10 @@
+@@ -296,10 +284,10 @@
  
  Directory listing
  
  
  Directory listing
  
  
  @command{ls}:  List directory contents
  
  
  @command{ls}:  List directory contents
  
-@@ -314,51 +302,51 @@
+@@ -312,51 +300,51 @@
  
  Basic operations
  
  
  Basic operations
  
  
  @command{test}: Check file types and compare values
  
  
  @command{test}: Check file types and compare values
  
-@@ -377,22 +365,22 @@
+@@ -375,22 +363,22 @@
  
  Redirection
  
  
  Redirection
  
  
  @command{stty}: Print or change terminal characteristics
  
  
  @command{stty}: Print or change terminal characteristics
  
-@@ -406,22 +394,20 @@
+@@ -404,22 +392,20 @@
  
  User information
  
  
  User information
  
  
  @command{date}: Print or set system date and time
  
  
  @command{date}: Print or set system date and time
  
-@@ -436,30 +422,26 @@
+@@ -434,30 +420,26 @@
  
  SELinux context
  
  
  SELinux context
  
  @section @command{od}: Write files in octal or other formats
  
  @pindex od
  @section @command{od}: Write files in octal or other formats
  
  @pindex od
-@@ -2057,7 +2039,7 @@
+@@ -2058,7 +2040,7 @@
  
  @exitstatus
  
  
  @exitstatus
  
  @section @command{base64}: Transform data into printable data
  
  @pindex base64
  @section @command{base64}: Transform data into printable data
  
  @pindex base64
-@@ -2125,14 +2107,14 @@
+@@ -2126,14 +2108,14 @@
  These commands reformat the contents of files.
  
  @menu
  These commands reformat the contents of files.
  
  @menu
  @section @command{fmt}: Reformat paragraph text
  
  @pindex fmt
  @section @command{fmt}: Reformat paragraph text
  
  @pindex fmt
-@@ -2236,7 +2218,7 @@
+@@ -2237,7 +2219,7 @@
  
  @exitstatus
  
  
  @exitstatus
  
  @section @command{numfmt}: Reformat numbers
  
  @pindex numfmt
  @section @command{numfmt}: Reformat numbers
  
  @pindex numfmt
-@@ -2556,7 +2538,7 @@
+@@ -2557,7 +2539,7 @@
  == 2,14,74,83,648==
  @end example
  
  == 2,14,74,83,648==
  @end example
  
  @section @command{pr}: Paginate or columnate files for printing
  
  @pindex pr
  @section @command{pr}: Paginate or columnate files for printing
  
  @pindex pr
-@@ -2666,7 +2648,7 @@
+@@ -2667,7 +2649,7 @@
  @cindex time formats
  @cindex formatting times
  Format header dates using @var{format}, using the same conventions as
  @cindex time formats
  @cindex formatting times
  Format header dates using @var{format}, using the same conventions as
  Except for directives, which start with
  @samp{%}, characters in @var{format} are printed unchanged.  You can use
  this option to specify an arbitrary string in place of the header date,
  Except for directives, which start with
  @samp{%}, characters in @var{format} are printed unchanged.  You can use
  this option to specify an arbitrary string in place of the header date,
-@@ -2893,7 +2875,7 @@
+@@ -2894,7 +2876,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{fold}: Wrap input lines to fit in specified width
  
  @pindex fold
  @section @command{fold}: Wrap input lines to fit in specified width
  
  @pindex fold
-@@ -2960,13 +2942,13 @@
+@@ -2961,13 +2943,13 @@
  These commands output pieces of the input.
  
  @menu
  These commands output pieces of the input.
  
  @menu
  @section @command{head}: Output the first part of files
  
  @pindex head
  @section @command{head}: Output the first part of files
  
  @pindex head
-@@ -3043,7 +3025,7 @@
+@@ -3044,7 +3026,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{tail}: Output the last part of files
  
  @pindex tail
  @section @command{tail}: Output the last part of files
  
  @pindex tail
-@@ -3273,7 +3255,7 @@
+@@ -3282,7 +3264,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{split}: Split a file into pieces.
  
  @pindex split
  @section @command{split}: Split a file into pieces.
  
  @pindex split
-@@ -3502,7 +3484,7 @@
+@@ -3511,7 +3493,7 @@
  @end example
  
  
  @end example
  
  
  @section @command{csplit}: Split a file into context-determined pieces
  
  @pindex csplit
  @section @command{csplit}: Split a file into context-determined pieces
  
  @pindex csplit
-@@ -3693,16 +3675,16 @@
+@@ -3727,16 +3709,16 @@
  contents of files.
  
  @menu
  contents of files.
  
  @menu
  @section @command{wc}: Print newline, word, and byte counts
  
  @pindex wc
  @section @command{wc}: Print newline, word, and byte counts
  
  @pindex wc
-@@ -3820,7 +3802,7 @@
+@@ -3854,7 +3836,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{sum}: Print checksum and block counts
  
  @pindex sum
  @section @command{sum}: Print checksum and block counts
  
  @pindex sum
-@@ -3871,7 +3853,7 @@
+@@ -3905,7 +3887,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{cksum}: Print CRC checksum and byte counts
  
  @pindex cksum
  @section @command{cksum}: Print CRC checksum and byte counts
  
  @pindex cksum
-@@ -3905,7 +3887,7 @@
+@@ -3939,7 +3921,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{md5sum}: Print or check MD5 digests
  
  @pindex md5sum
  @section @command{md5sum}: Print or check MD5 digests
  
  @pindex md5sum
-@@ -4051,7 +4033,7 @@
+@@ -4085,7 +4067,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{sha1sum}: Print or check SHA-1 digests
  
  @pindex sha1sum
  @section @command{sha1sum}: Print or check SHA-1 digests
  
  @pindex sha1sum
-@@ -4063,7 +4045,7 @@
+@@ -4097,7 +4079,7 @@
  
  @command{sha1sum} computes a 160-bit checksum for each specified
  @var{file}.  The usage and options of this command are precisely the
  
  @command{sha1sum} computes a 160-bit checksum for each specified
  @var{file}.  The usage and options of this command are precisely the
  
  Note: The SHA-1 digest is more secure than MD5, and no collisions of
  it are known (different files having the same fingerprint).  However,
  
  Note: The SHA-1 digest is more secure than MD5, and no collisions of
  it are known (different files having the same fingerprint).  However,
-@@ -4103,7 +4085,7 @@
+@@ -4137,7 +4119,7 @@
  various lengths (respectively 224, 256, 384 and 512 bits),
  collectively known as the SHA-2 hashes.  The usage and options of
  these commands are precisely the same as for @command{md5sum}.
  various lengths (respectively 224, 256, 384 and 512 bits),
  collectively known as the SHA-2 hashes.  The usage and options of
  these commands are precisely the same as for @command{md5sum}.
  
  Note: The SHA384 and SHA512 digests are considerably slower to
  compute, especially on 32-bit computers, than SHA224 or SHA256.
  
  Note: The SHA384 and SHA512 digests are considerably slower to
  compute, especially on 32-bit computers, than SHA224 or SHA256.
-@@ -4118,16 +4100,16 @@
+@@ -4152,16 +4134,16 @@
  These commands work with (or produce) sorted files.
  
  @menu
  These commands work with (or produce) sorted files.
  
  @menu
  @section @command{sort}: Sort text files
  
  @pindex sort
  @section @command{sort}: Sort text files
  
  @pindex sort
-@@ -4413,7 +4395,7 @@
+@@ -4450,7 +4432,7 @@
  Sort by hashing the input keys and then sorting the hash values.
  Choose the hash function at random, ensuring that it is free of
  collisions so that differing keys have differing hash values.  This is
  Sort by hashing the input keys and then sorting the hash values.
  Choose the hash function at random, ensuring that it is free of
  collisions so that differing keys have differing hash values.  This is
  except that keys with the same value sort together.
  
  If multiple random sort fields are specified, the same random hash
  except that keys with the same value sort together.
  
  If multiple random sort fields are specified, the same random hash
-@@ -4601,7 +4583,7 @@
+@@ -4638,7 +4620,7 @@
  @var{n} is set to the number of available processors, but limited
  to 8, as there are diminishing performance gains after that.
  Note also that using @var{n} threads increases the memory usage by
  @var{n} is set to the number of available processors, but limited
  to 8, as there are diminishing performance gains after that.
  Note also that using @var{n} threads increases the memory usage by
  
  @item -u
  @itemx --unique
  
  @item -u
  @itemx --unique
-@@ -4619,7 +4601,7 @@
+@@ -4656,7 +4638,7 @@
  this equivalence does not extend to arbitrary @command{sort} options.
  For example, @code{sort -n -u} inspects only the value of the initial
  numeric string when checking for uniqueness, whereas @code{sort -n |
  this equivalence does not extend to arbitrary @command{sort} options.
  For example, @code{sort -n -u} inspects only the value of the initial
  numeric string when checking for uniqueness, whereas @code{sort -n |
  
  @macro zeroTerminatedOption
  @item -z
  
  @macro zeroTerminatedOption
  @item -z
-@@ -4842,7 +4824,7 @@
+@@ -4879,7 +4861,7 @@
  @end itemize
  
  
  @end itemize
  
  
  @section @command{shuf}: Shuffling text
  
  @pindex shuf
  @section @command{shuf}: Shuffling text
  
  @pindex shuf
-@@ -4972,7 +4954,7 @@
+@@ -5035,7 +5017,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{uniq}: Uniquify files
  
  @pindex uniq
  @section @command{uniq}: Uniquify files
  
  @pindex uniq
-@@ -4994,7 +4976,7 @@
+@@ -5057,7 +5039,7 @@
  The input need not be sorted, but repeated input lines are detected
  only if they are adjacent.  If you want to discard non-adjacent
  duplicate lines, perhaps you want to use @code{sort -u}.
  The input need not be sorted, but repeated input lines are detected
  only if they are adjacent.  If you want to discard non-adjacent
  duplicate lines, perhaps you want to use @code{sort -u}.
  
  @vindex LC_COLLATE
  Comparisons honor the rules specified by the @env{LC_COLLATE}
  
  @vindex LC_COLLATE
  Comparisons honor the rules specified by the @env{LC_COLLATE}
-@@ -5121,7 +5103,7 @@
+@@ -5218,7 +5200,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{comm}: Compare two sorted files line by line
  
  @pindex comm
  @section @command{comm}: Compare two sorted files line by line
  
  @pindex comm
-@@ -5203,7 +5185,7 @@
+@@ -5300,7 +5282,7 @@
  
  @end table
  
  
  @end table
  
  @section @command{ptx}: Produce permuted indexes
  
  @pindex ptx
  @section @command{ptx}: Produce permuted indexes
  
  @pindex ptx
-@@ -5662,7 +5644,7 @@
+@@ -5759,7 +5741,7 @@
  @end itemize
  
  
  @end itemize
  
  
  @section @command{tsort}: Topological sort
  
  @pindex tsort
  @section @command{tsort}: Topological sort
  
  @pindex tsort
-@@ -5824,13 +5806,13 @@
+@@ -5921,13 +5903,13 @@
  @chapter Operating on fields
  
  @menu
  @chapter Operating on fields
  
  @menu
  @section @command{cut}: Print selected parts of lines
  
  @pindex cut
  @section @command{cut}: Print selected parts of lines
  
  @pindex cut
-@@ -5950,7 +5932,7 @@
+@@ -6047,7 +6029,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{paste}: Merge lines of files
  
  @pindex paste
  @section @command{paste}: Merge lines of files
  
  @pindex paste
-@@ -6020,7 +6002,7 @@
+@@ -6143,7 +6125,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{join}: Join lines on a common field
  
  @pindex join
  @section @command{join}: Join lines on a common field
  
  @pindex join
-@@ -6194,13 +6176,13 @@
+@@ -6319,13 +6301,13 @@
  This commands operate on individual characters.
  
  @menu
  This commands operate on individual characters.
  
  @menu
  @section @command{tr}: Translate, squeeze, and/or delete characters
  
  @pindex tr
  @section @command{tr}: Translate, squeeze, and/or delete characters
  
  @pindex tr
-@@ -6580,7 +6562,7 @@
+@@ -6705,7 +6687,7 @@
  @end itemize
  
  
  @end itemize
  
  
  @section @command{expand}: Convert tabs to spaces
  
  @pindex expand
  @section @command{expand}: Convert tabs to spaces
  
  @pindex expand
-@@ -6633,7 +6615,7 @@
+@@ -6758,7 +6740,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{unexpand}: Convert spaces to tabs
  
  @pindex unexpand
  @section @command{unexpand}: Convert spaces to tabs
  
  @pindex unexpand
-@@ -6694,14 +6676,14 @@
+@@ -6819,14 +6801,14 @@
  and @command{vdir}, which list information about files.
  
  @menu
  and @command{vdir}, which list information about files.
  
  @menu
  @section @command{ls}: List directory contents
  
  @pindex ls
  @section @command{ls}: List directory contents
  
  @pindex ls
-@@ -7566,7 +7548,7 @@
+@@ -7689,7 +7671,7 @@
  @item +@var{format}
  @vindex LC_TIME
  List timestamps using @var{format}, where @var{format} is interpreted
  @item +@var{format}
  @vindex LC_TIME
  List timestamps using @var{format}, where @var{format} is interpreted
  For example, @option{--time-style="+%Y-%m-%d %H:%M:%S"} causes
  @command{ls} to list timestamps like @samp{2002-03-30 23:45:56}.  As
  with @command{date}, @var{format}'s interpretation is affected by the
  For example, @option{--time-style="+%Y-%m-%d %H:%M:%S"} causes
  @command{ls} to list timestamps like @samp{2002-03-30 23:45:56}.  As
  with @command{date}, @var{format}'s interpretation is affected by the
-@@ -7758,7 +7740,7 @@
+@@ -7881,7 +7863,7 @@
  @end table
  
  
  @end table
  
  
  @section @command{dir}: Briefly list directory contents
  
  @pindex dir
  @section @command{dir}: Briefly list directory contents
  
  @pindex dir
-@@ -7768,10 +7750,10 @@
+@@ -7891,10 +7873,10 @@
  -b}; that is, by default files are listed in columns, sorted vertically,
  and special characters are represented by backslash escape sequences.
  
  -b}; that is, by default files are listed in columns, sorted vertically,
  and special characters are represented by backslash escape sequences.
  
  @section @command{vdir}: Verbosely list directory contents
  
  @pindex vdir
  @section @command{vdir}: Verbosely list directory contents
  
  @pindex vdir
-@@ -7781,7 +7763,7 @@
+@@ -7904,7 +7886,7 @@
  -b}; that is, by default files are listed in long format and special
  characters are represented by backslash escape sequences.
  
  -b}; that is, by default files are listed in long format and special
  characters are represented by backslash escape sequences.
  
  @section @command{dircolors}: Color setup for @command{ls}
  
  @pindex dircolors
  @section @command{dircolors}: Color setup for @command{ls}
  
  @pindex dircolors
-@@ -7868,16 +7850,16 @@
+@@ -7991,16 +7973,16 @@
  copying, moving (renaming), and deleting (removing).
  
  @menu
  copying, moving (renaming), and deleting (removing).
  
  @menu
  @section @command{cp}: Copy files and directories
  
  @pindex cp
  @section @command{cp}: Copy files and directories
  
  @pindex cp
-@@ -8332,7 +8314,7 @@
+@@ -8477,7 +8459,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{dd}: Convert and copy a file
  
  @pindex dd
  @section @command{dd}: Convert and copy a file
  
  @pindex dd
-@@ -8798,7 +8780,7 @@
+@@ -8943,7 +8925,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{install}: Copy files and set attributes
  
  @pindex install
  @section @command{install}: Copy files and set attributes
  
  @pindex install
-@@ -8979,7 +8961,7 @@
+@@ -9124,7 +9106,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{mv}: Move (rename) files
  
  @pindex mv
  @section @command{mv}: Move (rename) files
  
  @pindex mv
-@@ -9110,7 +9092,7 @@
+@@ -9265,7 +9247,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{rm}: Remove files or directories
  
  @pindex rm
  @section @command{rm}: Remove files or directories
  
  @pindex rm
-@@ -9272,7 +9254,7 @@
+@@ -9428,7 +9410,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{shred}: Remove files more securely
  
  @pindex shred
  @section @command{shred}: Remove files more securely
  
  @pindex shred
-@@ -9282,7 +9264,7 @@
+@@ -9438,7 +9420,7 @@
  @command{shred} overwrites devices or files, to help prevent even
  very expensive hardware from recovering the data.
  
  @command{shred} overwrites devices or files, to help prevent even
  very expensive hardware from recovering the data.
  
  not actually destroyed.  Only the index listing where the file is
  stored is destroyed, and the storage is made available for reuse.
  There are undelete utilities that will attempt to reconstruct the index
  not actually destroyed.  Only the index listing where the file is
  stored is destroyed, and the storage is made available for reuse.
  There are undelete utilities that will attempt to reconstruct the index
-@@ -9529,18 +9511,18 @@
+@@ -9698,18 +9680,18 @@
  (FIFOs), symbolic links, sockets, and so-called @dfn{special files}.
  
  @menu
  (FIFOs), symbolic links, sockets, and so-called @dfn{special files}.
  
  @menu
  @section @command{link}: Make a hard link via the link syscall
  
  @pindex link
  @section @command{link}: Make a hard link via the link syscall
  
  @pindex link
-@@ -9553,7 +9535,7 @@
+@@ -9722,7 +9704,7 @@
  @code{link} function.  @xref{Hard Links, , , libc,
  The GNU C Library Reference Manual}.
  It avoids the bells and whistles of the more commonly-used
  @code{link} function.  @xref{Hard Links, , , libc,
  The GNU C Library Reference Manual}.
  It avoids the bells and whistles of the more commonly-used
  Synopsis:
  
  @example
  Synopsis:
  
  @example
-@@ -9579,7 +9561,7 @@
+@@ -9748,7 +9730,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{ln}: Make links between files
  
  @pindex ln
  @section @command{ln}: Make links between files
  
  @pindex ln
-@@ -9760,7 +9742,7 @@
- '/tmp/file' -> '../a/file'
- @end smallexample
+@@ -9932,7 +9914,7 @@
+ Relative symbolic links are generated based on their canonicalized
+ containing directory, and canonicalized targets.  I.E. all symbolic
+ links in these file names will be resolved.
 -@xref{realpath invocation}, which gives greater control
 +@xref{realpath}, which gives greater control
 -@xref{realpath invocation}, which gives greater control
 +@xref{realpath}, which gives greater control
- over relative file name generation.
+ over relative file name generation, as demonstrated in the following example:
  
  
- @item -s
-@@ -9824,7 +9806,7 @@
+ @example
+@@ -10009,7 +9991,7 @@
  @end smallexample
  
  
  @end smallexample
  
  
  @section @command{mkdir}: Make directories
  
  @pindex mkdir
  @section @command{mkdir}: Make directories
  
  @pindex mkdir
-@@ -9903,7 +9885,7 @@
+@@ -10082,7 +10064,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{mkfifo}: Make FIFOs (named pipes)
  
  @pindex mkfifo
  @section @command{mkfifo}: Make FIFOs (named pipes)
  
  @pindex mkfifo
-@@ -9950,7 +9932,7 @@
+@@ -10123,7 +10105,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{mknod}: Make block or character special files
  
  @pindex mknod
  @section @command{mknod}: Make block or character special files
  
  @pindex mknod
-@@ -10033,7 +10015,7 @@
+@@ -10200,7 +10182,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{readlink}: Print value of a symlink or canonical file name
  
  @pindex readlink
  @section @command{readlink}: Print value of a symlink or canonical file name
  
  @pindex readlink
-@@ -10135,7 +10117,7 @@
+@@ -10302,7 +10284,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{rmdir}: Remove empty directories
  
  @pindex rmdir
  @section @command{rmdir}: Remove empty directories
  
  @pindex rmdir
-@@ -10183,12 +10165,12 @@
+@@ -10350,12 +10332,12 @@
  
  @end table
  
  
  @end table
  
  @section @command{unlink}: Remove files via the unlink syscall
  
  @pindex unlink
  @section @command{unlink}: Remove files via the unlink syscall
  
  @pindex unlink
-@@ -10199,7 +10181,7 @@
+@@ -10366,7 +10348,7 @@
  @code{unlink} function.  @xref{Deleting Files, , , libc,
  The GNU C Library Reference Manual}.  Synopsis:
  It avoids the bells and whistles of the more commonly-used
  @code{unlink} function.  @xref{Deleting Files, , , libc,
  The GNU C Library Reference Manual}.  Synopsis:
  It avoids the bells and whistles of the more commonly-used
  
  @example
  unlink @var{filename}
  
  @example
  unlink @var{filename}
-@@ -10233,14 +10215,14 @@
+@@ -10400,14 +10382,14 @@
  These commands change file attributes.
  
  @menu
  These commands change file attributes.
  
  @menu
  @section @command{chown}: Change file owner and group
  
  @pindex chown
  @section @command{chown}: Change file owner and group
  
  @pindex chown
-@@ -10458,7 +10440,7 @@
+@@ -10625,7 +10607,7 @@
  @end smallexample
  
  
  @end smallexample
  
  
  @section @command{chgrp}: Change group ownership
  
  @pindex chgrp
  @section @command{chgrp}: Change group ownership
  
  @pindex chgrp
-@@ -10581,7 +10563,7 @@
+@@ -10748,7 +10730,7 @@
  @end smallexample
  
  
  @end smallexample
  
  
  @section @command{chmod}: Change access permissions
  
  @pindex chmod
  @section @command{chmod}: Change access permissions
  
  @pindex chmod
-@@ -10681,7 +10663,7 @@
+@@ -10848,7 +10830,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{touch}: Change file timestamps
  
  @pindex touch
  @section @command{touch}: Change file timestamps
  
  @pindex touch
-@@ -10888,15 +10870,15 @@
+@@ -11055,15 +11037,15 @@
  file status information, and write buffers to disk.
  
  @menu
  file status information, and write buffers to disk.
  
  @menu
  @section @command{df}: Report file system disk space usage
  
  @pindex df
  @section @command{df}: Report file system disk space usage
  
  @pindex df
-@@ -11191,7 +11173,7 @@
+@@ -11362,7 +11344,7 @@
  or @option{-x} is used together with a file name argument.
  
  
  or @option{-x} is used together with a file name argument.
  
  
  @section @command{du}: Estimate file space usage
  
  @pindex du
  @section @command{du}: Estimate file space usage
  
  @pindex du
-@@ -11424,7 +11406,7 @@
+@@ -11619,7 +11601,7 @@
  @item +@var{format}
  @vindex LC_TIME
  List timestamps using @var{format}, where @var{format} is interpreted
  @item +@var{format}
  @vindex LC_TIME
  List timestamps using @var{format}, where @var{format} is interpreted
  For example, @option{--time-style="+%Y-%m-%d %H:%M:%S"} causes
  @command{du} to list timestamps like @samp{2002-03-30 23:45:56}.  As
  with @command{date}, @var{format}'s interpretation is affected by the
  For example, @option{--time-style="+%Y-%m-%d %H:%M:%S"} causes
  @command{du} to list timestamps like @samp{2002-03-30 23:45:56}.  As
  with @command{date}, @var{format}'s interpretation is affected by the
-@@ -11492,7 +11474,7 @@
+@@ -11687,7 +11669,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{stat}: Report file or file system status
  
  @pindex stat
  @section @command{stat}: Report file or file system status
  
  @pindex stat
-@@ -11676,7 +11658,7 @@
+@@ -11876,7 +11858,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{sync}: Synchronize data on disk with memory
  
  @pindex sync
  @section @command{sync}: Synchronize data on disk with memory
  
  @pindex sync
-@@ -11703,7 +11685,7 @@
+@@ -11903,7 +11885,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{truncate}: Shrink or extend the size of a file
  
  @pindex truncate
  @section @command{truncate}: Shrink or extend the size of a file
  
  @pindex truncate
-@@ -11779,13 +11761,13 @@
+@@ -11980,13 +11962,13 @@
  This section describes commands that display text strings.
  
  @menu
  This section describes commands that display text strings.
  
  @menu
  @section @command{echo}: Print a line of text
  
  @pindex echo
  @section @command{echo}: Print a line of text
  
  @pindex echo
-@@ -11874,12 +11856,12 @@
+@@ -12075,12 +12057,12 @@
  @var{string} contains a backslash or if the first argument is
  @option{-n}.  Portable programs can use the @command{printf} command
  if they need to omit trailing newlines or output control characters or
  @var{string} contains a backslash or if the first argument is
  @option{-n}.  Portable programs can use the @command{printf} command
  if they need to omit trailing newlines or output control characters or
  @section @command{printf}: Format and print data
  
  @pindex printf
  @section @command{printf}: Format and print data
  
  @pindex printf
-@@ -12033,7 +12015,7 @@
+@@ -12234,7 +12216,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{yes}: Print a string until interrupted
  
  @pindex yes
  @section @command{yes}: Print a string until interrupted
  
  @pindex yes
-@@ -12064,14 +12046,14 @@
+@@ -12265,14 +12247,14 @@
  pipeline.
  
  @menu
  pipeline.
  
  @menu
  @section @command{false}: Do nothing, unsuccessfully
  
  @pindex false
  @section @command{false}: Do nothing, unsuccessfully
  
  @pindex false
-@@ -12101,7 +12083,7 @@
+@@ -12302,7 +12284,7 @@
  non-GNU hosts.
  
  
  non-GNU hosts.
  
  
  @section @command{true}: Do nothing, successfully
  
  @pindex true
  @section @command{true}: Do nothing, successfully
  
  @pindex true
-@@ -12137,7 +12119,7 @@
+@@ -12338,7 +12320,7 @@
  more secure and faster than a shell script implementation, and may safely
  be used as a dummy shell for the purpose of disabling accounts.
  
  more secure and faster than a shell script implementation, and may safely
  be used as a dummy shell for the purpose of disabling accounts.
  
  @section @command{test}: Check file types and compare values
  
  @pindex test
  @section @command{test}: Check file types and compare values
  
  @pindex test
-@@ -12470,7 +12452,7 @@
+@@ -12671,7 +12653,7 @@
  @end table
  
  
  @end table
  
  
  @section @command{expr}: Evaluate expressions
  
  @pindex expr
  @section @command{expr}: Evaluate expressions
  
  @pindex expr
-@@ -12747,11 +12729,11 @@
+@@ -12948,11 +12930,11 @@
  it's described here.
  
  @menu
  it's described here.
  
  @menu
  @section @command{tee}: Redirect output to multiple files or processes
  
  @pindex tee
  @section @command{tee}: Redirect output to multiple files or processes
  
  @pindex tee
-@@ -12912,15 +12894,15 @@
+@@ -13113,15 +13095,15 @@
  This section describes commands that manipulate file names.
  
  @menu
  This section describes commands that manipulate file names.
  
  @menu
  @section @command{basename}: Strip directory and suffix from a file name
  
  @pindex basename
  @section @command{basename}: Strip directory and suffix from a file name
  
  @pindex basename
-@@ -13006,7 +12988,7 @@
+@@ -13207,7 +13189,7 @@
  @end smallexample
  
  
  @end smallexample
  
  
  @section @command{dirname}: Strip last file name component
  
  @pindex dirname
  @section @command{dirname}: Strip last file name component
  
  @pindex dirname
-@@ -13063,7 +13045,7 @@
+@@ -13264,7 +13246,7 @@
  @end smallexample
  
  
  @end smallexample
  
  
  @section @command{pathchk}: Check file name validity and portability
  
  @pindex pathchk
  @section @command{pathchk}: Check file name validity and portability
  
  @pindex pathchk
-@@ -13139,7 +13121,7 @@
+@@ -13340,7 +13322,7 @@
  1 otherwise.
  @end display
  
  1 otherwise.
  @end display
  
  @section @command{mktemp}: Create temporary file or directory
  
  @pindex mktemp
  @section @command{mktemp}: Create temporary file or directory
  
  @pindex mktemp
-@@ -13314,7 +13296,7 @@
+@@ -13515,7 +13497,7 @@
  @end display
  
  
  @end display
  
  
  @section @command{realpath}: Print the resolved file name.
  
  @pindex realpath
  @section @command{realpath}: Print the resolved file name.
  
  @pindex realpath
-@@ -13442,14 +13424,14 @@
+@@ -13643,14 +13625,14 @@
  so forth.  See also the user-related commands in the next section.
  
  @menu
  so forth.  See also the user-related commands in the next section.
  
  @menu
  @section @command{pwd}: Print working directory
  
  @pindex pwd
  @section @command{pwd}: Print working directory
  
  @pindex pwd
-@@ -13496,7 +13478,7 @@
+@@ -13697,7 +13679,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{stty}: Print or change terminal characteristics
  
  @pindex stty
  @section @command{stty}: Print or change terminal characteristics
  
  @pindex stty
-@@ -14187,7 +14169,7 @@
+@@ -14398,7 +14380,7 @@
  @end table
  
  
  @end table
  
  
  @section @command{printenv}: Print all or some environment variables
  
  @pindex printenv
  @section @command{printenv}: Print all or some environment variables
  
  @pindex printenv
-@@ -14222,7 +14204,7 @@
+@@ -14433,7 +14415,7 @@
  @end display
  
  
  @end display
  
  
  @section @command{tty}: Print file name of terminal on standard input
  
  @pindex tty
  @section @command{tty}: Print file name of terminal on standard input
  
  @pindex tty
-@@ -14272,16 +14254,16 @@
+@@ -14483,16 +14465,16 @@
  logins, groups, and so forth.
  
  @menu
  logins, groups, and so forth.
  
  @menu
  @section @command{id}: Print user identity
  
  @pindex id
  @section @command{id}: Print user identity
  
  @pindex id
-@@ -14367,7 +14349,7 @@
- @end macro
- @primaryAndSupplementaryGroups{id,user argument}
+@@ -14594,7 +14576,7 @@
+ @exitstatus
  
 -@node logname invocation
 +@node logname
  @section @command{logname}: Print current login name
  
  @pindex logname
  
 -@node logname invocation
 +@node logname
  @section @command{logname}: Print current login name
  
  @pindex logname
-@@ -14388,7 +14370,7 @@
+@@ -14615,7 +14597,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{whoami}: Print effective user ID
  
  @pindex whoami
  @section @command{whoami}: Print effective user ID
  
  @pindex whoami
-@@ -14404,7 +14386,7 @@
+@@ -14631,7 +14613,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{groups}: Print group names a user is in
  
  @pindex groups
  @section @command{groups}: Print group names a user is in
  
  @pindex groups
-@@ -14432,7 +14414,7 @@
- @exitstatus
+@@ -14658,7 +14640,7 @@
  
  
+ @exitstatus
  
 -@node users invocation
 +@node users
  @section @command{users}: Print login names of users currently logged in
  
  @pindex users
  
 -@node users invocation
 +@node users
  @section @command{users}: Print login names of users currently logged in
  
  @pindex users
-@@ -14463,7 +14445,7 @@
+@@ -14689,7 +14671,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{who}: Print who is currently logged in
  
  @pindex who
  @section @command{who}: Print who is currently logged in
  
  @pindex who
-@@ -14622,16 +14604,14 @@
+@@ -14848,16 +14830,14 @@
  information.
  
  @menu
  information.
  
  @menu
  @section @command{date}: Print or set system date and time
  
  @pindex date
  @section @command{date}: Print or set system date and time
  
  @pindex date
-@@ -15324,7 +15304,7 @@
+@@ -15550,7 +15530,7 @@
  @end itemize
  
  
  @end itemize
  
  
  @section @command{arch}: Print machine hardware name
  
  @pindex arch
  @section @command{arch}: Print machine hardware name
  
  @pindex arch
-@@ -15344,7 +15324,7 @@
+@@ -15570,7 +15550,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{nproc}: Print the number of available processors
  
  @pindex nproc
  @section @command{nproc}: Print the number of available processors
  
  @pindex nproc
-@@ -15381,7 +15361,7 @@
+@@ -15607,7 +15587,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{uname}: Print system information
  
  @pindex uname
  @section @command{uname}: Print system information
  
  @pindex uname
-@@ -15511,31 +15491,7 @@
+@@ -15737,31 +15717,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
  @section @command{hostid}: Print numeric host identifier
  
  @pindex hostid
  @section @command{hostid}: Print numeric host identifier
  
  @pindex hostid
-@@ -15559,37 +15515,6 @@
+@@ -15785,37 +15741,6 @@
  
  @exitstatus
  
  
  @exitstatus
  
  @node SELinux context
  @chapter SELinux context
  
  @node SELinux context
  @chapter SELinux context
  
-@@ -15601,11 +15526,11 @@
+@@ -15827,11 +15752,11 @@
  contexts.
  
  @menu
  contexts.
  
  @menu
  @section @command{chcon}: Change SELinux context of file
  
  @pindex chcon
  @section @command{chcon}: Change SELinux context of file
  
  @pindex chcon
-@@ -15708,7 +15633,7 @@
+@@ -15934,7 +15859,7 @@
  
  @exitstatus
  
  
  @exitstatus
  
  @section @command{runcon}: Run a command in specified SELinux context
  
  @pindex runcon
  @section @command{runcon}: Run a command in specified SELinux context
  
  @pindex runcon
-@@ -15793,16 +15718,16 @@
+@@ -16019,16 +15944,16 @@
  user, etc.
  
  @menu
  user, etc.
  
  @menu
  @section @command{chroot}: Run a command with a different root directory
  
  @pindex chroot
  @section @command{chroot}: Run a command with a different root directory
  
  @pindex chroot
-@@ -15890,7 +15815,7 @@
+@@ -16116,7 +16041,7 @@
  @end display
  
  
  @end display
  
  
  @section @command{env}: Run a command in a modified environment
  
  @pindex env
  @section @command{env}: Run a command in a modified environment
  
  @pindex env
-@@ -16040,7 +15965,7 @@
+@@ -16266,7 +16191,7 @@
  @end display
  
  
  @end display
  
  
  @section @command{nice}: Run a command with modified niceness
  
  @pindex nice
  @section @command{nice}: Run a command with modified niceness
  
  @pindex nice
-@@ -16167,7 +16092,7 @@
+@@ -16393,7 +16318,7 @@
  @end example
  
  
  @end example
  
  
  @section @command{nohup}: Run a command immune to hangups
  
  @pindex nohup
  @section @command{nohup}: Run a command immune to hangups
  
  @pindex nohup
-@@ -16240,7 +16165,7 @@
+@@ -16466,7 +16391,7 @@
  instead of 125.
  
  
  instead of 125.
  
  
  @section @command{stdbuf}: Run a command with modified I/O stream buffering
  
  @pindex stdbuf
  @section @command{stdbuf}: Run a command with modified I/O stream buffering
  
  @pindex stdbuf
-@@ -16329,7 +16254,7 @@
+@@ -16555,7 +16480,7 @@
  @end display
  
  
  @end display
  
  
  @section @command{timeout}: Run a command with a time limit
  
  @pindex timeout
  @section @command{timeout}: Run a command with a time limit
  
  @pindex timeout
-@@ -16416,90 +16341,6 @@
+@@ -16642,90 +16567,6 @@
  @end display
  
  
  @end display
  
  
  @node Delaying
  @chapter Delaying
  
  @node Delaying
  @chapter Delaying
  
-@@ -16509,11 +16350,11 @@
+@@ -16735,11 +16576,11 @@
  @c Perhaps @command{wait} or other commands should be described here also?
  
  @menu
  @c Perhaps @command{wait} or other commands should be described here also?
  
  @menu
  @section @command{sleep}: Delay for a specified time
  
  @pindex sleep
  @section @command{sleep}: Delay for a specified time
  
  @pindex sleep
-@@ -16563,12 +16404,12 @@
+@@ -16789,12 +16630,12 @@
  These programs do numerically-related operations.
  
  @menu
  These programs do numerically-related operations.
  
  @menu
  @section @command{factor}: Print prime factors
  
  @pindex factor
  @section @command{factor}: Print prime factors
  
  @pindex factor
-@@ -16626,7 +16467,7 @@
+@@ -16852,7 +16693,7 @@
  @exitstatus
  
  
  @exitstatus
  
  
index a1d9101fabb2c0c4e55fca5cf3bb8305cfe487ca..44cc5ec4400cbdb850e1ba8c9fcab2ef1e1455d0 100644 (file)
@@ -6,12 +6,12 @@
 Summary:       GNU Core-utils - basic command line utilities
 Summary(pl.UTF-8):     GNU Core-utils - podstawowe narzędzia działające z linii poleceń
 Name:          coreutils
 Summary:       GNU Core-utils - basic command line utilities
 Summary(pl.UTF-8):     GNU Core-utils - podstawowe narzędzia działające z linii poleceń
 Name:          coreutils
-Version:       8.21
-Release:       2
+Version:       8.22
+Release:       1
 License:       GPL v3+
 Group:         Applications/System
 Source0:       http://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.xz
 License:       GPL v3+
 Group:         Applications/System
 Source0:       http://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.xz
-# Source0-md5: 065ba41828644eca5dd8163446de5d64
+# Source0-md5: 8fb0ae2267aa6e728958adc38f8163a2
 Source1:       %{name}-non-english-man-pages.tar.bz2
 # Source1-md5: f7c986ebc74ccb8d08ed70141063f14c
 Source2:       DIR_COLORS
 Source1:       %{name}-non-english-man-pages.tar.bz2
 # Source1-md5: f7c986ebc74ccb8d08ed70141063f14c
 Source2:       DIR_COLORS
@@ -29,7 +29,7 @@ Patch7:               %{name}-sparc64.patch
 Patch8:                %{name}-pl.po-update.patch
 # from http://www.beatex.org/web/advancedcopy.html, edited by shadzik
 Patch9:                %{name}-advcopy.patch
 Patch8:                %{name}-pl.po-update.patch
 # from http://www.beatex.org/web/advancedcopy.html, edited by shadzik
 Patch9:                %{name}-advcopy.patch
-Patch10:       format-security.patch
+Patch10:       tests.patch
 URL:           http://www.gnu.org/software/coreutils/
 BuildRequires: acl-devel
 BuildRequires: attr-devel
 URL:           http://www.gnu.org/software/coreutils/
 BuildRequires: acl-devel
 BuildRequires: attr-devel
diff --git a/format-security.patch b/format-security.patch
deleted file mode 100644 (file)
index 676a203..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- coreutils-8.20/gnulib-tests/test-xvasprintf.c~     2012-10-23 16:17:25.000000000 +0200
-+++ coreutils-8.20/gnulib-tests/test-xvasprintf.c      2012-12-17 23:51:09.622359300 +0100
-@@ -95,7 +95,7 @@
-   {
-     /* Silence gcc warning about zero-length format string.  */
-     const char *empty = "";
--    result = xasprintf (empty);
-+    result = xasprintf ("%s",empty);
-     ASSERT (result != NULL);
-     ASSERT (strcmp (result, "") == 0);
-     free (result);