Changes between v2.26-rc1 and v2.26-rc2 -------------------------------------------- commit 035e4c0a440e74c3f56dca34f0be7ea262e931c9 Author: Karel Zak Date: Wed Feb 4 11:50:19 2015 +0100 build-sys: release++ (v2.26-rc2) Signed-off-by: Karel Zak NEWS | 6 +++++- configure.ac | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) commit 8d231463ce7b54ba6d29ef72bc640b266854a2d4 Author: Karel Zak Date: Wed Feb 4 11:48:33 2015 +0100 docs: update v2.26-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.26-ReleaseNotes | 104 +++++++++++++++++++++++++++++- 1 file changed, 102 insertions(+), 2 deletions(-) commit 7ddbe2fc89443fe97d9d1f0d4342ac11b4e12e48 Author: Karel Zak Date: Wed Feb 4 11:45:20 2015 +0100 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 1 + 1 file changed, 1 insertion(+) commit b0041e4a763dfcc3a195204c4f2d35d5ccf2905d Author: Karel Zak Date: Wed Feb 4 11:42:08 2015 +0100 po: merge changes Signed-off-by: Karel Zak po/ca.po | 1745 +++++++++++++++++++++---------------------- po/cs.po | 1771 ++++++++++++++++++++++---------------------- po/da.po | 1753 ++++++++++++++++++++++--------------------- po/de.po | 1801 +++++++++++++++++++++++---------------------- po/es.po | 1800 +++++++++++++++++++++++---------------------- po/et.po | 1749 +++++++++++++++++++++---------------------- po/eu.po | 1741 +++++++++++++++++++++---------------------- po/fi.po | 1746 +++++++++++++++++++++---------------------- po/fr.po | 1765 ++++++++++++++++++++++---------------------- po/gl.po | 1738 +++++++++++++++++++++---------------------- po/hr.po | 1731 +++++++++++++++++++++---------------------- po/hu.po | 1743 +++++++++++++++++++++---------------------- po/id.po | 1742 +++++++++++++++++++++---------------------- po/it.po | 1748 +++++++++++++++++++++---------------------- po/ja.po | 2125 ++++++++++++++++++++++------------------------------- po/nl.po | 1779 ++++++++++++++++++++++---------------------- po/pl.po | 1807 +++++++++++++++++++++++---------------------- po/pt_BR.po | 1764 +++++++++++++++++++++++--------------------- po/ru.po | 1762 ++++++++++++++++++++++---------------------- po/sl.po | 1745 +++++++++++++++++++++---------------------- po/sv.po | 1745 +++++++++++++++++++++---------------------- po/tr.po | 1745 +++++++++++++++++++++---------------------- po/uk.po | 1803 +++++++++++++++++++++++---------------------- po/util-linux.pot | 1675 +++++++++++++++++++++-------------------- po/vi.po | 1765 ++++++++++++++++++++++---------------------- po/zh_CN.po | 1762 +++++++++++++++++++++++--------------------- po/zh_TW.po | 1733 ++++++++++++++++++++++--------------------- 27 files changed, 24156 insertions(+), 23627 deletions(-) commit 10cd5e058f6cfae36def57c4253df89ae5e161f1 Author: Yuri Chornoivan Date: Wed Feb 4 11:38:16 2015 +0100 po: update uk.po (from translationproject.org) po/uk.po | 1207 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 533 insertions(+), 674 deletions(-) commit a0af7453303bc60e4323a15a21de2418ead98e93 Author: Jakub Bogusz Date: Wed Feb 4 11:38:16 2015 +0100 po: update pl.po (from translationproject.org) po/pl.po | 2134 ++++++++++++++++---------------------------------------------- 1 file changed, 534 insertions(+), 1600 deletions(-) commit 2efca31826ff412e6ac037b8d39a9309be5082da Author: Benno Schulenberg Date: Wed Feb 4 11:38:16 2015 +0100 po: update nl.po (from translationproject.org) po/nl.po | 822 ++++++++++++++++++++++++++------------------------------------- 1 file changed, 339 insertions(+), 483 deletions(-) commit e4351bcba0ed2c546703e755adac92854df9cc2f Author: Takeshi Hamasaki Date: Wed Feb 4 11:38:16 2015 +0100 po: update ja.po (from translationproject.org) po/ja.po | 756 ++++++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 550 insertions(+), 206 deletions(-) commit 369acfd749723b63aed1cac6bbb1864f34de2ff6 Author: Antonio Ceballos Roa Date: Wed Feb 4 11:38:16 2015 +0100 po: update es.po (from translationproject.org) po/es.po | 1779 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 864 insertions(+), 915 deletions(-) commit 2905ba2a6960a1d78c37c789460d89d3b560c050 Author: Mario Blättermann Date: Wed Feb 4 11:38:16 2015 +0100 po: update de.po (from translationproject.org) po/de.po | 6259 +++++++------------------------------------------------------- 1 file changed, 715 insertions(+), 5544 deletions(-) commit 5d9d03ceaf42018340f7bef88e898953554b150d Author: Karel Zak Date: Wed Feb 4 11:34:39 2015 +0100 tests: update build-sys tests The systemd libs are merged into one shared library only. Signed-off-by: Karel Zak tests/expected/build-sys/config-all | 6 +++--- tests/expected/build-sys/config-all-non-nls | 6 +++--- tests/expected/build-sys/config-audit | 6 +++--- tests/expected/build-sys/config-chfnsh-libuser | 6 +++--- tests/expected/build-sys/config-chfnsh-no-password | 6 +++--- tests/expected/build-sys/config-chfnsh-pam | 6 +++--- tests/expected/build-sys/config-core | 6 +++--- tests/expected/build-sys/config-devel | 6 +++--- tests/expected/build-sys/config-devel-non-docs | 6 +++--- tests/expected/build-sys/config-non-libblkid | 6 +++--- tests/expected/build-sys/config-non-libmount | 6 +++--- tests/expected/build-sys/config-non-libs | 2 +- tests/expected/build-sys/config-non-libsmartcols | 4 ++-- tests/expected/build-sys/config-non-libuuid | 4 ++-- tests/expected/build-sys/config-non-nls | 6 +++--- tests/expected/build-sys/config-selinux | 6 +++--- tests/expected/build-sys/config-slang | 6 +++--- tests/expected/build-sys/config-static | 6 +++--- 18 files changed, 50 insertions(+), 50 deletions(-) commit 2d5ae6d80a165ac06f3f9ffc1e6a12a6a7d93545 Author: Karel Zak Date: Tue Feb 3 14:20:53 2015 +0100 tests: don't hardcode devnames Signed-off-by: Karel Zak tests/expected/fdisk/align-512-4K-topology | 78 ------------------------------ tests/expected/sfdisk/gpt-read-dump | 4 +- tests/ts/sfdisk/gpt | 1 + 3 files changed, 3 insertions(+), 80 deletions(-) commit 0c8cd4ba7a1a85c437ef63f462d20f0b944778d0 Author: Karel Zak Date: Tue Feb 3 14:05:05 2015 +0100 libmount: fix type pointer usage Signed-off-by: Karel Zak libmount/src/context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d527d2dd6463b47612f6a5da17ac6f60c349fbd2 Author: Karel Zak Date: Tue Feb 3 13:44:16 2015 +0100 libfdisk: grain is in bytes, fix previous patches Signed-off-by: Karel Zak libfdisk/src/dos.c | 5 ++++- libfdisk/src/gpt.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) commit a7990e3bd04975dd8eb47919539884a013ea4db4 Author: Karel Zak Date: Tue Feb 3 13:28:50 2015 +0100 tests: update MBR sort test Now libfdisk writes empty disk labels too. See commit 3d919d95838241aa7ddfe8df7d17ea0fc7d0f5e7. Signed-off-by: Karel Zak tests/expected/fdisk/mbr-sort | 2 ++ 1 file changed, 2 insertions(+) commit 33b981f7570e83d5b998b043a0c48181e671bf72 Author: Benno Schulenberg Date: Mon Feb 2 21:44:34 2015 +0100 libfdisk: (dos) make a helpful message fit within 80 characters Also add a hint for translators. Signed-off-by: Benno Schulenberg libfdisk/src/dos.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 68fe4b2822018cb952e6b0c7dbca75a228cc7117 Author: Karel Zak Date: Tue Feb 3 13:20:45 2015 +0100 libfdisk: don't align very small partitions Signed-off-by: Karel Zak libfdisk/src/dos.c | 5 +++++ libfdisk/src/gpt.c | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) commit 29e9b787da11b279c817731e6d321ecfcedc7ba3 Author: Karel Zak Date: Tue Feb 3 13:06:20 2015 +0100 cfdisk: improve ui_get_size() warnings - don't reset to default after error - clean previous warnings after users response - remove unnecessary warning Reported-by: Benno Schulenberg Signed-off-by: Karel Zak disk-utils/cfdisk.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit 1bb387bdbd25b241929ddf5e28f187f4968677a1 Author: Karel Zak Date: Tue Feb 3 12:44:00 2015 +0100 libfdisk: fix issues with very small partitions - cfdisk: minimal partitions size is 1 sector - dos: when align last sector then don't set partition size to zero for very small partitions. - don't ignore tiny partitions before free space when define free-space start offset - improve some debug messages Reported-by: Benno Schulenberg Signed-off-by: Karel Zak disk-utils/cfdisk.c | 5 +++-- libfdisk/src/dos.c | 7 +++++-- libfdisk/src/table.c | 8 +++++--- 3 files changed, 13 insertions(+), 7 deletions(-) commit 3d919d95838241aa7ddfe8df7d17ea0fc7d0f5e7 Author: Karel Zak Date: Tue Feb 3 12:03:12 2015 +0100 libfdisk: (dos) write new empty label too Signed-off-by: Karel Zak libfdisk/src/dos.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 0e4254f42cddbdd8ea2ec23779da9ca194e7075b Author: Karel Zak Date: Tue Feb 3 11:22:21 2015 +0100 docs: add new cfdisk request to TODO file Signed-off-by: Karel Zak Documentation/TODO | 6 ++++++ 1 file changed, 6 insertions(+) commit 47dd69188a3dd2d778982d6610f25b53f6c8b35d Author: Karel Zak Date: Tue Feb 3 11:16:46 2015 +0100 docs: add info about *_DEBUG= to man pages Signed-off-by: Karel Zak disk-utils/cfdisk.8 | 2 ++ disk-utils/fdisk.8 | 2 ++ disk-utils/sfdisk.8 | 2 ++ misc-utils/whereis.1 | 3 +++ 4 files changed, 9 insertions(+) commit f9fb8290d87f9a6b3695e44c732c429f3990f79a Author: Karel Zak Date: Tue Feb 3 11:04:37 2015 +0100 cfdisk: print "wrong order" warning after startup, colorize info messages Signed-off-by: Karel Zak disk-utils/cfdisk.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit b5ef65a931ebc9111eaaa03df1db5cb9afaaa8cf Author: Karel Zak Date: Tue Feb 3 10:37:33 2015 +0100 cfdisk: force main menu to default to Quit/New menu items Reported-by: Benno Schulenberg Signed-off-by: Karel Zak disk-utils/cfdisk.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) commit 635a81513a843061683c589743ef2615e356d4bc Author: Karel Zak Date: Mon Feb 2 13:05:48 2015 +0100 cfdisk: disable some KEY_* in ui_get_wqstring() Signed-off-by: Karel Zak disk-utils/cfdisk.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 316bce9dd4bdb4e54fbc9cf996013d24b29e8bfd Author: Karel Zak Date: Mon Feb 2 12:47:50 2015 +0100 cfdisk: default to Quit menu item Signed-off-by: Karel Zak disk-utils/cfdisk.c | 4 ++++ 1 file changed, 4 insertions(+) commit eed0e7b9bc01884140807bebe4720004d224652c Author: Karel Zak Date: Mon Feb 2 12:20:44 2015 +0100 libfdisk: (dos) fix logical partitions errors handling The current code in add_partition() de-increment number of partitions on error when logical partition requested and add_logical() does the same. The result is mess in partitions array. The another fixed issue is that add_logical() is called if all primary partitions are already used although 'pa->start' (the template) is explicitly defined outside the extended partition. The right behavior is to end with error message. Signed-off-by: Karel Zak libfdisk/src/dos.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit fc14ceba5e545a0e0f61e7a9fe562c79671258ef Author: Benno Schulenberg Date: Thu Jan 29 21:21:48 2015 +0100 textual: grammarize and harmonize the stat error message The message "stat failed %s" seems to say that stat() failed to do something, or failed to pass a test, but of course it means that the statting of something failed. So say so. Also make two very similar messages equal to this one. Signed-off-by: Benno Schulenberg disk-utils/fdformat.c | 2 +- disk-utils/fsck.cramfs.c | 2 +- disk-utils/mkfs.bfs.c | 2 +- disk-utils/mkfs.cramfs.c | 6 +++--- disk-utils/mkfs.minix.c | 2 +- disk-utils/mkswap.c | 2 +- disk-utils/partx.c | 2 +- login-utils/last.c | 2 +- login-utils/utmpdump.c | 2 +- misc-utils/namei.c | 2 +- misc-utils/rename.c | 2 +- sys-utils/blkdiscard.c | 2 +- sys-utils/dmesg.c | 2 +- sys-utils/fallocate.c | 2 +- sys-utils/fsfreeze.c | 2 +- sys-utils/fstrim.c | 2 +- sys-utils/swapon.c | 2 +- sys-utils/switch_root.c | 4 ++-- term-utils/mesg.c | 2 +- text-utils/more.c | 2 +- text-utils/tailf.c | 4 ++-- 21 files changed, 25 insertions(+), 25 deletions(-) commit 51278ec020c2af1d11e4424867a82574ec96bfb5 Author: Sami Kerola Date: Thu Jan 29 07:52:27 2015 +0000 docs: mention nice(1) in renice(1) manual page Addresses: https://bugs.debian.org/260984 Signed-off-by: Sami Kerola sys-utils/renice.1 | 1 + 1 file changed, 1 insertion(+) commit 3c1f7603bf7d3229cfb5d6522af30b8003acdf9e Author: Jan Kara Date: Wed Jan 28 10:50:53 2015 +0100 mount: Further FAT mount option update Add some mount options mentioned in Documentation/filesystems/vfat.txt. Signed-off-by: Jan Kara sys-utils/mount.8 | 49 ++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 44 insertions(+), 5 deletions(-) commit b7b16b0bcfc5d06f955bd6986aa23a4cc63fdbbe Author: Jan Kara Date: Wed Jan 28 10:00:25 2015 +0100 mount: Add documentation of FAT mount option time_offset Signed-off-by: Jan Kara sys-utils/mount.8 | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit db0ccb761dca25632a93d8fbe30af3ad96562bf5 Author: Karel Zak Date: Mon Feb 2 11:15:47 2015 +0100 whereis: lookup also info docs Signed-off-by: Karel Zak misc-utils/whereis.1 | 3 ++- misc-utils/whereis.c | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) commit 9ac1fcf6c519cf2db6d8ee715ccf7227e91468b6 Author: Benno Schulenberg Date: Sun Feb 1 22:12:14 2015 +0100 sfdisk: actually translate the table headers by calling gettext() Signed-off-by: Benno Schulenberg disk-utils/fdisk-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c7b1fbb4c52d0b176450cbd782cee72f9b1c8cbb Author: Benno Schulenberg Date: Sun Feb 1 15:00:13 2015 +0100 docs: add the Sort command to the man page of cfdisk Also sort T into its proper position, improve the wording of U, and add the Left and Right arrow keys. Signed-off-by: Benno Schulenberg disk-utils/cfdisk.8 | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) commit a0aee0a9a9726696f4f0c7efbeccf8d3cffc4bed Author: Benno Schulenberg Date: Sun Feb 1 15:00:12 2015 +0100 build-sys: improve wording and punctuation of several messages Signed-off-by: Benno Schulenberg autogen.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit dc45b86e149372e6a9770a7035eaed93f0021a33 Author: Benno Schulenberg Date: Sun Feb 1 15:00:11 2015 +0100 libfdisk: actually translate the human-readable name of the partition type Signed-off-by: Benno Schulenberg libfdisk/src/partition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25e3dd1739c9463cea1354ad9ad8401bced16768 Author: Benno Schulenberg Date: Sun Feb 1 15:00:10 2015 +0100 lib/strutils: accept not just 'B' but also lowercase 'b' in a size suffix Just line 'M' and 'm' are accepted for mega, 'G' and 'g' for giga, 'S' and 's' for sectors, and so on. Signed-off-by: Benno Schulenberg lib/strutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2a0ffa311c8ac49847965b834d1e4b06cac3b168 Author: Benno Schulenberg Date: Sun Feb 1 15:00:09 2015 +0100 cfdisk: make '?' an alias of 'h', to also show the help screen Signed-off-by: Benno Schulenberg disk-utils/cfdisk.c | 1 + 1 file changed, 1 insertion(+) commit d4640320dff75cc1bdbc1910cf4e3b66b8623aa2 Author: Benno Schulenberg Date: Sun Feb 1 15:00:08 2015 +0100 cfdisk: punctuate the bottombar messages consistently Also adjust the style of two comments and add another. Signed-off-by: Benno Schulenberg disk-utils/cfdisk.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 143d9e3e524a67d9e80c62c7c63d5d5ae351124a Author: Benno Schulenberg Date: Sun Feb 1 15:00:07 2015 +0100 cfdisk: improve wording and consistency of the size warnings Signed-off-by: Benno Schulenberg disk-utils/cfdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a4fbbbd49141bd9613f7adac2760071fbd8356bf Author: Benno Schulenberg Date: Sun Feb 1 15:00:06 2015 +0100 cfdisk: remove the mistaken B from the explanation of size suffixes Also reword the explanation to be clearer. It is not necessary to be complete -- that is what the man page is for. Signed-off-by: Benno Schulenberg disk-utils/cfdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 625d00fefbcccda99bf507e41235bd25fc83225e Author: Karel Zak Date: Mon Feb 2 10:38:05 2015 +0100 libfdisk: (dos) delete also logical with extended deleting an extended partition with cfdisk leaves its contained partitions in existence Reported-by: Benno Schulenberg Signed-off-by: Karel Zak libfdisk/src/dos.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit f1b64c1c1f20c459077db36797dd5cc7063d8d55 Author: Karel Zak Date: Thu Jan 29 12:40:06 2015 +0100 wipefs: fix FD leak on error [coverity scan] Signed-off-by: Karel Zak misc-utils/wipefs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 1539750f2a82e7ff627893709ac70a0d241ec60c Author: Karel Zak Date: Thu Jan 29 12:35:26 2015 +0100 lsblk: implement SOMEOK (=64) return code Signed-off-by: Karel Zak misc-utils/lsblk.8 | 11 +++++++++++ misc-utils/lsblk.c | 40 +++++++++++++++++++++++++++------------- 2 files changed, 38 insertions(+), 13 deletions(-) commit 4631e25427df6f501dc2ae67002bd3841d2899b8 Author: Karel Zak Date: Thu Jan 29 11:59:54 2015 +0100 findmnt: fix mem leaks [coverity scan] Signed-off-by: Karel Zak misc-utils/findmnt.c | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) commit 912a7077b2b4f2735bbd1ad6281baafd452d3eda Author: Karel Zak Date: Thu Jan 29 11:40:47 2015 +0100 utmpdump: don't pass parameter of type "struct utmp" by value [coverity scan] Signed-off-by: Karel Zak login-utils/utmpdump.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit 863d371c83fe8ca59f1a2cef3ce4d7b66b06dd99 Author: Karel Zak Date: Thu Jan 29 11:32:42 2015 +0100 sulogin: make sure that fallback FD is valid [coverity scan] Signed-off-by: Karel Zak login-utils/sulogin-consoles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 101c5838aca7cc259f0d06626e993a21792c8232 Author: Karel Zak Date: Thu Jan 29 11:26:09 2015 +0100 su: fix mem leak in modify_environ() [coverity scan] Signed-off-by: Karel Zak login-utils/su-common.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 86cf1ff42aa89fbf10afddb363df370575649806 Author: Karel Zak Date: Thu Jan 29 11:25:07 2015 +0100 login: fix mem leak in init_environ() [coverity scan] Signed-off-by: Karel Zak login-utils/login.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 78ad5aaaa9d67590f90b95606aef66842cbbbea1 Author: Karel Zak Date: Thu Jan 29 11:07:37 2015 +0100 libsmartcols: remove unnecessary check [coverity scan] Signed-off-by: Karel Zak libsmartcols/src/table_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7396bdd46852bc213955fb1df597c2c4e646577a Author: Karel Zak Date: Thu Jan 29 11:03:49 2015 +0100 libmount: fix possible mem leak in has_utab_entry() [coverity scan] Signed-off-by: Karel Zak libmount/src/context_umount.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 7bc2fd3d2368c88c26ddc43e5f6dd3f9ac1c488d Author: Karel Zak Date: Thu Jan 29 10:58:55 2015 +0100 libmount: fix mem leak in do_mount_by_types() [coverity scan] Signed-off-by: Karel Zak libmount/src/context.c | 9 +++++---- libmount/src/context_mount.c | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) commit edc4cf94a86cda2f5476a7be98453ee027820913 Author: Karel Zak Date: Thu Jan 29 10:49:51 2015 +0100 libfdisk: make fdisk_partition_to_string() more robust [coverity scan] Signed-off-by: Karel Zak libfdisk/src/partition.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 4044d24468fc59806500ecf2f356ceadfbd5cd8e Author: Karel Zak Date: Wed Jan 28 15:10:15 2015 +0100 libfdisk: (gpt) check return from GUID parser [coverity scan] Signed-off-by: Karel Zak libfdisk/src/gpt.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 9c321dfbf0f63a2070013dd1b58bdee37f5ac4aa Author: Karel Zak Date: Wed Jan 28 15:05:14 2015 +0100 libfdisk: fix possible mem leak [coverity scan] Signed-off-by: Karel Zak libfdisk/src/context.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 6a7857d2476a15c92141007cfb6041995efbeb5a Author: Karel Zak Date: Wed Jan 28 15:02:41 2015 +0100 libblkid: (hfs) avoid overflow [coverity scan] Signed-off-by: Karel Zak libblkid/src/superblocks/hfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d655ceac7875fe834a1672fe7122d9e68a1d0d42 Author: Karel Zak Date: Wed Jan 28 14:57:53 2015 +0100 libblkid: fix macro redefinition [coverity scan] Signed-off-by: Karel Zak libblkid/src/llseek.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit e8b150e9babe848459c2f58b258de1cc6048f1fe Author: Karel Zak Date: Wed Jan 28 14:55:20 2015 +0100 lib/sysfs: use ssize_t for sysfs_readlink() [coverity scan] Signed-off-by: Karel Zak lib/sysfs.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 54efd3787514020f461a7414e0b8df425ae6e6a2 Author: Karel Zak Date: Wed Jan 28 14:50:38 2015 +0100 sfdisk: fix --id fallthrough [coverity scan] Signed-off-by: Karel Zak disk-utils/sfdisk.c | 1 + 1 file changed, 1 insertion(+) commit 52c56476ae5014d6e9293e5bf3d75b230a20b4cc Author: Karel Zak Date: Wed Jan 28 14:45:15 2015 +0100 fsck: deallocate when no cache [coverity scan] Signed-off-by: Karel Zak disk-utils/fsck.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 68ddb1366215b6476fc205b4da0ed66e68998fd2 Author: Karel Zak Date: Wed Jan 28 14:40:10 2015 +0100 fdisk: check return and robust label usage [coverity scan] Signed-off-by: Karel Zak disk-utils/fdisk-menu.c | 3 ++- disk-utils/fdisk.c | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) commit 9eaa7292e4bcf10149964cf8d5d3150bc6aabd45 Author: Karel Zak Date: Wed Jan 28 14:33:30 2015 +0100 blockdev: check return when read from sysfs [coverity scan] Signed-off-by: Karel Zak disk-utils/blockdev.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ec8a728ae0f62c2ae4870548754e453c82de8afd Author: Karel Zak Date: Wed Jan 28 14:30:20 2015 +0100 cfdisk: fix mem leak and main_menu_action() logic [coverity scan] Signed-off-by: Karel Zak disk-utils/cfdisk.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit bf031d89eabf71164f8225fe49849116be560ee5 Author: Karel Zak Date: Wed Jan 28 09:57:03 2015 +0100 libfdisk: support unknown partition types in sfdisk scripts Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1183234 Signed-off-by: Karel Zak disk-utils/sfdisk.c | 4 ++-- libfdisk/src/script.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 9bd29060128fbf6c05cf3975cb5a84ce052fa237 Merge: bc1ed33 a1f97c6 Author: Karel Zak Date: Wed Jan 28 08:30:17 2015 +0100 Merge branch 'fix-tests-ppc' of https://github.com/rudimeier/util-linux * 'fix-tests-ppc' of https://github.com/rudimeier/util-linux: tests: fix fdisk/bsd again for big endian tests: fix swaplabel test for 9a83b03c Revert "tests: simplify and update swaplabel test" commit bc1ed338814f69473629b04c5e9efae5d7db3b72 Author: Sami Kerola Date: Tue Jan 27 22:28:57 2015 +0000 more: fix repeat search crash Repeating a search for a pattern that did not found made more(1) to crash. To reproduce 'more /etc/services' and search for 'doom'; you will find a service in port 666 - pressing '.' after that result used to cause core dump. Signed-off-by: Sami Kerola text-utils/more.c | 3 +++ 1 file changed, 3 insertions(+) commit b2b5b502d2bba01ebacc049e9640b301c0155027 Author: Karel Zak Date: Wed Jan 28 08:26:09 2015 +0100 setarch: fix --list $ ./setarch --list . . setarch: no architecture argument specified Reported-by: Benno Schulenberg Signed-off-by: Karel Zak sys-utils/setarch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aaa0ba88b4afd328e13e9dd79a0df99d7fb76fbd Author: Karel Zak Date: Tue Jan 27 12:58:19 2015 +0100 libblkid: improve MBR vs. FAT + boot sector detection It seems that some systems are able to produce boot sector + MBR with almost valid FAT superblock. The libblkid already checks for FAT magic string, media, correct sector and dir size, etc. -- but all this is not enough. The patch add to FAT prober also MBR detection to make sure that there is no MBR with usable first partition. All this is enabled for whole-disk devices only. first sector (and this is no FAT baby ;-) $ hexdump -C -n 512 /dev/nbd0 00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 10 16 10 |.X.MSDOS5.0.....| 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 00 00 00 |........?.......| 00000020 00 00 40 01 f5 27 00 00 00 00 00 00 02 00 00 00 |..@..'..........| 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 80 01 29 c5 a3 06 1a 4e 4f 20 4e 41 4d 45 20 20 |..)....NO NAME | 00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....| 00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|.V@.N..V| 00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.| 00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...| 00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..| 000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...| 000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*| 000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........| 000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...| 000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........| 000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........| 00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.| 00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....| 00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.| 00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....| 00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V| 00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.| 00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |.t.....f@Iu..BOO| 00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........| 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 44 69 |..............Di| 000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 00 00 |sk error...Pre..| 000001c0 01 01 0c 3f e0 ff 00 08 00 00 00 f8 3f 01 00 00 |...?........?...| 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| MBR: $ hexdump -C -s 446 -n $((512 - 446)) /dev/nbd0 000001be 00 00 01 01 0c 3f e0 ff 00 08 00 00 00 f8 3f 01 |.....?........?.| 000001ce 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000001fe 55 aa |U.| Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1182831 Signed-off-by: Karel Zak libblkid/src/partitions/dos.c | 20 ++++++++++---------- libblkid/src/superblocks/vfat.c | 22 +++++++++++++++++++--- 2 files changed, 29 insertions(+), 13 deletions(-) commit a1f97c62baf8b2e7d180a3308acaeaa505b77215 Author: Ruediger Meier Date: Mon Jan 26 14:24:03 2015 +0100 tests: fix fdisk/bsd again for big endian Looks this line was accidentally out-commented in 06d199e8. Signed-off-by: Ruediger Meier tests/ts/fdisk/bsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 89342005bc1a451e379e92b2f9ec60390d628f30 Author: Ruediger Meier Date: Mon Jan 26 14:19:31 2015 +0100 tests: fix swaplabel test for 9a83b03c Signed-off-by: Ruediger Meier tests/expected/misc/swaplabel | 2 +- tests/ts/misc/swaplabel | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit fc39d106d280f55e2515624f15e2153f8848152d Author: Ruediger Meier Date: Mon Jan 26 14:14:07 2015 +0100 Revert "tests: simplify and update swaplabel test" After mkswap refactoring we have still a "minimal swap size" wich depend on PAGE_SIZE. Next commit will fix the test for output changes made in 9a83b03c. This reverts commit b4d27255f24cddbdf3480ca0988dada340abe2d3. Signed-off-by: Ruediger Meier tests/expected/misc/swaplabel | 4 ++-- tests/ts/misc/swaplabel | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) commit 505edf1c5f34f2619f684ec1781d4550483814b6 Author: Karel Zak Date: Mon Jan 26 12:53:21 2015 +0100 chrt: add note about zero priority for IDLE and BATCH Reported-by: dE Signed-off-by: Karel Zak schedutils/chrt.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9bbcf43f882c29ef2003950d8e3d468f05996205 Author: Karel Zak Date: Mon Jan 26 12:12:30 2015 +0100 libfdisk: don't use off_t in public API It's better to use exact and explicitly defined types (e.g. uint64_t) rather than something like off_t to make code more portable. [reported with gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3)] The patch also fixes one debug message. Reported-by: Benno Schulenberg Signed-off-by: Karel Zak disk-utils/fdisk.c | 6 +++--- disk-utils/sfdisk.c | 6 +++--- libfdisk/src/dos.c | 4 ++-- libfdisk/src/fdiskP.h | 3 ++- libfdisk/src/gpt.c | 4 ++-- libfdisk/src/label.c | 2 +- libfdisk/src/libfdisk.h.in | 5 ++++- 7 files changed, 17 insertions(+), 13 deletions(-) commit 3df1a79ad5ed1d54af58a4c26c208c65e53e3f6c Author: Karel Zak Date: Mon Jan 26 12:25:40 2015 +0100 libmount: add options map to docs Signed-off-by: Karel Zak libmount/docs/libmount-sections.txt | 1 + libmount/src/libmount.h.in | 9 ++++++--- libmount/src/lock.c | 7 +++++-- 3 files changed, 12 insertions(+), 5 deletions(-) commit c580b554c9d0c5f49993379528bba9c61b253cc1 Merge: b6e3c61 87ee265 Author: Karel Zak Date: Mon Jan 26 11:59:10 2015 +0100 Merge branch 'timex' of https://github.com/kerolasa/lelux-utiliteetit * 'timex' of https://github.com/kerolasa/lelux-utiliteetit: logger: check availability of ntp_gettime() commit b6e3c61464008ed18a8f71fb9348ca112e23be9f Author: Benno Schulenberg Date: Sun Jan 18 18:49:35 2015 +0100 cfdisk: actually translate the table headers and the bottom line The printout of the table headers and the bottomline descriptions were lacking calls to gettext(). Signed-off-by: Benno Schulenberg disk-utils/cfdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e993b9c8e5249a0509c3f8be415d300055c2e5f7 Author: Benno Schulenberg Date: Sun Jan 18 17:21:25 2015 +0100 cfdisk: shorten the help screen to make it fit within 25 lines When the terminal has less than 32 lines, the new cfdisk ignored the fact that the help-screen text was longer and just skipped printing the remaining lines. Instead of introducing a minipager for the help screen, just condense its text and remove unneeded lines. Now the text occupies just 25 lines, which should fit on most terminals. Signed-off-by: Benno Schulenberg disk-utils/cfdisk.c | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) commit fd4484a712dadd828352139cf6874abd211f6b87 Author: Benno Schulenberg Date: Sun Jan 18 17:21:24 2015 +0100 cfdisk: don't mess up the help screen by printing the PO file header Asking for the translation of the empty string ("") produces the header of the PO file corresponding to the current locale, which messes up the help screen. So, don't use empty strings in the array of help strings but (arbitrary) double spaces. Signed-off-by: Benno Schulenberg disk-utils/cfdisk.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit 8a3f29c34a165c45ae2a449f127f902c7ddd17c9 Author: Karel Zak Date: Mon Jan 26 11:45:43 2015 +0100 switch_root: document that maintains /run too Addresses: https://github.com/karelzak/util-linux/issues/144 Signed-off-by: Karel Zak sys-utils/switch_root.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6e834d67ee4adb112b1339e51c908865ccac4a87 Author: Yuri Chornoivan Date: Sat Jan 24 09:18:51 2015 +0200 textual: fix various minor typos Documentation/releases/v2.25-ReleaseNotes | 2 +- disk-utils/sfdisk.c | 20 ++++++++++---------- misc-utils/whereis.c | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) commit a471a9e7803e324eedabf902375304e90f79eee7 Merge: 3d0b57d f205c90 Author: Karel Zak Date: Mon Jan 26 11:35:25 2015 +0100 Merge branch 'icc-fixes' of https://github.com/rudimeier/util-linux * 'icc-fixes' of https://github.com/rudimeier/util-linux: build: fix printf warnings for icc (-Wformat-security) build-sys: fix UL_SCANF_TYPE_MODIFIER for icc build-sys: free() needs stdlib.h build-sys: avoid icc warnings "ignoring unknown option" tests: python tests should not remove user's LD_LIBRARY_PATH commit 3d0b57d62cf289fed16537076018ba87d2d1c841 Merge: d0e875f b06c1ca Author: Karel Zak Date: Mon Jan 26 11:31:05 2015 +0100 Merge branch 'opts' of https://github.com/jwpi/util-linux commit d0e875ffd4197ade0c907c89466b58fbc3f745e5 Author: Karel Zak Date: Mon Jan 26 11:26:40 2015 +0100 logger: improve usage() Signed-off-by: Karel Zak misc-utils/logger.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit b295bdb1b50a634c34a465ad873f368bce1667d5 Author: Benno Schulenberg Date: Sun Jan 18 21:50:27 2015 +0100 docs: fix two "maybe be" duplications in program comments Also improve the grammar of the comments and some neighbours. Signed-off-by: Benno Schulenberg lib/path.c | 7 ++----- libsmartcols/src/table_print.c | 30 ++++++++++++++---------------- 2 files changed, 16 insertions(+), 21 deletions(-) commit d45867162c0e52d2fd8dfe93ff6776209baf23c8 Author: Benno Schulenberg Date: Sun Jan 18 21:40:31 2015 +0100 textual: put option and its description into a single translatable string Also improve the description: notime, notq, and nohost are literals, not things to be replaced by something else -- so no angular brackets. Signed-off-by: Benno Schulenberg misc-utils/logger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 981997dd3726051941244cbeff1675de35615ba4 Author: Benno Schulenberg Date: Sun Jan 18 21:40:30 2015 +0100 docs: fix two spellings in man page of logger Signed-off-by: Benno Schulenberg misc-utils/logger.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6b93474df7f6bedb20073e2daf988f2407aa4d52 Author: Benno Schulenberg Date: Sun Jan 18 21:40:29 2015 +0100 ionice: drop the duplicate docstring Signed-off-by: Benno Schulenberg schedutils/ionice.c | 2 -- 1 file changed, 2 deletions(-) commit 54fefa078e54718acbd2489b0f92328f272f9a3c Author: Benno Schulenberg Date: Sun Jan 18 21:17:09 2015 +0100 textual: fix spellos and inconsistencies in several program messages Signed-off-by: Benno Schulenberg disk-utils/cfdisk.c | 4 ++-- disk-utils/fdisk-list.c | 6 +++--- disk-utils/fdisk-menu.c | 6 +++--- disk-utils/sfdisk.c | 28 ++++++++++++++-------------- libfdisk/src/gpt.c | 2 +- misc-utils/logger.c | 2 +- sys-utils/swapon.c | 6 +++--- sys-utils/unshare.c | 4 ++-- term-utils/agetty.c | 6 +++--- 9 files changed, 32 insertions(+), 32 deletions(-) commit 8701ac3083977c8d511615e4bd23b9a505685143 Author: Benno Schulenberg Date: Mon Jan 19 22:08:23 2015 +0100 docs: fix grammar and punctuation and typos in 2.26 release notes Also trim some trailing whitespace. Reviewed-by: Peter Cordes Signed-off-by: Benno Schulenberg Documentation/releases/v2.26-ReleaseNotes | 74 +++++++++++++++---------------- 1 file changed, 37 insertions(+), 37 deletions(-) commit b45c3da2e15814ca0c5b2ed2608de34df60af4da Author: Ingo Brückl Date: Wed Jan 14 19:36:55 2015 +0100 dmesg: Enable proper indent for messages containing line breaks Messages containing line breaks somehow look broken when additional time, facility or level information is displayed, because they partly appear in time/facility/level column. Indent them accordingly. Signed-off-by: Karel Zak sys-utils/dmesg.c | 64 ++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 40 insertions(+), 24 deletions(-) commit 87ee2658353836478af81ca2d8ae5133f4669e31 Author: Samuel Thibault Date: Sun Jan 18 21:44:54 2015 +0000 logger: check availability of ntp_gettime() Make compilation to work in systems which don't have sys/timex.h and its ntp_gettime(). Reviewed-by: Sami Kerola Signed-off-by: Samuel Thibault configure.ac | 1 + misc-utils/logger.c | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit f205c90a72707591ad5342429d8e13fa69294ae2 Author: Ruediger Meier Date: Tue Jan 20 15:49:21 2015 +0100 build: fix printf warnings for icc (-Wformat-security) Intel compiler complains about printf style function calls with trivial format string and no other arguments. Like this one: ../sys-utils/ipcrm.c(117): warning #2279: printf/scanf format not a string literal and no format arguments err(EXIT_FAILURE, iskey ? _("key failed") : _("id failed")); sys-utils/ipcrm.c | 2 +- sys-utils/lscpu.c | 8 ++++---- sys-utils/rtcwake.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) commit b06c1ca6f8708e541d102843ed9b9bd38ce207cd Author: J William Piggott Date: Mon Jan 19 20:11:52 2015 -0500 docs: restore minus symbols in long opts Signed-off-by: J William Piggott disk-utils/fdformat.8 | 2 +- disk-utils/fdisk.8 | 2 +- disk-utils/sfdisk.8 | 32 ++++++++++++++++---------------- login-utils/chfn.1 | 6 +++--- login-utils/chsh.1 | 2 +- login-utils/lslogins.1 | 2 +- login-utils/runuser.1 | 6 +++--- login-utils/su.1 | 8 ++++---- misc-utils/findmnt.8 | 2 +- misc-utils/logger.1 | 2 +- misc-utils/lsblk.8 | 2 +- schedutils/taskset.1 | 4 ++-- sys-utils/dmesg.1 | 28 ++++++++++++++-------------- sys-utils/eject.1 | 4 ++-- sys-utils/fallocate.1 | 22 +++++++++++----------- sys-utils/flock.1 | 2 +- sys-utils/ipcrm.1 | 12 ++++++------ sys-utils/ldattach.8 | 2 +- sys-utils/losetup.8 | 6 +++--- sys-utils/mount.8 | 36 ++++++++++++++++++------------------ sys-utils/nsenter.1 | 4 ++-- sys-utils/setpriv.1 | 12 ++++++------ sys-utils/tunelp.8 | 2 +- sys-utils/umount.8 | 14 +++++++------- sys-utils/unshare.1 | 4 ++-- sys-utils/wdctl.8 | 2 +- term-utils/agetty.8 | 6 +++--- term-utils/setterm.1 | 6 +++--- text-utils/col.1 | 2 +- text-utils/colcrt.1 | 4 ++-- text-utils/column.1 | 4 ++-- 31 files changed, 121 insertions(+), 121 deletions(-) commit c8494d88d9137ec6c885cae202f0ae6de930098c Author: Ruediger Meier Date: Tue Jan 20 14:55:57 2015 +0100 build-sys: fix UL_SCANF_TYPE_MODIFIER for icc icc needs -Werror to let %m fail and to avoid this: ../libmount/src/tab_parse.c(61): warning #269: invalid format string conversion Signed-off-by: Ruediger Meier configure.ac | 3 +++ 1 file changed, 3 insertions(+) commit 3eeb5808d7376fd342c2dcf77bba525f54421a83 Author: Ruediger Meier Date: Tue Jan 20 14:37:38 2015 +0100 build-sys: free() needs stdlib.h followup 4f310fae CC: Sami Kerola Signed-off-by: Ruediger Meier configure.ac | 1 + 1 file changed, 1 insertion(+) commit e85e8720d5ecc3680426281a3894c437368e0d4a Author: Ruediger Meier Date: Tue Jan 20 13:49:55 2015 +0100 build-sys: avoid icc warnings "ignoring unknown option" Our macro UL_WARN_ADD could not discover these ones: icc: command line warning #10006: ignoring unknown option '-Wmissing-parameter-type' icc: command line warning #10006: ignoring unknown option '-Wredundant-decls' icc: command line warning #10006: ignoring unknown option '-Wunused-result' icc: command line warning #10006: ignoring unknown option '-Wnested-externs' We need to use AC_LANG_WERROR. Signed-off-by: Ruediger Meier m4/compiler.m4 | 7 +++++++ 1 file changed, 7 insertions(+) commit ce9f568c25cc444a8796c599f2539864ab666d5f Author: Karel Zak Date: Tue Jan 20 14:10:08 2015 +0100 libfdisk: accept Start offset in {B,M,G..}iB in sfdisk scripts Signed-off-by: Karel Zak disk-utils/sfdisk.8 | 8 ++++++-- disk-utils/sfdisk.c | 5 +++-- libfdisk/src/script.c | 13 ++++++++++--- 3 files changed, 19 insertions(+), 7 deletions(-) commit fa8f8b7469b732318c8a69b81ccf5180ad143113 Author: Ruediger Meier Date: Tue Jan 20 12:22:35 2015 +0100 tests: python tests should not remove user's LD_LIBRARY_PATH LD_LIBRARY_PATH must be preserved like it's done in libtool's temporary wrapper scripts. This problem was noticed when building with Intel's icc (15.0.0): $ make check TS_OPTS="libmount" $ tail tests/diff/libmount/tabfiles-py-parse-mtab [...] +Traceback (most recent call last): + File "/tmp/util-linux/libmount/python/test_mount_tab.py", line 8, in + import pylibmount as mnt +ImportError: libimf.so: cannot open shared object file: No such file or directory ... although libimf.so was in LD_LIBRARY_PATH. NOTE 1: When running root checks "sudo -E" is not enough to preserve LD_LIBRARY_PATH because glibc already removes is. This would work: $ sudo -E env LD_LIBRARY_PATH=$LD_LIBRARY_PATH make check TS_OPTS="--parallel=1" NOTE 2: We also preserve PYTHONPATH which could bring us similar problems if the user has a customized python installation. Signed-off-by: Ruediger Meier tests/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a473657eacea3a43c4e6de78ba1dd618aa080627 Author: Karel Zak Date: Tue Jan 20 10:34:19 2015 +0100 libfdisk: (docs) fix typo Signed-off-by: Karel Zak libfdisk/docs/libfdisk-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8de07279bb856088cc17ceebf0422ebce4e13d29 Author: Karel Zak Date: Mon Jan 19 12:26:37 2015 +0100 sfdisk: fix --bytes Signed-off-by: Karel Zak disk-utils/sfdisk.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 4a79a8f1774c3e081afbed383a425622ef541de8 Author: Karel Zak Date: Mon Jan 19 12:25:37 2015 +0100 libfdisk: make label names case insensitive and support 'MBR' as alias to 'DOS'. Signed-off-by: Karel Zak libfdisk/src/context.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 354f8cc8cf06de44656fb83705c57062d04d1565 Author: Karel Zak Date: Mon Jan 19 11:24:48 2015 +0100 libfdiskL add API to print SIZE field in bytes The patch also add --bytes to fdisk and fdisk. Signed-off-by: Karel Zak disk-utils/fdisk.c | 9 ++++++++- disk-utils/sfdisk.c | 10 ++++++++-- libfdisk/docs/libfdisk-sections.txt | 2 ++ libfdisk/src/context.c | 29 +++++++++++++++++++++++++++++ libfdisk/src/fdiskP.h | 2 ++ libfdisk/src/libfdisk.h.in | 6 ++++++ libfdisk/src/libfdisk.sym | 2 ++ libfdisk/src/partition.c | 23 +++++++++++++++-------- 8 files changed, 72 insertions(+), 11 deletions(-) commit 2498303575b85fe0a81dabb3775eb0a60a5f420a Author: Karel Zak Date: Fri Jan 16 12:24:57 2015 +0100 libmount: revert "read mtab on remount" idea It's backwardly incompatible nonsense to prefer mtab on remount. mount -o remount /foo has to read mount options from fstab otherwise the remount has no effect. (The ideal solution would be to read both mtab, then modify the options according to fstab -- but for now more important is to be backwardly compatible.) References: https://bugzilla.redhat.com/show_bug.cgi?id=1182778 Signed-off-by: Karel Zak libmount/src/context.c | 7 +------ sys-utils/mount.8 | 17 ++++++++--------- 2 files changed, 9 insertions(+), 15 deletions(-) commit 861b11d5e24c5db463463fb6c047e72456597a5b Author: Karel Zak Date: Thu Jan 15 11:56:27 2015 +0100 libblkid: (bcache) fix keys usage References: http://bugs.debian.org/775374 Signed-off-by: Karel Zak libblkid/src/superblocks/bcache.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f0b24d019ed4c27bebb182ce2644e3ebd87eb1dc Author: Karel Zak Date: Wed Jan 14 20:39:52 2015 +0100 docs: fix typos Signed-off-by: Karel Zak Documentation/releases/v2.26-ReleaseNotes | 4 ++-- NEWS | 2 +- configure.ac | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)