Commit Graph

8293 Commits

Author SHA1 Message Date
Karel Zak 1687d0a028 build-sys: release++ (v2.25)
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-22 11:12:05 +02:00
Karel Zak fdd3a12644 docs: update v2.25-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-22 11:11:01 +02:00
Benno Schulenberg b59c86c8d5 docs: bring one more man page closer to standard formatting
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-07-22 10:43:04 +02:00
Karel Zak e5a367db58 docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-22 10:42:32 +02:00
Karel Zak 055093182d po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-22 10:39:11 +02:00
Wylmer Wang f862938183 po: update zh_CN.po (from translationproject.org) 2014-07-22 10:33:18 +02:00
Trần Ngọc Quân 528ef7ad40 po: update vi.po (from translationproject.org) 2014-07-22 10:33:18 +02:00
Yuri Chornoivan b7b9d9bfb1 po: update uk.po (from translationproject.org) 2014-07-22 10:33:18 +02:00
Rafael Ferreira e9a7a47b9a po: update pt_BR.po (from translationproject.org) 2014-07-22 10:33:18 +02:00
Jakub Bogusz 984814c55b po: update pl.po (from translationproject.org) 2014-07-22 10:33:18 +02:00
Benno Schulenberg 75d401d884 po: update nl.po (from translationproject.org) 2014-07-22 10:33:18 +02:00
Takeshi Hamasaki 1a152bf319 po: update ja.po (from translationproject.org) 2014-07-22 10:33:18 +02:00
David Prévot fb2ab613da po: update fr.po (from translationproject.org) 2014-07-22 10:33:18 +02:00
Lauri Nurmi 9219ccc571 po: update fi.po (from translationproject.org) 2014-07-22 10:33:18 +02:00
Antonio Ceballos Roa f45c72154d po: update es.po (from translationproject.org) 2014-07-22 10:33:18 +02:00
Mario Blättermann e7ca060691 po: update de.po (from translationproject.org) 2014-07-22 10:33:18 +02:00
Joe Hansen fca91f748b po: update da.po (from translationproject.org) 2014-07-22 10:33:17 +02:00
Petr Písař 26a3533055 po: update cs.po (from translationproject.org) 2014-07-22 10:33:17 +02:00
Karel Zak c6f637e667 prlimit: remove repeating words from man page
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-21 16:09:38 +02:00
Benno Schulenberg 86407f2cae cfdisk: actually translate the partition types in the menu
[kzak@redhat.com: - translate also GPT types]

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-21 15:36:33 +02:00
Benno Schulenberg c372860ddb docs: bring eight more man pages closer to standard formatting
Also, for chcpu, the options -c, -d, -e and -g are mutually exclusive,
and for the mode argument the option -p is not optional.  For ldattach,
use the standard options separator ", " instead of the unusual " | ".
And add the missing --version to several of the pages.  Besides, improve
the wording and the consistency of the spacing.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-07-21 10:29:44 +02:00
Benno Schulenberg cf8e0bae34 docs: bring five more man pages closer to standard formatting
Also, for renice, adapt the descriptions to the behaviour: the -g,
-p and -u options do not actually need to be followed by any ID.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-07-21 10:29:43 +02:00
Karel Zak 06716dffdc mount: update info about mtab in mount.8
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-21 10:27:25 +02:00
Karel Zak 7887c6e0f0 prlimit: clean up columns[] usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-18 13:54:31 +02:00
Karel Zak a560a3487b swapon: clean up columns[] usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-18 13:53:02 +02:00
Karel Zak d78deddc6d losetup: clean up columns[] usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-18 13:52:02 +02:00
Karel Zak 87a144a502 lslogins: more robust usage of columns[]
For more details see commit dcc8dbdc8137cb3da5100158639b565565b89875.

Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-18 13:51:01 +02:00
Karel Zak 059a91f8d0 wdctl: clean up columns[] usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-18 13:50:33 +02:00
Karel Zak edaf38cf8c findmnt: more robust usage of columns[]
For more details see commit dcc8dbdc8137cb3da5100158639b565565b89875.

Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-18 13:49:40 +02:00
Karel Zak 21abf83d6d lslocks: clean up columns[] usage
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-18 13:48:31 +02:00
Karel Zak b6327c6fd8 lsblk: check number of used columns
The current code does not check size of the columns[] array when add
the next on command line specified column. We check the array size for
"-o <columns>" but not for another options.

Old version:

   $ for x in $(seq 0 100); do echo "-t"; done | xargs lsblk
   xargs: lsblk: terminated by signal 11

new version:

  $ for x in $(seq 0 100); do echo "-t"; done | xargs lsblk
  lsblk: too many columns specified, the limit is 83 columns.

Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-18 13:47:53 +02:00
Karel Zak 03df0d1150 lsblk: differentiate between infos[] and columns[]
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-18 13:45:32 +02:00
Karel Zak 5ffe4d514c Merge branch 'patch-1' of https://github.com/bneijt/util-linux 2014-07-18 12:59:46 +02:00
Karel Zak a4f0a42dd2 cfdisk: use /dev/sda by default
.. this all is for backward compatibility.

Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-18 12:54:40 +02:00
Karel Zak 479912e7b3 wall: add fallback for failed sysconf()
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-17 15:19:34 +02:00
Karel Zak 86c58c4a82 umount: fix memory leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-17 15:12:35 +02:00
Karel Zak df1a1ca0c9 fstrim: fix memory leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-17 15:07:49 +02:00
Karel Zak aea3a3ba2c findmnt: fix memory leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-17 15:00:17 +02:00
Karel Zak fa936c9f9b sulogin: don't use uninitialized struct sigaction [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-17 14:47:20 +02:00
Karel Zak c210324c67 sulogin: check result of the open() [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-17 14:42:00 +02:00
Karel Zak 2e118e709b last: fix is_phantom() logic [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-17 14:39:11 +02:00
Karel Zak 98d391c0b6 libmount: add missing assert()
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-17 14:31:05 +02:00
Karel Zak f9953bbaa2 libblkid: comparing an array to null is not useful [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-17 14:20:03 +02:00
Karel Zak 8471bc61f9 lib/procutils: check fgets() return value [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-17 14:11:28 +02:00
Karel Zak cba69bb551 lib/loopdev: comparing an array to null is not useful [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-17 14:08:18 +02:00
Benno Schulenberg d179d01950 docs: bring four more man pages closer to standard formatting
In the IPC man pages strictly adhere to the memory, queue, semaphore
order, to reduce disorientation.  And for 'ipcmk', the arguments for
-M and -S and -p are not optional.  Add --version for 'mountpoint'.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-07-17 14:01:04 +02:00
Sami Kerola e612ead96a fstrim: avoid TOCTOU race
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2014-07-17 14:01:02 +02:00
Sami Kerola 0407c1bef9 fallocate: avoid unnecessary computation
Where POSIX_FADV_SEQUENTIAL and HAVE_POSIX_FADVISE are not available it
is waste of resources to have variables that are meaningful only for
posix_fadvise().  Also initialize the variables immediately to correct
values, and since cachesz is never changed mark it read only.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2014-07-17 14:01:00 +02:00
Sami Kerola 8a03628de9 lib/colors: remove memory leak
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2014-07-17 14:00:55 +02:00
Benno Schulenberg 5c0b406deb build-sys: harmonize some indentation
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-07-17 14:00:53 +02:00