Changes between v2.13 and v2.14-rc1 ----------------------------------- commit 4181600ed177cf0dc2f8581039c39d208f5be1d7 Author: Karel Zak Date: Wed Apr 16 23:41:19 2008 +0200 docs: update v2.14-ReleaseNotes Signed-off-by: Karel Zak docs/v2.14-ReleaseNotes | 54 ++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 47 insertions(+), 7 deletions(-) commit c7168f54cc9388feb193c8865cd9e72fa520db1e Author: Karel Zak Date: Wed Apr 16 23:22:23 2008 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit 310170b83b7e0263286f3c6c2787d20ae96aea17 Author: Karel Zak Date: Wed Apr 16 23:12:40 2008 +0200 cal: use HAVE_LIB{NCURSES,NCURSESW} instead HAVE_NCURSES The HAVE_NCURSES is obsolete macro. The autotool generates HAVE_LIBxxx macros. Signed-off-by: Karel Zak misc-utils/cal.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 8381a8c6772da756c8a309f8c2c6061d34c5c3d7 Author: Karel Zak Date: Wed Apr 16 22:47:37 2008 +0200 more: use HAVE_WIDECHAR instead ENABLE_WIDECHAR This problem has been detected by tools/codecheck-config. Signed-off-by: Karel Zak text-utils/more.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 47dc8cce401483565e8c681d9e9dd7e5230c2aa6 Author: Karel Zak Date: Wed Apr 16 22:37:48 2008 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 680 +++++----- po/cs.po | 682 +++++----- po/da.po | 679 +++++----- po/de.po | 691 +++++----- po/es.po | 682 +++++----- po/et.po | 649 ++++---- po/eu.po | 630 ++++---- po/fi.po | 681 +++++----- po/fr.po | 683 +++++----- po/hu.po | 682 +++++---- po/id.po | 678 +++++----- po/it.po | 659 +++++---- po/ja.po | 676 +++++----- po/nl.po | 4042 ++++++++++++++++++++++++++++---------------------- po/pl.po | 636 ++++---- po/pt_BR.po | 679 +++++----- po/ru.po | 680 +++++----- po/sl.po | 676 +++++----- po/sv.po | 684 +++++----- po/tr.po | 682 +++++----- po/uk.po | 680 +++++----- po/util-linux-ng.pot | 630 ++++---- po/vi.po | 683 +++++---- 23 files changed, 9736 insertions(+), 9088 deletions(-) commit 7fd7e8a9b47d389ef5bf4e6e952860716dcb601c Author: Benno Schulenberg Date: Wed Apr 16 22:21:38 2008 +0200 po: update nl.po (from translationproject.org) po/nl.po | 3809 +++++++++++++++++++++++++++----------------------------------- 1 files changed, 1644 insertions(+), 2165 deletions(-) commit dee2383e8f1a5f709bb0839e3c5af1c82baaa837 Author: Karel Zak Date: Wed Apr 16 22:04:46 2008 +0200 build-sys: remove unnecessary check-local target from login-utils/ We have all tests in the tests/ directory. Signed-off-by: Karel Zak login-utils/Makefile.am | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit 89fb9aeb55813dfecf385ede04c5b371bbd5e11e Author: Karel Zak Date: Wed Apr 16 14:13:42 2008 +0200 mkswap: set errno=0 in write_all() Signed-off-by: Karel Zak disk-utils/mkswap.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 3c52010c68c3d554979cca22a529aed15794eb80 Author: Dmitry V. Levin Date: Wed Apr 16 03:26:56 2008 +0400 setarch: provide backwards compatibility The getopt_long(3) use introduced by commit 8df90dec2bfd8c876ddd4cea010f40550d4e24aa broke backwards compatibility. Old behavior: $ i386 uname -m i686 New behavior: $ i386 uname -m i386: invalid option -- m Linux Traditional method to fix it is to disable program arguments reordering by prefixing getopt_long's optstring with '+' character. Signed-off-by: Dmitry V. Levin Signed-off-by: Karel Zak sys-utils/setarch.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 42bcaa2ca12865ec09244a66314dafcf05024e4e Author: Karel Zak Date: Wed Apr 16 01:32:10 2008 +0200 losetup: fix typo in losetup.8 Signed-off-by: Karel Zak mount/losetup.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ba734536ef44651bc86179c12a8c48dcf21195ae Author: Karel Zak Date: Wed Apr 16 01:29:43 2008 +0200 docs: add note about losetup --sizelimit to ReleaseNotes Signed-off-by: Karel Zak docs/v2.14-ReleaseNotes | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit 265095a2fef6ceba2f0eb958cd5159c77d415a4a Author: Benno Schulenberg Date: Tue Apr 15 13:56:28 2008 +0200 chfn, chsh, login: collapsing three similar messages into a single one Signed-off-by: Benno Schulenberg login-utils/chfn.c | 4 ++-- login-utils/chsh.c | 4 ++-- login-utils/login.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit f01fd66c1af3221e1f443b77b154a6d90dd0872c Author: Benno Schulenberg Date: Tue Apr 15 12:20:25 2008 +0200 losetup: split help message into two smaller parts As it has already changed since the previous release, take the opportunity to cut it into two more manageable chunks for translators. Signed-off-by: Benno Schulenberg Signed-off-by: Karel Zak mount/lomount.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit 6cf644cf06468a90729e6c757497355a1feee743 Author: Karel Zak Date: Tue Apr 15 23:18:36 2008 +0200 swapon: fix swsuspend detection Welcome to hell where S1SUSPEND/S2SUSPEND is "swsuspend" in libblkid and "suspend" in libvolume_id Signed-off-by: Karel Zak mount/swapon.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) commit c31eed3907abc77d8c15e6aa62c5208139217ccb Author: Karel Zak Date: Tue Apr 15 21:27:23 2008 +0200 mount: fix typo in mount.8 Signed-off-by: Karel Zak mount/mount.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4ac02d4dd00dcba2ccb14077b981fb2f971ba714 Author: Karel Zak Date: Tue Apr 15 13:44:21 2008 +0200 losetup: mark the option -s as deprecated Signed-off-by: Karel Zak DEPRECATED | 6 ++++++ mount/lomount.c | 2 +- mount/losetup.8 | 10 +++++++--- 3 files changed, 14 insertions(+), 4 deletions(-) commit 83369fff3fb060deb934f87ea2d215a64439cacd Author: Shachar Shemesh Date: Tue Apr 15 13:11:40 2008 +0200 mount: add support for sizelimit= mount option (for loop mounts) [kzak@redhat.com: split the original patch to small patches] Signed-off-by: Shachar Shemesh Signed-off-by: Karel Zak mount/mount.8 | 2 +- mount/mount.c | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) commit 7bcefc7f03aa5e2c346c92e0c9b780f51c716dee Author: Shachar Shemesh Date: Tue Apr 15 12:57:35 2008 +0200 losetup: add --sizelimit option [kzak@redhat.com: split the original patch to small patches] Signed-off-by: Shachar Shemesh Signed-off-by: Karel Zak AUTHORS | 1 + mount/lomount.c | 33 +++++++++++++++++++++++---------- mount/lomount.h | 2 +- mount/losetup.8 | 4 ++++ mount/mount.c | 2 +- 5 files changed, 30 insertions(+), 12 deletions(-) commit db83e35c6a8189496a19b5868237c59ff34f8947 Author: Karel Zak Date: Tue Apr 15 00:35:05 2008 +0200 mkswap: when writing the signature page, handle EINTR returns If the signature page write bumps into EINTR, it should finish the write, instead of dying. Addresses-Ubuntu-Bug: 206113 Signed-off-by: LaMont Jones Signed-off-by: Karel Zak disk-utils/mkswap.c | 25 ++++++++++++++++++++++--- 1 files changed, 22 insertions(+), 3 deletions(-) commit 00077d4d531ee0b11c81c7c52b7c44548df7b1a0 Author: Karel Zak Date: Mon Apr 14 14:24:03 2008 +0200 build-sys: update .gitignore files Signed-off-by: Karel Zak .gitignore | 1 + disk-utils/.gitignore | 2 ++ login-utils/.gitignore | 5 +++++ misc-utils/.gitignore | 2 ++ partx/.gitignore | 3 +++ sys-utils/.gitignore | 24 +++++++++++++++++++++++- 6 files changed, 36 insertions(+), 1 deletions(-) commit c4e1583799cd4a5769a69c696a7b32f4aa6ebe96 Author: James Youngman Date: Sun Apr 13 19:58:18 2008 +0100 build-sys: ignore a bunch of generated files, mostly binaries Signed-off-by: James Youngman Signed-off-by: Karel Zak disk-utils/.gitignore | 10 ++++++++++ fdisk/.gitignore | 3 +++ getopt/.gitignore | 1 + hwclock/.gitignore | 1 + lib/.gitignore | 1 + login-utils/.gitignore | 4 ++++ misc-utils/.gitignore | 10 ++++++++++ mount/.gitignore | 6 ++++++ schedutils/.gitignore | 3 +++ sys-utils/.gitignore | 16 ++++++++++++++++ tests/.gitignore | 2 ++ tests/helpers/.gitignore | 2 ++ text-utils/.gitignore | 11 +++++++++++ 13 files changed, 70 insertions(+), 0 deletions(-) commit 8e0259728e6b7c447d795898f60a9281053c8303 Author: James Youngman Date: Sat Apr 12 12:53:07 2008 +0100 login: rewrite is_local() to remove limits on line length Signed-off-by: James Youngman Signed-off-by: Karel Zak login-utils/Makefile.am | 7 ++- login-utils/islocal.c | 105 +++++++++++++++++++++++++++++++-------- login-utils/islocal.h | 2 +- tests/Makefile.am | 1 + tests/commands.sh.in | 1 + tests/expected/ts-login-islocal | 13 +++++ tests/input/ts-login-islocal | 10 ++++ tests/ts-login-islocal | 28 ++++++++++ 8 files changed, 144 insertions(+), 23 deletions(-) commit 93a0ae237250545d12b84d470eba22bfd38cd21e Author: Karel Zak Date: Mon Apr 14 12:51:41 2008 +0200 docs: cleanup README.devel, add note about coding style and Signed-off-by Signed-off-by: Karel Zak README.devel | 58 +++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 49 insertions(+), 9 deletions(-) commit fe82c712867d4899b5575cd5f523c54ecd9f18cd Author: Karel Zak Date: Mon Apr 14 12:16:14 2008 +0200 fdisk: message tweak Signed-off-by: Karel Zak fdisk/fdisk.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 18a706bdfd4ef7bef363c230baf0ec52eae6c1ac Author: Karel Zak Date: Wed Apr 2 11:34:12 2008 +0200 scriptreplay: rewrite in C The dependence on Perl sucks... Co-Author: James Youngman Signed-off-by: Karel Zak Signed-off-by: James Youngman configure.ac | 1 - misc-utils/Makefile.am | 6 +- misc-utils/scriptreplay.1 | 40 ++++++++-- misc-utils/scriptreplay.c | 179 ++++++++++++++++++++++++++++++++++++++++++++ misc-utils/scriptreplay.pl | 83 -------------------- 5 files changed, 215 insertions(+), 94 deletions(-) commit e687632e5714539a23cddaf9e59efb653399de60 Author: Karel Zak Date: Wed Apr 9 15:03:22 2008 +0200 docs: update v2.14-ReleaseNotes Signed-off-by: Karel Zak docs/v2.14-ReleaseNotes | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 976e5cfaa27512eb7b1cce3352f68e07e94b4840 Author: Karel Zak Date: Wed Apr 9 11:52:11 2008 +0200 mount: remove set_proc_name() This function has been used in background mount code. Signed-off-by: Karel Zak mount/mount.c | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) commit da82f6fe2f04c72707eab3257d138927d78c20ed Author: Karel Zak Date: Wed Apr 2 13:14:39 2008 +0200 hwclock: add --adjfile=path option Signed-off-by: Karel Zak hwclock/hwclock.8 | 5 +++ hwclock/hwclock.c | 75 ++++++++++++++++++++++++++++++++-------------------- 2 files changed, 51 insertions(+), 29 deletions(-) commit f8132752db3534366cd9db2a97f1ecf01cda4413 Author: Karel Zak Date: Fri Mar 28 02:16:37 2008 +0100 ldattach: use glibc termios Signed-off-by: Karel Zak sys-utils/ldattach.c | 146 ++++++++++++------------------------------------- 1 files changed, 36 insertions(+), 110 deletions(-) commit 54a78201e1a7d3d9c7d5cba61bf2a864509f8598 Author: James Youngman Date: Sun Apr 6 12:15:46 2008 +0100 fsck.minix: reset the terminal state if we are killed by a fatal signal [kzak@redhat.com: remove unnecessary volatile type qualifier] Signed-off-by: James Youngman Signed-off-by: Karel Zak disk-utils/fsck.minix.c | 35 +++++++++++++++++++++++++++++++++-- 1 files changed, 33 insertions(+), 2 deletions(-) commit 2d57c1f09ed707c6e6e136881624a4db0c064c0f Author: Benno Schulenberg Date: Mon Apr 7 22:50:22 2008 +0200 mkfs.cramfs: switch on localization. Signed-off-by: Benno Schulenberg disk-utils/mkfs.cramfs.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 9d374821a08c2032d9713837b8ec06ec0ed43889 Author: James Youngman Date: Sun Apr 6 23:19:53 2008 +0100 script: read returns a size_t Signed-off-by: James Youngman Signed-off-by: Karel Zak misc-utils/script.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 489374709c9ebbab8023711f0de449c0951455e0 Author: James Youngman Date: Sun Apr 6 12:54:44 2008 +0100 login-utils: cleanup strlen() and fgets() usage The strlen() returns size_t, not int. The fgets() returns pointer, not int. Signed-off-by: James Youngman Signed-off-by: Karel Zak login-utils/islocal.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit bb98388557c7e68067b103c6654baa6a1614b392 Author: James Youngman Date: Sun Apr 6 11:45:57 2008 +0100 fsck.minix: correct the error message given when we can't open the device Don't actually print %s in the error message, print the device name, as was obviously intended. Also, print the error message corresponding to the errno value. [kzak@redhat.com: add __attribute__, coding style cleanups] Signed-off-by: James Youngman Signed-off-by: Karel Zak disk-utils/fsck.minix.c | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) commit 8ce2449daf5d846a50ecc9342f929998524baa86 Author: Karel Zak Date: Wed Apr 2 13:46:26 2008 +0200 mount: remove built-in support for background mounts EX_BG is archaism from old integrated NFS code. The built-in NFS code has been removed in the previous version and all "bg" stuff is handled by /sbin/mount.nfs. It seems we can remove all "bg" stuff from mount(8). Signed-off-by: Karel Zak mount/mount.c | 40 +++++----------------------------------- mount/sundries.h | 2 -- 2 files changed, 5 insertions(+), 37 deletions(-) commit 7ba1ca0d05bd35754e78b22ee470c9828b179c11 Author: Karel Zak Date: Mon Mar 31 15:45:11 2008 +0200 Revert "script: improve quiet mode" This reverts commit 7baec9a5612358559d1556113657223a64e373d1. Note, scriptreplay(8) expects the "Script started on.." line. We cannot remove this message... misc-utils/script.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit b1d3faa9af4c340dbefb8a4f0b39811685f9a25f Author: Karel Zak Date: Wed Mar 26 15:48:46 2008 +0100 docs: cleanup DEPRECATED file Signed-off-by: Karel Zak DEPRECATED | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 4713a23a5c62e95108d4f52de82651f1123f1b91 Author: Karel Zak Date: Tue Mar 25 23:47:02 2008 +0100 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 59 +++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 49 insertions(+), 10 deletions(-) commit 915b80830b61264d4b3d3e52797054078595a003 Author: Karel Zak Date: Tue Mar 25 23:36:28 2008 +0100 docs: add v2.14 ReleaseNotes Signed-off-by: Karel Zak docs/v2.14-ReleaseNotes | 307 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 307 insertions(+), 0 deletions(-) commit b9ae633e920adc52cef939ec1ece984773c085f5 Author: Karel Zak Date: Tue Mar 25 23:04:48 2008 +0100 po: merge changes Signed-off-by: Karel Zak po/POTFILES.in | 1 + po/ca.po | 4312 +++++++++++++++++++++++++++-------------------- po/cs.po | 3676 +++++++++++++++++++++++------------------ po/da.po | 3989 +++++++++++++++++++++++++------------------- po/de.po | 3893 +++++++++++++++++++++++++------------------ po/es.po | 4332 +++++++++++++++++++++++++++-------------------- po/et.po | 3727 +++++++++++++++++++++++------------------ po/eu.po | 3485 +++++++++++++++++++++------------------ po/fi.po | 4052 +++++++++++++++++++++++++------------------- po/fr.po | 4554 +++++++++++++++++++++++++++++--------------------- po/hu.po | 3942 +++++++++++++++++++++++++------------------ po/id.po | 4214 +++++++++++++++++++++++++++-------------------- po/it.po | 4209 +++++++++++++++++++++++++++-------------------- po/ja.po | 3855 ++++++++++++++++++++++++------------------- po/nl.po | 3753 +++++++++++++++++++++++------------------ po/pl.po | 3495 +++++++++++++++++++++------------------ po/pt_BR.po | 4203 +++++++++++++++++++++++++++-------------------- po/ru.po | 4202 +++++++++++++++++++++++++++-------------------- po/sl.po | 4040 +++++++++++++++++++++++++------------------- po/sv.po | 3733 +++++++++++++++++++++++------------------ po/tr.po | 4040 +++++++++++++++++++++++++------------------- po/uk.po | 4179 ++++++++++++++++++++++++++-------------------- po/util-linux-ng.pot | 2936 +++++++++++++++++---------------- po/vi.po | 3737 +++++++++++++++++++++++------------------ 24 files changed, 51471 insertions(+), 39088 deletions(-) commit fcba45778390842bc6fb99f7e90163c2991655da Author: Karel Zak Date: Tue Mar 25 22:59:47 2008 +0100 ldattach: add NLS support Signed-off-by: Karel Zak sys-utils/ldattach.c | 36 ++++++++++++++++++++++-------------- 1 files changed, 22 insertions(+), 14 deletions(-) commit a204df209217b0dedbff19862ac21cc1f1ff3eb6 Author: Andrzej Krzysztofowicz Date: Tue Mar 25 22:42:31 2008 +0100 po: add pl.po (from translationproject.org) po/pl.po | 9342 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 9342 insertions(+), 0 deletions(-) commit d20196b0794e154d393ee6c47897e33a1602813a Author: Mikel Olasagasti Date: Tue Mar 25 22:42:31 2008 +0100 po: add eu.po (from translationproject.org) po/eu.po | 9341 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 9341 insertions(+), 0 deletions(-) commit 5c2f216df6d7229c499058a69780f883e0f7cd91 Author: Clytie Siddall Date: Tue Mar 25 22:42:31 2008 +0100 po: update vi.po (from translationproject.org) po/vi.po | 1171 +++++++++++++++++++++++--------------------------------------- 1 files changed, 429 insertions(+), 742 deletions(-) commit 70bc4cf1634cf7445f44bade13dff71090d33a9f Author: Maxim V. Dziumanenko Date: Tue Mar 25 22:42:31 2008 +0100 po: update uk.po (from translationproject.org) po/uk.po | 1616 ++++++++++++++++++++++++-------------------------------------- 1 files changed, 611 insertions(+), 1005 deletions(-) commit 3f585871efe62d2494aa746466523b220bde34a9 Author: Nilgün Belma Bugüner Date: Tue Mar 25 22:42:31 2008 +0100 po: update tr.po (from translationproject.org) po/tr.po | 1491 ++++++++++++++++++++++++-------------------------------------- 1 files changed, 576 insertions(+), 915 deletions(-) commit a667d36cf0e1944dbce9c72da601e1af576c714b Author: Daniel Nylander Date: Tue Mar 25 22:42:31 2008 +0100 po: update sv.po (from translationproject.org) po/sv.po | 1147 +++++++++++++++++++++++--------------------------------------- 1 files changed, 427 insertions(+), 720 deletions(-) commit f38b71df57bc0befade604e5c05b82753375f08c Author: Simon Mihevc Date: Tue Mar 25 22:42:30 2008 +0100 po: update sl.po (from translationproject.org) po/sl.po | 1470 ++++++++++++++++++++++++-------------------------------------- 1 files changed, 567 insertions(+), 903 deletions(-) commit 51012613088f322c288bb7be32c52df45bb8eed7 Author: Pavel Maryanov Date: Tue Mar 25 22:42:30 2008 +0100 po: update ru.po (from translationproject.org) po/ru.po | 1645 +++++++++++++++++++++++--------------------------------------- 1 files changed, 616 insertions(+), 1029 deletions(-) commit 5efecc7ca28e79a6b70dd53dc0d208d2d6061ce0 Author: Rodrigo Stulzer Lopes Date: Tue Mar 25 22:42:30 2008 +0100 po: update pt_BR.po (from translationproject.org) po/pt_BR.po | 2064 ++++++++++++++++++++++------------------------------------- 1 files changed, 764 insertions(+), 1300 deletions(-) commit 0660caacd241bb8f62f044e33131d75f204c5a43 Author: Benno Schulenberg Date: Tue Mar 25 22:42:30 2008 +0100 po: update nl.po (from translationproject.org) po/nl.po | 1200 +++++++++++++++++++++++--------------------------------------- 1 files changed, 445 insertions(+), 755 deletions(-) commit d743f0e367b68fafab2fa2e5ddbc31de3c74d1bc Author: Daisuke Yamashita Date: Tue Mar 25 22:42:30 2008 +0100 po: update ja.po (from translationproject.org) po/ja.po | 1525 +++++++++++++++++++++++--------------------------------------- 1 files changed, 568 insertions(+), 957 deletions(-) commit 0c17c03424e2f07eee589f0be2659648825d9142 Author: Marco Colombo Date: Tue Mar 25 22:42:30 2008 +0100 po: update it.po (from translationproject.org) po/it.po | 1675 ++++++++++++++++++++++++-------------------------------------- 1 files changed, 639 insertions(+), 1036 deletions(-) commit 9d8f07ea6cfc022125b23ab53b0873ca60faad80 Author: Arif E. Nugroho Date: Tue Mar 25 22:42:30 2008 +0100 po: update id.po (from translationproject.org) po/id.po | 1660 +++++++++++++++++++++++--------------------------------------- 1 files changed, 620 insertions(+), 1040 deletions(-) commit 04899696d95eb97eda6519bddd30b0bda166ab78 Author: Gabor Kelemen Date: Tue Mar 25 22:42:30 2008 +0100 po: update hu.po (from translationproject.org) po/hu.po | 3405 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 1760 insertions(+), 1645 deletions(-) commit 99772884e645ca5a6066c1bfb22e861b7770146b Author: Michel Robitaille Date: Tue Mar 25 22:42:29 2008 +0100 po: update fr.po (from translationproject.org) po/fr.po | 1986 +++++++++++++++++++++++--------------------------------------- 1 files changed, 723 insertions(+), 1263 deletions(-) commit b022199613306b28401ee54e135db38f9f3135eb Author: Meelis Roos Date: Tue Mar 25 22:42:29 2008 +0100 po: update et.po (from translationproject.org) po/et.po | 1398 ++++++++++++++++++++++++-------------------------------------- 1 files changed, 530 insertions(+), 868 deletions(-) commit 40f5054b302776c4695968189a06d4abede47735 Author: Santiago Vila Doncel Date: Tue Mar 25 22:42:29 2008 +0100 po: update es.po (from translationproject.org) po/es.po | 1761 +++++++++++++++++++++++--------------------------------------- 1 files changed, 651 insertions(+), 1110 deletions(-) commit 54a9ceb86edf05a03c67391939692bc25c742c47 Author: Michael Piefel Date: Tue Mar 25 22:42:29 2008 +0100 po: update de.po (from translationproject.org) po/de.po | 1529 +++++++++++++++++++++++++------------------------------------- 1 files changed, 606 insertions(+), 923 deletions(-) commit b1a97751f8318e45c6e9cb27f1773ffb27f83d79 Author: Claus Hindsgaul Date: Tue Mar 25 22:42:29 2008 +0100 po: update da.po (from translationproject.org) po/da.po | 1407 ++++++++++++++++++++++++-------------------------------------- 1 files changed, 549 insertions(+), 858 deletions(-) commit df4f1be36745c9503d8a3fe2772d5c01eb3be543 Author: Petr Pisar Date: Tue Mar 25 22:42:29 2008 +0100 po: update cs.po (from translationproject.org) po/cs.po | 1121 ++++++++++++++++++++++++-------------------------------------- 1 files changed, 431 insertions(+), 690 deletions(-) commit 9b17a18bfaaeace95339a0d3077aa762a61618f4 Author: Josep Puigdemont Date: Tue Mar 25 22:42:29 2008 +0100 po: update ca.po (from translationproject.org) po/ca.po | 1733 +++++++++++++++++++++++--------------------------------------- 1 files changed, 639 insertions(+), 1094 deletions(-) commit f0c2e3fa67f9016a3fecd2ac57b78fdc9d2afdb4 Author: Karel Zak Date: Tue Mar 25 22:42:06 2008 +0100 build-sys: release++ Signed-off-by: Karel Zak NEWS | 5 +++-- configure.ac | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) commit 97a88ccb352f2dfd3e465aaa38e728502c4e7230 Author: Karel Zak Date: Thu Mar 20 15:23:16 2008 +0100 partx: fix compiler warnings dos.c:44: warning: pointer targets in assignment differ in signedness dos.c:93: warning: pointer targets in assignment differ in signedness Signed-off-by: Karel Zak partx/bsd.c | 2 +- partx/partx.c | 6 +++--- partx/partx.h | 2 +- partx/solaris.c | 2 +- partx/unixware.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) commit 1afa7ab49d273e318648fba269b8e5e60acb64f7 Author: Karel Zak Date: Thu Mar 20 15:06:29 2008 +0100 chfn: fix compiler warnings in selinux stuff selinux_utils.c:16: warning: assignment discards qualifiers from pointer target type Signed-off-by: Karel Zak login-utils/selinux_utils.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit db3e2da7902ad15d0335ebcbb235d6517df4a38f Author: Karel Zak Date: Thu Mar 20 14:57:40 2008 +0100 mkfs.minix: clean up gcc warnings mkfs.minix.c:199: warning: ‘count_blocks’ defined but not used Signed-off-by: Karel Zak disk-utils/mkfs.minix.c | 31 ------------------------------- 1 files changed, 0 insertions(+), 31 deletions(-) commit 7b241808f110953991e13eaf03ff4b4df7bb2b8e Author: Karel Zak Date: Thu Mar 20 14:54:06 2008 +0100 mkswap: fix compiler warnings mkswap.c:529: warning: pointer targets in assignment differ in signedness mkswap.c:531: warning: pointer targets in assignment differ in signedness mkswap.c:550: warning: pointer targets in passing argument 1 of `uuid_parse' differ in signedness Signed-off-by: Karel Zak disk-utils/mkswap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 07d9b366e4cad566d26780647cb081b07fae6416 Author: Karel Zak Date: Thu Mar 20 14:45:33 2008 +0100 swapon: remove unnecessary myrealpath() call Signed-off-by: Karel Zak mount/swapon.c | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) commit 6274b9877822c9e3ee9eebc5f38fe246ba13197c Author: Kees Cook Date: Thu Mar 20 01:24:03 2008 -0700 swapon: Reinitialize software suspend areas to avoid future corruption. This is based on the earlier swsuspend re-init patch carried by RedHat, SuSE, and Ubuntu. It has been updated to include passing the known UUID to mkswap, and fixing the fstype name. Co-Author: Karel Zak Signed-off-by: Kees Cook Signed-off-by: Karel Zak mount/swapon.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 75 insertions(+), 0 deletions(-) commit 49ccbae67e4346b97a0c14ebd39050b599a4b8a0 Author: Karel Zak Date: Thu Mar 20 13:50:08 2008 +0100 build-sys: cleanup "x$foo" usage Signed-off-by: Karel Zak configure.ac | 104 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 52 insertions(+), 52 deletions(-) commit 08d64aa23288062c926823555d85ee89a65f6f41 Author: Karel Zak Date: Wed Mar 5 00:53:24 2008 +0100 build-sys: use ncursesw (wide version) when possibe Detect ncursesw and use it in place of ncurses when possible (default). Allow people to use classic (non-wide) version by --with-ncurses or disable all ncurses/ncursesw support by --without-ncurses. Co-Author: Mike Frysinger Signed-off-by: Karel Zak configure.ac | 41 +++++++++++++++++++++++++++++------------ fdisk/Makefile.am | 2 +- misc-utils/Makefile.am | 6 +++--- text-utils/Makefile.am | 8 ++++---- 4 files changed, 37 insertions(+), 20 deletions(-) commit 40cc242e0204e274b012895f17dca8750001acd8 Author: Karel Zak Date: Wed Mar 5 00:34:49 2008 +0100 build-sys: add VARSUFFIX to UTIL_CHECK_LIB The UTIL_CHECK_LIB macro follows the default autoconf behaviour and generates have_ and HAVE_LIB variables. Some libraries are substitutional (e.g. ncurses and ncursesw). It would be nice to generate for that libraries the same HAVE_ variables independently on a library name. This patch adds optional VARSUFFIX option to UTIL_CHECK_LIB, so the final variables are have_ and HAVE_LIB. For example: UTIL_CHECK_LIB(yyy, func) generates have_yyy and HAVE_LIBYYY UTIL_CHECK_LIB(yyy, func, xxx) generates have_xxx and HAVE_LIBXXX Signed-off-by: Karel Zak configure.ac | 17 +++++++++++------ 1 files changed, 11 insertions(+), 6 deletions(-) commit 66cb1233370f1a299501008f002797fd5a783934 Author: Karel Zak Date: Wed Mar 19 11:43:10 2008 +0100 docs: refresh TODO list Signed-off-by: Karel Zak TODO | 50 +++++++------------------------------------------- 1 files changed, 7 insertions(+), 43 deletions(-) commit 18ecd7d0a12952600a76227f5d81a1b900e05f8f Author: Karel Zak Date: Wed Mar 12 14:07:28 2008 +0100 docs: add note about static linking Signed-off-by: Karel Zak README | 32 ++++++++++++++++++++++++++++++-- 1 files changed, 30 insertions(+), 2 deletions(-) commit 9a6cd8bdae7b1d24a7bf5ae03f4496cbd0d0671b Author: Karel Zak Date: Wed Mar 12 12:28:50 2008 +0100 mount: remove useless if-before-my_free, define my_free as a macro Signed-off-by: Karel Zak mount/fstab.c | 12 +++--------- mount/mount.c | 14 ++++---------- mount/xmalloc.h | 6 ++++++ 3 files changed, 13 insertions(+), 19 deletions(-) commit 71c445db69d865329c38ab95328780205ada751b Author: Jim Meyering Date: Wed Mar 12 11:42:16 2008 +0100 remove useless if-before-free tests. E.g., in this example, the "if (p)" test is useless. if (p) free (p); I've been removing such tests systematically. Here's where I proposed it to the git folks, along with justification for why it's ok to perform this transformation, these days (no one uses SunOS4 anymore): http://thread.gmane.org/gmane.comp.version-control.git/74187 Signed-off-by: Jim Meyering login-utils/setpwnam.c | 2 +- login-utils/simpleinit.c | 4 ++-- mount/mount_mntent.c | 3 +-- mount/realpath.c | 9 +++------ partx/crc32.c | 4 ++-- partx/gpt.c | 6 ++---- 6 files changed, 11 insertions(+), 17 deletions(-) commit 1e8d11c459ae93a4d8d7976a8530ae5198206a26 Author: Tilman Schmidt Date: Mon Mar 10 14:20:26 2008 +0100 ldattach: new command Add an ldattach(8) utility program similar to the one in OpenBSD. Signed-off-by: Tilman Schmidt sys-utils/Makefile.am | 4 +- sys-utils/ldattach.8 | 130 +++++++++++++++++++ sys-utils/ldattach.c | 327 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 459 insertions(+), 2 deletions(-) commit 8ec69c388244c9d9b25693d708883bda7086e3fa Author: Karel Zak Date: Thu Mar 6 15:43:41 2008 +0100 mount: don't canonicalize LABEL= or UUID= spec Signed-off-by: Karel Zak mount/fstab.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) commit ff3d19bd8ffd1b1ec8027507a3889af33c2e695e Author: Hamish Coleman Date: Mon Mar 3 09:52:59 2008 -0700 agetty: make username-in-uppercase feature optional (off by default.) The following patch makes the username-in-upper-case feature optional. I have chosen to make it default to off since this feature was designed to cater for serial terminals that were last sold almost 30 years ago, thus the likelyhood that anyone will need this feature turned on is vanishingly small. Addresses-Debian-Bug: 156242 Signed-off-by: Hamish Coleman Signed-off-by: LaMont Jones Signed-off-by: Karel Zak login-utils/agetty.8 | 8 +++++++- login-utils/agetty.c | 11 +++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) commit 70ae6e9525cd5f645695c0cf2a9a0718c9a6925a Author: Karel Zak Date: Tue Mar 4 11:10:42 2008 +0100 fdformat: install to /usr/sbin instead to /usr/bin It should be in usrsbinexecdir, since formatting is usually a privileged util-linux operation (like mkfs). Reported-By: Jan Engelhardt Signed-off-by: Karel Zak disk-utils/Makefile.am | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 024e1a4f90ad98495863e57132edbadc80a3cac5 Author: Bernardo Innocenti Date: Sun Oct 28 22:47:33 2007 -0400 mount: allow auto-destruction of loop devices This allows a flag to be set on loop devices so that when they are closed for the last time, they'll self-destruct. The kernel part has been submitted to lkml by David Woodhouse. Signed-off-by: Bernardo Innocenti Signed-off-by: Karel Zak mount/lomount.c | 34 ++++++++++++++++++++++++++++------ mount/lomount.h | 3 +++ mount/loop.h | 7 +++++++ mount/mount.c | 16 ++++++++++++---- 4 files changed, 50 insertions(+), 10 deletions(-) commit 9a52650c79099fb7a029727bc72b5c489390a72e Author: Karel Zak Date: Mon Feb 18 15:22:08 2008 +0100 tests: add "sort" to cramfs test Signed-off-by: Karel Zak tests/expected/ts-cramfs-mkfs | 4628 ++++++++++++++++++++-------------------- tests/ts-cramfs-mkfs | 6 +- 2 files changed, 2317 insertions(+), 2317 deletions(-) commit 64754af9760f5d8db57ead93f6929ae6118dc244 Author: Stepan Kasal Date: Tue Dec 11 18:47:37 2007 +0100 build-sys: use pkg-config to find the libs for static build Signed-off-by: Stepan Kasal configure.ac | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) commit 8e49ea2c5cd521720ba1232eb57a6e0242f80d3a Author: Stepan Kasal Date: Tue Dec 11 18:47:36 2007 +0100 build-sys: do not add -luuid to BLKID_LIBS * configure.ac: Do not include -luuid in BLKID_LIBS, the library dependencies handle this. Signed-off-by: Stepan Kasal configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 8569410cf59389890bb3d5cd9109e9431223c561 Author: Stepan Kasal Date: Tue Dec 11 18:47:34 2007 +0100 build-sys: add --enable-static-programs Add support for static versions of mount, umount, losetup, fdisk, and sfdisk. Co-Author: Karel Zak Signed-off-by: Stepan Kasal Makefile.am | 3 +- configure.ac | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++ fdisk/Makefile.am | 12 ++++++++++ mount/Makefile.am | 31 +++++++++++++++++++++++-- 4 files changed, 105 insertions(+), 4 deletions(-) commit 5badb3fd484ddbb8404978e4b35e526b4b25c291 Author: Robert Millan Date: Fri Feb 15 00:13:26 2008 +0100 fdisk: use more readable "GPT" name rather than "EFI GPT" Although GPT is defined in EFI spec, it is widely used without EFI, as it reserves space for the MBR and works fine on PC/BIOS systems provided the bootloader supports it. This is in fact the way everyone seems to be following to overcome the 2 TiB limitation with MSDOS partition table. Signed-off-by: Robert Millan fdisk/i386_sys_types.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0230d3beeb0b40d01835eab86fa617b00f3bbc64 Author: Karel Zak Date: Fri Feb 15 01:56:18 2008 +0100 mount: use canonicalize in getfs_by_devname Fixes a problem when you define a device via a persistent udev device name in /etc/fstab but use the real block device name on mount invocation. Signed-off-by: Karel Zak mount/fstab.c | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) commit d3cf54149293d1db8755a2ac12612261157fd8dc Author: Mike Frysinger Date: Thu Feb 14 19:43:24 2008 -0500 rtcwake: fix typo SATE -> STATE Signed-off-by: Mike Frysinger sys-utils/rtcwake.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit c41e1340671cf1881a8ace9b962167d65ccd7e81 Author: Mike Frysinger Date: Thu Feb 14 15:03:21 2008 -0500 rtcwake: include libgen.h for basename prototype Signed-off-by: Mike Frysinger sys-utils/rtcwake.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 93bf0f285d2479a9cccfa569d0fa70377b531f81 Author: Martin Schulze Date: Sat Jan 26 23:31:06 2008 -0700 mkswap: set UUID for swap space (add -U option) A friend of mine is looking into the possibility of cloning Debian (and other) systems automatically and stomped over swap partitions getting assigned new UUIDs every time the new harddisk is partitioned and swap is created. It's essential when partitions are to be recognised by their uuid and not by their old device path anymore. Addresses-Ubuntu-Bug: #66637 Signed-off-by: LaMont Jones Signed-off-by: Karel Zak disk-utils/mkswap.8 | 6 +++++- disk-utils/mkswap.c | 19 +++++++++++++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) commit c3327025169a7c6c59edce7eb271a333c42b5275 Author: Mark McLoughlin Date: Mon Jan 28 14:30:29 2008 +0100 mount: "can't create lock file" message sometimes means failure, sometimes not What the patch does is goes from the situation where: 1) If /etc/mtab doesn't exist and /etc is read-only, you get the "can't create lock file" message and the mount fails 2) If /etc/mtab does exist and /etc is read-only,you get the same message but the mount succeeds Clearly, the failure to update /etc/mtab should either cause the mount to fail or not ... sometimes causing it to fail, and sometimes not (each with the same message) is not useful. This patch sets the same behaviour for create and update mtab. In both cases it prints error message and the mount succeeds. Signed-off-by: Mark McLoughlin Signed-off-by: Karel Zak mount/fstab.c | 5 +++++ mount/fstab.h | 1 + mount/mount.c | 16 +++++++++------- 3 files changed, 15 insertions(+), 7 deletions(-) commit 5c55d9bf1ae789fd25d5e4153c699134706c2e9f Author: Samuel Thibault Date: Tue Nov 27 22:54:35 2007 +0000 setterm: add -blan [force|poke] options for TIOCL_{BLANKED,BLANK}SCREEN Linux has some interface to force an immediate blank (TIOCL_BLANK/UNBLANKSCREEN) or get the blank status (TIOCL_BLANKEDSCREEN), which is useful e.g. for blind people. Co-Author: Karel Zak Signed-off-by: Samuel Thibault Signed-off-by: Karel Zak configure.ac | 1 + misc-utils/setterm.1 | 10 +++++++- misc-utils/setterm.c | 61 +++++++++++++++++++++++++++++++++++++++++-------- 3 files changed, 61 insertions(+), 11 deletions(-) commit 1b7c164c494090b069b92ffe9457ef2c09e63832 Author: David Brownell Date: Sun Feb 3 15:34:35 2008 -0800 rtcwake: fix UTC time usage Timezone handling is broken in this version since it's always passing UTC time into the kernel, even on systems where the RTC uses the local timezone. I think that bug must come from bugs in how the system used to to originally develop this code handled the RTC timezone. Both RTCs should have been kept in UTC ... but only one of them was. Signed-off-by: David Brownell sys-utils/rtcwake.c | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) commit 259fcc57346f863e65800c8671e8c34a8f1cbd30 Author: Karel Zak Date: Mon Nov 26 11:13:37 2007 +0100 losetup: add --associated option losetup -j | --associated [-o ] This new option lists all loop devices associated with given file (and optionally file offset). Examples: # losetup -a /dev/loop0: [0807]:21921808 (/foo/vfat-mbr.img) /dev/loop1: [0807]:21921808 (/foo/vfat-mbr.img), offset 100 /dev/loop2: [0807]:21921802 (/bar/ext3.img) # losetup -j /foo/vfat-mbr.img /dev/loop0: [0807]:21921808 (/foo/vfat-mbr.img) /dev/loop1: [0807]:21921808 (/foo/vfat-mbr.img), offset 100 # losetup -j /foo/vfat-mbr.img -o 100 /dev/loop1: [0807]:21921808 (/foo/vfat-mbr.img), offset 100 Signed-off-by: Karel Zak mount/lomount.c | 76 ++++++++++++++++++++++++++++++++++++++++++------------ mount/losetup.8 | 13 ++++++--- 2 files changed, 68 insertions(+), 21 deletions(-) commit 2b326e7cf2bdeee47e24f8ef372960d429b49081 Author: Karel Zak Date: Fri Nov 23 15:13:22 2007 +0100 losetup: support unlimited number of loops Old implementation: - supports 256 loop devices only - doesn't support gaps in list of loop devices (e.g. loop0, loop1, loop3 -- loop3 is invisible) Kernel 2.6.21 removes artificial maximum 256 loop device. Now the maximum of loop devices could be really huge (depends on limit of MINOR numbers). It means we need a better way how work with loop devices than blindly call stat(2) for all 0-1048575 devices. This patch uses three methods: a) scan /sys/block/loopN (used for losetup -a only). This method is probably the fastest way how found used loop device on machine with huge number of devices in /dev. b) classic way, stat(2) for all loop[0-7] devices (default number of loop devices). This cheap method is sufficient for 99% of all machines. c) scan all /dev/loopN or /dev/loop/N Signed-off-by: Karel Zak mount/lomount.c | 427 +++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 318 insertions(+), 109 deletions(-) commit 6dd6d8687b1763f9b91d9678c8808810f0b5808a Author: Karel Zak Date: Fri Feb 8 00:51:04 2008 +0100 ipcs: add information about POSIX compatibility to ipcs.1 Addresses-Suse-Bug: #274338 Signed-off-by: Karel Zak sys-utils/ipcs.1 | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) commit 628cab7cde49bfb0387a51d5390d65921d7c3dc4 Author: LaMont Jones Date: Sat Jan 12 22:35:50 2008 -0700 renice: detect errors in arguments, add -v, -h and long options * renice was using atoi(), which does no error detection, meaning that: "renice +20 blah" was accepted as valid. * add -h | --help * add -v | --version * add long options for -p, -u and -g * cleanup coding style Addresses-Debian-Bug: #385245 Co-Author: Karel Zak Signed-off-by: LaMont Jones Signed-off-by: Karel Zak sys-utils/renice.1 | 12 +++++++-- sys-utils/renice.c | 69 ++++++++++++++++++++++++++++++++++----------------- 2 files changed, 55 insertions(+), 26 deletions(-) commit bd0fb63d5f3ce081e6906e476aeb0fc408fa35c3 Author: Karel Zak Date: Mon Jan 28 15:17:45 2008 +0100 kill: man page is missing a description of "kill -0" Addresses-Red-Hat-Bugzilla: #429559 Signed-off-by: Karel Zak misc-utils/kill.1 | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit f26873dc4ded29660c89e53e303d39555d3569b5 Author: H. Peter Anvin Date: Wed Jan 16 13:53:56 2008 -0500 fdisk: better fallback for get_random_id() When /dev/urandom is not available, we have to use some kind of a hack to generate a random MBR identifier. Use a better fallback that incorporates the clock down to microsecond granularity. Signed-off-by: H. Peter Anvin" fdisk/fdisk.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 30568eec590764ab5cdd263a054df2c9fa38286f Author: Karel Zak Date: Mon Jan 28 14:02:35 2008 +0100 login: fix a small memory leak and remove unnecessary zeroing This patch fix a small memory leak (rh#251539) and also remove unnecessary pam_set_item(). We needn't to zeroing PAM_USER when the value is already NULL, it doesn't make sense. Addresses-Red-Hat-Bugzilla: #251539 Signed-off-by: Karel Zak login-utils/login.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) commit 603815e03dfdf906ece9fa37af76371667200d18 Author: Karel Zak Date: Mon Jan 28 13:13:25 2008 +0100 umount: don't print duplicate error messages umount(8) is trying to umount a device two times to prevent some obscure scenarios. It's maybe a nice feature, but it also produces duplicate error messages. # umount /home umount: /home: device is busy umount: /home: device is busy Signed-off-by: Karel Zak mount/umount.c | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) commit ff83f99ef6b8adc10a729ac86d4cbf1179166776 Author: Karel Zak Date: Mon Jan 28 12:52:04 2008 +0100 umount: add hint about lsof & fuser This patch adds a hint about lsof and fuser to the "device is busy" error message. Addresses-Red-Hat-Bugzilla: #145844 Signed-off-by: Karel Zak mount/umount.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit ff87defc0d92c2e95e24e04e1e2b73fc09f7a89f Author: Pádraig Brady Date: Fri Jan 4 10:44:53 2008 +0000 cal: fix weekday alignment for certain locales For example this had too much padding: LANG=zh_CN.utf8 cal -j while this had too little padding: LANG=hu_HU.utf8 cal This had invalid chars: LANG=li_BE.utf8 cal This had too few chars: LANG=si_LK.utf8 cal Note some locales may display with slightly worse alignment (fa_IR.utf8 for example), but that is only because the terminal is not merging the combining characters. This happens on gnome-terminal-2.18.3-1.fc8 at least. Signed-off-by: Pádraig Brady Signed-off-by: Karel Zak misc-utils/cal.c | 149 +++++++++++++++++++++++++++-------------------- tests/expected/ts-cal-1 | 4 +- tests/expected/ts-cal-3 | 8 +- tests/expected/ts-cal-y | 48 ++++++++-------- 4 files changed, 116 insertions(+), 93 deletions(-) commit b1edb5102d51d0f916aecb579d694d740d5a6c5b Author: Karel Zak Date: Thu Dec 13 01:06:44 2007 +0100 fdisk: calculate +size{K,M,G} in 2^N fdisk(8) does not calculate partition size (+sizeM or +sizeG) in MiB or GiB correctly. It uses 10^N instead 2^N. This patch cleanups +sizeX to: +sizeK -- KiB (2^10) +sizeKB -- KB (10^3) +sizeM -- MiB (2^20) +sizeMB -- MB (10^6) +sizeG -- GB (10^9) +sizeGB -- GiB (2^30) This patch also fixes the "Last cylinder..." hint message. The "+number" without any suffix is not a size at all. It's number of cylinders/sectors. Note, the 10^N suffixes are not proposed to end-uses in the hint message. Signed-off-by: Karel Zak fdisk/fdisk.c | 72 ++++++++++++++++++++++++++++++++++++++------------------ 1 files changed, 49 insertions(+), 23 deletions(-) commit 3f59f818b44b36ca41d870eb2f60431282573047 Author: Karel Zak Date: Tue Jan 8 13:08:32 2008 +0100 mount: add more details to the --version output Signed-off-by: Karel Zak mount/mount.c | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) commit 2dd88c0682bb6c10a83d1e78a198142d2147e35d Author: Frédéric Bothamy Date: Sat Jan 12 22:35:51 2008 -0700 sys-utils: correct setarch.8 manpage link creation At least on Debian, .so commands are relative to the man directory (e.g., /usr/share/man), not to the subdirectory: % man i386 man: can't open /usr/share/man/setarch.8: No such file or directory No manual entry for i386 See also http://bugs.debian.org/453245 Addresses-Debian-Bug: #453245 Signed-off-by: Frédéric Bothamy Signed-off-by: LaMont Jones Signed-off-by: Karel Zak sys-utils/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit a69968607c69ca5339c5b4e5af49b0affccc3e15 Author: Miklos Szeredi Date: Tue Jan 8 12:55:18 2008 +0100 build-sys: add AC_CANONICAL_HOST This seems to be needed in certain environments. Signed-off-by: Miklos Szeredi configure.ac | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 2da3626b0931373700cd6000f407f3ecda8223be Author: Karel Zak Date: Mon Jan 7 12:53:32 2008 +0100 docs: mark vipw(1) is deprecated in favor of vipw from shadow-utils Signed-off-by: Karel Zak DEPRECATED | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 8c182554153e7db8841bd5e663218d297df0b0f5 Author: Karel Zak Date: Tue Dec 18 01:53:10 2007 +0100 build-sys: disable syscall fallbacks for non-linux systems Signed-off-by: Karel Zak configure.ac | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) commit 5ac128c668b06e987bdbe5cbdcc698f642812560 Author: Karel Zak Date: Mon Dec 17 22:28:48 2007 +0100 swapon: add sundries.h so we can compile with -fno-common. Signed-off-by: Karel Zak mount/swapon.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit eb00bb33bbf772de79fcbc8a9261a66f3f47adf0 Author: Matthias Koenig Date: Mon Dec 17 11:33:20 2007 +0100 mount: "nofail" mount option It would be nice to have a mount option "nofail" indicating that mount should not return an error if the device does not exit. This is useful for hotpluggable devices which are configured in fstab and __might__ not exist at boot time. Co-Author: Karel Zak Signed-off-by: Matthias Koenig Signed-off-by: Karel Zak mount/mount.8 | 3 +++ mount/mount.c | 21 +++++++++++++++++---- 2 files changed, 20 insertions(+), 4 deletions(-) commit 8a6018f5dd2c9e77ebc300c7b338e83b7eaa9a69 Author: Samuel Thibault Date: Tue Dec 18 02:00:45 2007 +0000 cfdisk: define portable {DEFAULT,ALTERNATE}_DEVICE Set DEFAULT_DEVICE and ALTERNATE_DEVICE for GNU/Hurd and FreeBSD Signed-off-by: Samuel Thibault fdisk/cfdisk.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit ad1e2bff0cabe26c4771d7a57b23d626f9ae33ff Author: Samuel Thibault Date: Thu Jan 3 16:46:05 2008 +0100 setterm: remove unnecessaty ifndef TCGETS Signed-off-by: Karel Zak misc-utils/setterm.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) commit 101271dbb248f82e0f7bff15b2736222abf4bceb Author: Samuel Thibault Date: Thu Jan 3 16:43:53 2008 +0100 more: replace CBAUD with cfgetispeed() Signed-off-by: Karel Zak text-utils/more.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ad3a3bfc7ac4f32e962fe5d4b86d95f9258556d1 Author: Samuel Thibault Date: Thu Jan 3 16:40:48 2008 +0100 login: replace termio with termios interface Signed-off-by: Karel Zak login-utils/login.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 1961482a4e2ef887b841ce49d801ecffcb3dd964 Author: Samuel Thibault Date: Thu Jan 3 16:40:32 2008 +0100 agetty: replace termio with termios interface Signed-off-by: Karel Zak login-utils/agetty.c | 131 ++++++++++++++++++++----------------------------- 1 files changed, 54 insertions(+), 77 deletions(-) commit deb2329b42c6558e78e876922c80c1b8b5b48f69 Author: Samuel Thibault Date: Mon Dec 17 23:52:39 2007 +0000 tailf: non-linux support Include only when inotify_init() was detected Signed-off-by: Samuel Thibault text-utils/tailf.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 580cb0d06968e1c8238c1f26761b466839813937 Author: Samuel Thibault Date: Mon Dec 17 23:38:30 2007 +0000 include: provides everything Do not include as provides everything. Signed-off-by: Samuel Thibault include/bitops.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit d01ee8e6661c4bef970df98c85b42e3d0d48fd19 Author: Karel Zak Date: Mon Dec 17 13:57:28 2007 +0100 partx: use swab macros from bitops.h Clean up GPT code: - remove C++ comments - tailing white-spaces - use cpu_to_ swab macros from bitops.h Signed-off-by: Karel Zak partx/gpt.c | 124 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 62 insertions(+), 62 deletions(-) commit 9eca9d0dd26eea526ea45647fd3c3085f008838b Author: Karel Zak Date: Mon Dec 17 13:26:38 2007 +0100 fdisk: use swab macros from bitops.h Signed-off-by: Karel Zak fdisk/gpt.c | 22 ++-------------------- 1 files changed, 2 insertions(+), 20 deletions(-) commit a34fc3d4ad3c9f80737352df70ddc6b68a6501ae Author: Karel Zak Date: Mon Dec 17 13:18:12 2007 +0100 include: add bitops.h with swab{16,32,64} macros Signed-off-by: Karel Zak include/bitops.h | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) commit 1ed3367f6167c3e5371ce4a24e61a4194c5f99fc Author: Karel Zak Date: Mon Dec 17 13:18:12 2007 +0100 include: add bitops.h with swab{16,32,64} macros Signed-off-by: Karel Zak include/Makefile.am | 2 +- include/bitops.h | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletions(-) commit b0c72ff87dcd7614c2ac6169f88e9283ed03213e Author: Imre Kaloz Date: Sun Dec 9 18:59:58 2007 +0100 fdisk: fix building for AVR32 and CRIS The following simple patch fixes fdisk compilation for the AVR32 and CRIS architectures. Signed-off-by: Imre Kaloz Signed-off-by: Karel Zak fdisk/fdiskbsdlabel.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 003359036d2ebd9e69f47811c0ed83e621e374fd Author: Stepan Kasal Date: Tue Dec 11 18:47:35 2007 +0100 build-sys: build arch(1) during distcheck Signed-off-by: Stepan Kasal Signed-off-by: Karel Zak Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 280ff4980c995c366b61419c712b55a25af9d165 Author: Stepan Kasal Date: Tue Dec 4 19:21:48 2007 +0100 build-sys: simplify code around RDEV_LINKS and SETARCH_LINKS Signed-off-by: Stepan Kasal sys-utils/Makefile.am | 24 +++++++++--------------- sys-utils/ramsize.8 | 1 - sys-utils/rootflags.8 | 1 - sys-utils/vidmode.8 | 1 - 4 files changed, 9 insertions(+), 18 deletions(-) commit d829a8df7ed609d1d8fd2280bb085b897c196dda Author: Stepan Kasal Date: Tue Dec 4 19:21:47 2007 +0100 build-sys: use portable $(VAR:=) instead of gmake-specific $(addsuffix) Signed-off-by: Stepan Kasal sys-utils/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a3ca3a44c552888a9d898ce2a8cf37fee61b9861 Author: Stepan Kasal Date: Tue Dec 4 19:21:46 2007 +0100 build-sys: use dist_man_MANS instead of man_MANS Signed-off-by: Stepan Kasal config/include-Makefile.am | 2 +- disk-utils/Makefile.am | 8 ++++---- fdisk/Makefile.am | 8 ++++---- getopt/Makefile.am | 2 +- hwclock/Makefile.am | 2 +- login-utils/Makefile.am | 14 +++++++------- misc-utils/Makefile.am | 12 ++++++------ mount/Makefile.am | 4 ++-- partx/Makefile.am | 2 +- schedutils/Makefile.am | 6 +++--- sys-utils/Makefile.am | 10 +++++----- text-utils/Makefile.am | 6 +++--- 12 files changed, 38 insertions(+), 38 deletions(-) commit 9af2166d11cddb90d71ddca68f47d5d17423a420 Author: Stepan Kasal Date: Tue Dec 4 19:21:45 2007 +0100 shutdown: use _PATH_MOUNTED instead of _PATH_MTAB Signed-off-by: Stepan Kasal login-utils/shutdown.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit fc7aeb09d4b45b53e6c6a277157aee8674bf400c Author: Karel Zak Date: Fri Dec 7 01:56:06 2007 +0100 tailf: inotify based reimplementation This patch: - clean up tailf(1) code - remove stupid "for() { malloc() }" array allocation in the tailf() function - add inotify(7) support Signed-off-by: Karel Zak configure.ac | 1 + text-utils/tailf.1 | 4 +- text-utils/tailf.c | 240 ++++++++++++++++++++++++++++++++++------------------ 3 files changed, 161 insertions(+), 84 deletions(-) commit 351a93169ebb30295221c37a22726ff63137f2a5 Author: Karel Zak Date: Fri Dec 14 15:09:22 2007 +0100 mount: hint about helper program if device doesn't exist Addresses-Debian-Bug: #452330 Signed-off-by: Karel Zak mount/mount.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) commit b7ea07e0c9b96b83087c41dafdd974909a696dd4 Author: Karel Zak Date: Thu Dec 6 22:46:00 2007 +0100 tests: redirect libblkid cache to BLKID_FILE Signed-off-by: Karel Zak tests/functions.sh | 30 +++--------------------------- tests/ts-cramfs-mkfs | 2 -- 2 files changed, 3 insertions(+), 29 deletions(-) commit 23dfde7f5b0269398e2e957d3a2f8f9eacce2e0e Author: Karel Zak Date: Wed Dec 5 12:40:44 2007 +0100 docs: add note about incorrect tag 2.13.1 The git tag 2.13.1 is typo. I forgot to use -rc1 suffix for this tag. The real 2.13.1 is going to be released with tag 2.13.1-REAL. Sorry. Signed-off-by: Karel Zak README.devel | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit df1d7dcf1eafe37732adedd160d31354d6d7de9d Author: David Woodhouse Date: Tue Dec 4 14:44:05 2007 +0100 hwclock: check for ENODEV /sbin/hwclock is supposed to fall back to using /dev/rtc0 if /dev/rtc isn't working (which it isn't, because mkinitrd creates it with the old device numbers, and we're switching to the new RTC_CLASS driver). Unfortunately, it'll only cope if the error it gets is ENOENT (i.e. the device node doesn't exist). It doesn't fall back to the next device in the list if the error is ENODEV, which is what happens when the device node exists, but there's no driver. Signed-off-by: David Woodhouse Signed-off-by: Karel Zak hwclock/rtc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5119dec449a8d7c07bf01947e957b862035e1260 Author: Kunihiko IMAI Date: Mon Aug 20 06:12:53 2007 -0600 sfdisk: allow partitioning drives of over 2^31 sectors. sfdisk would incorrectly complain that there was no room when partitioning a drive over 2^31 sectors in size. Signed-off-by: LaMont Jones fdisk/sfdisk.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 7711bc173314bc021748822be88748587ae6b246 Author: Samuel Thibault Date: Mon Dec 3 14:17:23 2007 +0100 losetup: use standard uintxy_t types (struct loop_info64) The kernel loop_info64 definition uses __u{8,32,64} types, but userspace uses unsigned {long long,int,char} types. This patch turns into exactly defined standard uint{8,32,64}_t types. Signed-off-by: Samuel Thibault Signed-off-by: Karel Zak mount/lomount.c | 9 +++++---- mount/loop.h | 31 ++++++++++++++----------------- 2 files changed, 19 insertions(+), 21 deletions(-) commit 65fb3668fcdcd44848326f105f306e0b5b607385 Author: Samuel Thibault Date: Sat Oct 27 18:27:31 2007 +0100 fdisk: non-linux support (use standard uintxy_t instead __uxy) - #include is turned into #include , much more   portable, and __uxy were turned into uintxy_t. Signed-off-by: Samuel Thibault Signed-off-by: Karel Zak fdisk/cfdisk.c | 1 - fdisk/fdiskaixlabel.h | 2 +- fdisk/fdiskbsdlabel.h | 68 ++++++++++++++++++++++++------------------------ fdisk/fdiskmaclabel.h | 2 +- fdisk/fdisksgilabel.c | 14 +++++----- fdisk/fdisksgilabel.h | 6 ++-- fdisk/fdisksunlabel.c | 28 ++++++++++---------- fdisk/fdisksunlabel.h | 60 +++++++++++++++++++++--------------------- 8 files changed, 90 insertions(+), 91 deletions(-) commit adf88e666acdd05da134bca50fb52daedb7b8952 Author: Oliver Falk Date: Mon Dec 3 13:34:42 2007 +0100 setarch: add missing alpha subarchs Signed-off-by: Oliver Falk Signed-off-by: Karel Zak sys-utils/setarch.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit ce6479e21c2c950831667b2802a0a80e3034300e Author: Benno Schulenberg Date: Wed Nov 28 20:18:48 2007 +0100 swapon: readjust the usage summaries swapon.8: reorder options, lowercase command names, tweak sentences. swapon.c: tweak descriptions, adjust spaces for proper alignment. Signed-off-by: Benno Schulenberg mount/swapon.8 | 38 ++++++++++++++++---------------------- mount/swapon.c | 18 +++++++++--------- 2 files changed, 25 insertions(+), 31 deletions(-) commit 2148b05182c755d74fd17b087f3ff37904df0b8c Author: David Brownell Date: Fri Nov 30 13:42:41 2007 -0800 rtcwake: misc cleanups Cleanups for rtcwake: - Minor doc updates: highlight the framebuffer problem, give correct history of this code - Improve debug output - Fix some linelength bugs Note that this code predated the sysfs "wakealarm" mechanism, and works around several now-fixed bugs in the kernel RTC framework. Nowadays it would make sense to make this program use only the sysfs interface to the RTC, using "since_epoch" instead of RTC_RD_TIME and "wakealarm" instead of the four other ioctls. That could simplify the mess involved in timezone handling. Signed-off-by: David Brownell Signed-off-by: Karel Zak sys-utils/rtcwake.8 | 11 ++++++++--- sys-utils/rtcwake.c | 48 ++++++++++++++++++++++++++++-------------------- 2 files changed, 36 insertions(+), 23 deletions(-) commit 7dcca505f854b81112ce285e51b470e7349796cb Author: Karel Zak Date: Wed Nov 28 15:19:24 2007 +0100 blockdev: add --getsz to blockdev.8 This patch also marks --getsize as deprecated option. Signed-off-by: Karel Zak disk-utils/blockdev.8 | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) commit d08a2b44b5d57fb2b52869372decfb35802c7557 Author: Karel Zak Date: Wed Nov 28 15:01:14 2007 +0100 swapon: fix typo in usage() Signed-off-by: Karel Zak mount/swapon.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 0b75efe74c58d561b4dbf4a1dd788163b82f1dca Author: Karel Zak Date: Wed Nov 28 14:45:27 2007 +0100 getopt: fix path to examples in getopt.1 Signed-off-by: Karel Zak getopt/getopt.1 | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit e8909a05ef60802c228271423167e49e59030900 Author: Karel Zak Date: Wed Nov 28 14:37:09 2007 +0100 mount: use MNTTYPE_SWAP (from mntent.h) Signed-off-by: Karel Zak mount/mount.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 4e270e3f480c6786d17722ea97ed72d374b66051 Author: Karel Zak Date: Wed Nov 28 14:35:24 2007 +0100 mount: cleanup usage of _PATH_* The macros MOUNTED and MNTTAB are deprecated. This patch standardize and consolidate all path macros and remove mount_paths.h. Signed-off-by: Karel Zak mount/Makefile.am | 2 +- mount/fsprobe.c | 22 ++++++------ mount/fsprobe_volumeid.c | 10 +++--- mount/fstab.c | 68 +++++++++++++++++++-------------------- mount/mount.c | 30 ++++++++-------- mount/mount_paths.h | 26 --------------- mount/swapon.c | 18 +++++----- tests/expected/ts-mount-paths | 1 + tests/expected/ts-mount-special | 1 + 9 files changed, 76 insertions(+), 102 deletions(-) commit 4d43977ffcd294e58b9594ce479448fd91f88129 Author: Karel Zak Date: Wed Nov 28 14:08:33 2007 +0100 include: add mount paths to pathnames.h Signed-off-by: Karel Zak include/pathnames.h | 33 +++++++++++++++++++++++++++++++-- tests/expected/ts-include-pathnames | 11 ++++++++++- tests/helpers/test_pathnames.c | 11 ++++++++++- 3 files changed, 51 insertions(+), 4 deletions(-) commit e6590f06adeacdd4d1dcaf25cd1132e314978f62 Author: Karel Zak Date: Wed Nov 28 13:19:42 2007 +0100 agetty: non-linux support (use pathnames.h) Signed-off-by: Karel Zak login-utils/agetty.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2f4564eac498ab194c204d4ad363d663c9bd76a4 Author: Karel Zak Date: Wed Nov 28 13:17:16 2007 +0100 include: cleanup pathnames.h Signed-off-by: Karel Zak include/pathnames.h | 111 +++++------------------------------ login-utils/login.c | 2 +- login-utils/shutdown.c | 2 + tests/expected/ts-include-pathnames | 2 +- tests/helpers/test_pathnames.c | 2 +- 5 files changed, 19 insertions(+), 100 deletions(-) commit 1f5641f97958c0e04ed5ddf2b0d84fe38f5d325f Author: Karel Zak Date: Wed Nov 28 12:52:59 2007 +0100 tests: add test for include/pathnames.h Signed-off-by: Karel Zak tests/commands.sh.in | 1 + tests/expected/ts-include-pathnames | 34 ++++++++++++ tests/helpers/Makefile.am | 2 +- tests/helpers/test_pathnames.c | 99 +++++++++++++++++++++++++++++++++++ tests/ts-include-pathnames | 29 ++++++++++ 5 files changed, 164 insertions(+), 1 deletions(-) commit d00ed8911ea20880de33994ec4d2df1f4a5ba2b0 Author: Karel Zak Date: Wed Nov 28 12:27:00 2007 +0100 tests: move test_bkdev to lib/ Signed-off-by: Karel Zak Makefile.am | 1 + configure.ac | 1 + lib/Makefile.am | 9 +++++++++ tests/helpers/Makefile.am | 6 +----- 4 files changed, 12 insertions(+), 5 deletions(-) commit 7df454fc9b96944d9cc57f565a1ba1f1373b2f02 Author: Karel Zak Date: Wed Nov 28 12:11:51 2007 +0100 tests: rename test_sysinfo, remove tailing white-spaces Signed-off-by: Karel Zak tests/commands.sh.in | 2 +- tests/helpers/Makefile.am | 3 +- tests/helpers/mnt_test_sysinfo.c | 126 -------------------------------------- tests/helpers/test_sysinfo.c | 126 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 128 insertions(+), 129 deletions(-) commit 2b7ff0d91a9545b862bbdb5e0c0eb126c6ada11f Author: Samuel Thibault Date: Wed Nov 28 10:59:24 2007 +0100 script: cleanup includes Signed-off-by: Samuel Thibault Signed-off-by: Karel Zak misc-utils/script.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 290edba236d4293be5a999217d4238526a885b69 Author: Samuel Thibault Date: Wed Nov 28 10:44:31 2007 +0100 sfdisk: remove unnecessary linux/unistd.h Signed-off-by: Samuel Thibault Signed-off-by: Karel Zak fdisk/sfdisk.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit e460a5bf893227ccd7cdc9b8e5beec1ebc30a858 Author: Samuel Thibault Date: Wed Nov 28 10:40:32 2007 +0100 build-sys: cleanup usage of linux/major.h The utils like fdisk or login are usable on non-linux systems. This patch allows to compile on systems without linux/major.h. Signed-off-by: Karel Zak Signed-off-by: Samuel Thibault configure.ac | 2 +- fdisk/fdisksgilabel.c | 1 - fdisk/fdisksunlabel.c | 5 +++++ login-utils/checktty.c | 8 ++++++++ 4 files changed, 14 insertions(+), 2 deletions(-) commit 7e5fad475258e0b77857011ebdccdcb045a4cd38 Author: Karel Zak Date: Mon Nov 26 15:19:29 2007 +0100 fdisk: non-linux support (MAXPATHLEN) Signed-off-by: Karel Zak fdisk/fdiskbsdlabel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e27a08abb743d32c8834d79fc7741c32e618e476 Author: Karel Zak Date: Mon Nov 26 14:58:29 2007 +0100 namei: non-linux support (get_current_dir_name() and PATH_MAX) Co-Author: Samuel Thibault Signed-off-by: Karel Zak configure.ac | 1 + misc-utils/namei.c | 19 +++++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) commit 06038c3d1d674d1f17a6d42640d363f3a4898bba Author: Karel Zak Date: Mon Nov 26 14:45:55 2007 +0100 wall: cleanup MAXHOSTNAMELEN Cc: Samuel Thibault Signed-off-by: Karel Zak login-utils/wall.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit 77337bfb7f05f3f0d5cca5d4c9feb0771f87af0c Author: Karel Zak Date: Mon Nov 26 14:45:55 2007 +0100 agetty: cleanup MAXHOSTNAMELEN Cc: Samuel Thibault Signed-off-by: Karel Zak login-utils/agetty.c | 28 +++++++++------------------- 1 files changed, 9 insertions(+), 19 deletions(-) commit 80ee280003aa5d2e2888e4b881321c335d8e90e2 Author: Peter Breitenlohner Date: Fri Nov 16 11:37:43 2007 +0100 cfdisk: display cylinders beyond 1024 There is absolutely no reason why cfdisk should not display cylinders beyond 1024. The number of cylinders needs to be truncated only for the CHS field. Signed-off-by: Peter Breitenlohner fdisk/cfdisk.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 1c58079ce2c0776ca3fddaef83f49b565f420db9 Author: Peter Breitenlohner Date: Fri Nov 16 11:50:17 2007 +0100 getopt: install example scripts as SCRIPTS, not DATA The example scripts should be installed with execute permissions, as for util-linux-2.12r and earlier, i.e., as SCRIPTS and not as DATA Signed-off-by: Peter Breitenlohner getopt/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit f7858f66f792c7862c28915fce467680e0f9c6b4 Author: Matthias Koenig Date: Wed Nov 21 16:46:33 2007 +0100 mount: fix fd leak Signed-off-by: Matthias Koenig mount/lomount.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 240e20b5a6cbfd12a9064fa451fd2075f2f41f6f Author: Karel Zak Date: Mon Nov 26 13:07:40 2007 +0100 swapon: cleanup usage output mount/swapon.c | 34 +++++++++++++++++++++++++--------- 1 files changed, 25 insertions(+), 9 deletions(-) commit 3c1e47c61f1308be6bebd42820e13058eceecd7e Author: Karel Zak Date: Wed Nov 21 02:38:25 2007 +0100 build-sys: cleanup disk-utils/Makefile.am (use $utils_common) Signed-off-by: Karel Zak disk-utils/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 16726585e35d458518d94980fa52a7d8435351bc Author: Matthias Koenig Date: Tue Nov 13 16:28:39 2007 +0100 mkfs.minix: device size cleanup Use blkdev_get_size() function and some size related cleanup. Signed-off-by: Matthias Koenig disk-utils/mkfs.minix.c | 50 +++++++++++++--------------------------------- 1 files changed, 14 insertions(+), 36 deletions(-) commit a28a3ad26de38d13eadd63836494e72cba85c260 Author: Matthias Koenig Date: Tue Nov 13 16:28:38 2007 +0100 mkfs.minix: add sectorsize check Minix filesystem until version 2 has a fixed blocksize of 1024 bytes. If you try to create a filsystem on a device with a physical sectorsize larger than 1024 bytes, this resulting minix fs cannot be mounted, because the physical sectorsize must be smaller than the filesystem blocksize. This patch adds a check for this and will refuse to create a filesystem if the sectorsize is bigger than the blocksize. Signed-off-by: Matthias Koenig disk-utils/Makefile.am | 4 +++- disk-utils/mkfs.minix.c | 12 ++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) commit 313c2fbe1fd5864ddaf78d1d253b0581aaaa2188 Author: Karel Zak Date: Wed Nov 21 01:46:57 2007 +0100 mount: don't call canonicalize(SPEC) for cifs, smbfs and nfs When calling "mount -t smbfs //foo/bar /mnt/foo", mount.smbfs will be called with /foo/bar if /foo/bar exists locally, and will display its usage. The patch also removes duplicate canonicalize() from mounted() function. Reported-By: Pascal Terjan Signed-off-by: Karel Zak mount/mount.c | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) commit 83617e73e79d21cb2edb9e1fb1852fda18db8975 Author: Karel Zak Date: Wed Nov 21 01:42:23 2007 +0100 tests: add ts-mount-noncanonical mount(8) shouldn't canonicalize SPEC path for cifs, smbfs, nfs, ... Signed-off-by: Karel Zak tests/Makefile.am | 9 ++++--- tests/expected/ts-mount-noncanonical | 2 + tests/ts-mount-noncanonical | 37 ++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 4 deletions(-) commit 6ada3e4e79954a3dfce7e8edfc810a81c7ddc85f Author: Pascal Terjan Date: Thu Nov 15 19:26:18 2007 +0100 mount: drop the part always true from a while condition Signed-off-by: Pascal Terjan mount/mount.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3288141d2fb653ab1fef1ec319f2de807eb8c1b9 Author: Karel Zak Date: Tue Nov 13 21:27:41 2007 +0100 po: update POTFILES.in Signed-off-by: Karel Zak po/POTFILES.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 54d8425bc7d9ecc3ee4c48e9d51026fd10cb8af1 Author: Matthias Koenig Date: Tue Nov 13 12:51:37 2007 +0100 build-sys: fix missing deps for swapon Signed-off-by: Matthias Koenig mount/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 6d028cfd00287213af8e704495fe0f133e999d18 Author: Gabor Kelemen Date: Mon Nov 12 11:48:10 2007 +0100 po: update hu.po (from translationproject.org) po/hu.po | 9849 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 9849 insertions(+), 0 deletions(-) commit 3bbc9320791e2768eb0ddda3823cb55ad63f79e1 Author: Samuel Thibault Date: Sun Nov 4 15:54:27 2007 +0000 build-sys: non-linux support Here is a patch that disables linux-specific tools on non-linux targets. Signed-Off-By: Samuel Thibault Signed-Off-By: Karel Zak Makefile.am | 10 +++++++--- configure.ac | 8 ++++++++ disk-utils/Makefile.am | 9 +++++++-- misc-utils/Makefile.am | 2 ++ sys-utils/Makefile.am | 17 ++++++++++++++--- 5 files changed, 38 insertions(+), 8 deletions(-) commit 7346930308bc92f51aeaaf329534830bdfeeee2b Author: Samuel Thibault Date: Sun Nov 4 16:39:36 2007 +0000 more: non-linux support Signed-Off-By: Samuel Thibault text-utils/more.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit 461311047bf28ea838ab63e5a5e5b2003af2f377 Author: Karel Zak Date: Thu Nov 8 00:54:58 2007 +0100 mount: use blkdev_get_size() Signed-off-by: Karel Zak mount/Makefile.am | 5 +++-- mount/fsprobe.c | 1 - mount/fsprobe_volumeid.c | 5 +++-- mount/linux_fs.h | 15 --------------- mount/mount.c | 32 ++++++++++---------------------- 5 files changed, 16 insertions(+), 42 deletions(-) commit 8a4a67b9f16d3f8dd89c7bf88fb3811b7c65f6d2 Author: Karel Zak Date: Thu Nov 8 00:27:51 2007 +0100 sfdisk: use get_linux_version() Signed-off-by: Karel Zak fdisk/sfdisk.c | 19 ++----------------- 1 files changed, 2 insertions(+), 17 deletions(-) commit 8505ff35cfc77f5f38aa0357c313aca99f0bda92 Author: Karel Zak Date: Wed Nov 7 21:25:48 2007 +0100 elvtune: use get_linux_version() Signed-off-by: Karel Zak disk-utils/Makefile.am | 1 + disk-utils/elvtune.c | 27 ++++----------------------- include/blkdev.h | 1 + 3 files changed, 6 insertions(+), 23 deletions(-) commit 88d52b16ce4df1113ccfd902675d86c395603043 Author: Karel Zak Date: Wed Nov 7 21:13:59 2007 +0100 mount: cleanup KERNEL_VERSION, remove my_dev_t.h Signed-off-by: Karel Zak mount/Makefile.am | 2 +- mount/loop.h | 16 ++++++++++++++-- mount/my_dev_t.h | 20 -------------------- 3 files changed, 15 insertions(+), 23 deletions(-) commit bc8b63833e499e82fc058ff6e93ba61755e2cbb3 Author: Karel Zak Date: Wed Nov 7 20:59:28 2007 +0100 blockdev: use lib/blkdev.c, fix --report This patch replaces duplicate code with blkdev_ functions from lib/blkdev.c. The patch also fix the output from "blockdev --report". The Size field was in 512-byte sectors instead in real size in bytes. Signed-off-by: Karel Zak disk-utils/Makefile.am | 1 + disk-utils/blockdev.c | 92 +++++------------------------------------------- 2 files changed, 10 insertions(+), 83 deletions(-) commit 810f986b42ff7ecc805d134ef32013c3343df31e Author: Karel Zak Date: Wed Nov 7 19:05:31 2007 +0100 fdisk: cleanup BLK* ioctls usage Signed-off-by: Karel Zak fdisk/Makefile.am | 3 +- fdisk/cfdisk.c | 3 +- fdisk/common.h | 21 ------------------- fdisk/disksize.c | 54 ------------------------------------------------- fdisk/fdisk.c | 47 +++++++++++------------------------------ fdisk/fdisksgilabel.c | 4 ++- fdisk/fdisksunlabel.c | 3 +- fdisk/gpt.c | 52 +++++++--------------------------------------- fdisk/partname.c | 25 ++++++++++++++++++++++ fdisk/sfdisk.c | 5 ++- 10 files changed, 58 insertions(+), 159 deletions(-) commit b7188e932e86137cacdf1ac74847d100b561c302 Author: Karel Zak Date: Wed Nov 7 13:46:34 2007 +0100 mkswap: cleanup kB vs. KiB usage in error messages mkswap(8) man page is talking about KiB (2^10), but the mkswap binary uses kB (10^3) in error messages. That's strange. Let's use KiB everywhere. Signed-off-by: Karel Zak disk-utils/mkswap.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) commit 54e377b38698f285e0c4aeef124912030cdb85fe Author: Karel Zak Date: Wed Nov 7 13:26:27 2007 +0100 mkswap: BLKGETSIZE cleanup Signed-off-by: Karel Zak disk-utils/Makefile.am | 2 +- disk-utils/mkswap.c | 20 ++++++-------------- 2 files changed, 7 insertions(+), 15 deletions(-) commit 3738a48e0889cf5d99353432bc9d425258e8e350 Author: Stefan Krah Date: Wed Nov 7 12:37:30 2007 +0100 lib: add blkdev.{c,h} Now we duplicate BLK* ioctls on many places... This patch also fix BLKGETSIZE64 usage in dependence on kernel version. Co-Author: Karel Zak Signed-off-by: Stefan Krah Signed-off-by: Karel Zak include/Makefile.am | 2 +- include/blkdev.h | 55 ++++++++++++++++++++++++++ lib/blkdev.c | 93 +++++++++++++++++++++++++++++++++++++++++++++ tests/helpers/Makefile.am | 6 ++- 4 files changed, 154 insertions(+), 2 deletions(-) commit 8023c83bd54670ede6ad7e4e940ab6d578414106 Author: Karel Zak Date: Tue Nov 6 02:40:49 2007 +0100 mkswap: linux_version() code consolidation Signed-off-by: Karel Zak disk-utils/Makefile.am | 2 +- disk-utils/mkswap.c | 23 ++++------------------- 2 files changed, 5 insertions(+), 20 deletions(-) commit 5d2c98e1df151739342f1d59a45ca316c2f85068 Author: Stefan Krah Date: Tue Nov 6 02:40:13 2007 +0100 lib: add linux_version.{c,h} Signed-off-by: Stefan Krah Signed-off-by: Karel Zak configure.ac | 3 ++- include/Makefile.am | 3 ++- include/linux_version.h | 14 ++++++++++++++ lib/linux_version.c | 25 +++++++++++++++++++++++++ 4 files changed, 43 insertions(+), 2 deletions(-) commit 6dbeda1aec98fa7795386861a9c799ce5f4e1590 Author: Lauri Nurmi Date: Tue Nov 6 01:35:42 2007 +0100 po: update fi.po (from translationproject.org) po/fi.po | 2157 ++++++++++++++++++++++++++------------------------------------ 1 files changed, 914 insertions(+), 1243 deletions(-) commit 30fee9564bd86074c512afd37ef4c510b728855d Author: Pascal Terjan Date: Sat Nov 3 11:55:52 2007 +0100 docs: fix ChangeLog URL Signed-off-by: Pascal Terjan NEWS | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 2e2d3ff6a3ac9d02c049c9187d64c10af468d3db Author: Benno Schulenberg Date: Tue Nov 6 00:26:59 2007 +0100 setarch: tweak the help text, and gettextize a forgotten message Signed-off-by: Benno Schulenberg sys-utils/setarch.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit bbc9abce3f981653b3dbb6b010188f079e8298fc Author: lizf Date: Thu Nov 1 17:14:52 2007 +0800 mkfs.cramfs: remove unused header file Remove including of assert.h Signed-off-by: Li Zefan disk-utils/mkfs.cramfs.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 2e71f7ad58d4d33814991b07f95905f738e0923e Author: Karel Zak Date: Tue Nov 6 01:05:27 2007 +0100 mount: remove MS_{REPLACE,AFTER,BEFORE,OVER} mount(8) and linux kernel don't support these mount flags. It's legacy from an unimplemented stuff. Signed-off-by: Karel Zak mount/mount.c | 25 +++---------------------- mount/mount_constants.h | 17 ----------------- 2 files changed, 3 insertions(+), 39 deletions(-) commit 934238cd25950ff5aa4a80b3e04e3d4e124003d4 Author: Randy Dunlap Date: Mon Oct 15 17:38:57 2007 -0700 sfdisk: cleanup 83 gcc warnings Fix strict gcc warnings that come from using: ("-Wall -Wp,-D_FORTIFY_SOURCE=2") 83 warnings fixed: sfdisk.c:249: warning: pointer targets in initialization differ in signedness sfdisk.c:376: warning: pointer targets in passing argument 1 of 'chars_to_ulong' differ in signedness sfdisk.c:702: warning: pointer targets in passing argument 1 of 'copy_to_int' differ in signedness sfdisk.c:703: warning: pointer targets in passing argument 1 of 'copy_to_int' differ in signedness sfdisk.c:1709: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness sfdisk.c:1709: warning: pointer targets in assignment differ in signedness sfdisk.c:1714: warning: pointer targets in passing argument 1 of 'index' differ in signedness sfdisk.c:1714: warning: pointer targets in assignment differ in signedness sfdisk.c:1719: warning: pointer targets in passing argument 1 of 'index' differ in signedness sfdisk.c:1719: warning: pointer targets in assignment differ in signedness sfdisk.c:1723: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:1723: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:1723: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:1723: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:1723: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:1723: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:1729: warning: pointer targets in passing argument 1 of 'index' differ in signedness sfdisk.c:1729: warning: pointer targets in assignment differ in signedness sfdisk.c:1739: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:1739: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:1739: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:1739: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:1739: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:1739: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:1739: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:1739: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness sfdisk.c:2021: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2021: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2021: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2021: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2021: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2021: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2059: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2059: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2059: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2059: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2059: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2059: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2061: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2061: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2061: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2061: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2061: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2061: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2063: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2063: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2063: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2063: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2063: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2063: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2065: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2065: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2065: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2065: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2065: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2065: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2067: warning: pointer targets in passing argument 1 of 'get_ul' differ in signedness sfdisk.c:2083: warning: pointer targets in passing argument 1 of 'get_ul' differ in signedness sfdisk.c:2096: warning: pointer targets in passing argument 1 of 'get_ul' differ in signedness sfdisk.c:2130: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2130: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2130: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2130: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2130: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2130: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2132: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2132: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2132: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2132: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2132: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2132: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2132: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2132: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2132: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness sfdisk.c:2132: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2132: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2132: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness sfdisk.c:2154: warning: pointer targets in passing argument 1 of 'get_ul' differ in signedness sfdisk.c:2155: warning: pointer targets in passing argument 1 of 'get_ul' differ in signedness sfdisk.c:2156: warning: pointer targets in passing argument 1 of 'get_ul' differ in signedness sfdisk.c:2167: warning: pointer targets in passing argument 1 of 'get_ul' differ in signedness sfdisk.c:2168: warning: pointer targets in passing argument 1 of 'get_ul' differ in signedness sfdisk.c:2169: warning: pointer targets in passing argument 1 of 'get_ul' differ in signedness Signed-off-by: Randy Dunlap Signed-off-by: Karel Zak fdisk/sfdisk.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) commit 36c1d79b570699f99b7d778db421a303772438ba Author: Randy Dunlap Date: Mon Oct 15 17:38:40 2007 -0700 script: cleanup gcc warnings Fix strict gcc warnings that come from using: ("-Wall -Wp,-D_FORTIFY_SOURCE=2") script.c:239: warning: ignoring return value of 'write', declared with attribute warn_unused_result script.c:330: warning: ignoring return value of 'write', declared with attribute warn_unused_result script.c:331: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result Signed-off-by: Randy Dunlap Signed-off-by: Karel Zak misc-utils/script.c | 31 ++++++++++++++++++++++++++----- 1 files changed, 26 insertions(+), 5 deletions(-) commit 0fa7180bcd256667ff5b45c681c2694400999111 Author: Randy Dunlap Date: Mon Oct 15 17:38:22 2007 -0700 more: cleanup gcc warnings Fix strict gcc warnings that come from using: ("-Wall -Wp,-D_FORTIFY_SOURCE=2") more.c:185: warning: passing argument 1 of 'setupterm' discards qualifiers from pointer target type more.c:205: warning: passing argument 1 of 'tparm' discards qualifiers from pointer target type more.c:812: warning: pointer targets in passing argument 2 of 'mbrtowc' differ in signedness more.c:931: warning: pointer targets in passing argument 2 of 'mbrtowc' differ in signedness more.c:1285: warning: pointer targets in passing argument 1 of 'ttyin' differ in signedness more.c:1486: warning: pointer targets in passing argument 1 of 'ttyin' differ in signedness more.c:1879: warning: pointer targets in passing argument 2 of 'mbrtowc' differ in signedness Signed-off-by: Randy Dunlap text-utils/more.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) commit 32f7216b4c480e140a035c92319e527120d26616 Author: Karel Zak Date: Fri Oct 26 00:55:36 2007 +0200 tests: use losetup -s Signed-off-by: Karel Zak tests/functions.sh | 4 +--- tests/ts-cramfs-mkfs | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) commit 8d26614050d6833fc668812ae1670e77e4582f92 Author: lizf Date: Mon Oct 22 11:27:15 2007 +0800 tailf: opened file leaving unclosed Signed-off-by: Li Zefan text-utils/tailf.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 122db55d605b66a4c6b74a86c9cb74dd9007c866 Author: lizf Date: Mon Oct 22 11:26:27 2007 +0800 blockdev: fix: opened file leaving unclosed Signed-off-by: Li Zefan disk-utils/blockdev.c | 4 ++++ disk-utils/isosize.c | 2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) commit 78917e48bb94130d479f5081f4b28383409047c3 Author: Karel Zak Date: Mon Oct 22 11:25:39 2007 +0800 sfdisk: opened files leaving unclosed Co-Author: Li Zefan Signed-off-by: Li Zefan Signed-off-by: Karel Zak fdisk/sfdisk.c | 113 +++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 72 insertions(+), 41 deletions(-) commit 40e147a933b0b0664ffd5b7081a6b367bbedd46e Author: Karel Zak Date: Thu Oct 25 22:10:07 2007 +0200 setterm: opened file leaving unclosed Co-Author: lizf Signed-off-by: Karel Zak misc-utils/setterm.c | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) commit f021834e225a9388d9006f5081b5d3e9017625f8 Author: Benno Schulenberg Date: Sat Sep 29 15:18:28 2007 +0200 agetty: ungettextize several debugging messages. Signed-off-by: Benno Schulenberg login-utils/agetty.c | 28 ++++++++++++++-------------- login-utils/shutdown.c | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) commit 6557c51226da131349beeee5c79d71129406f9a5 Author: Benno Schulenberg Date: Sat Sep 29 15:14:42 2007 +0200 docs: tweak a few messages for clarity Add a missing period, a missing space, a comma and a word for clarity, plus a period and an uppercase letter to match surrounding messages. Further add a missing call to gettext, and undo an unneeded linewrap. Signed-off-by: Benno Schulenberg disk-utils/mkswap.c | 6 +++--- fdisk/cfdisk.c | 2 +- fdisk/fdisk.c | 2 +- login-utils/chsh.c | 4 ++-- sys-utils/ipcs.c | 5 ++--- 5 files changed, 9 insertions(+), 10 deletions(-) commit 14f432797f3e14f8995fc358c605c9c59d27dd11 Author: Benno Schulenberg Date: Sat Sep 29 15:04:50 2007 +0200 cfdisk: slightly increase the size of menu buttons Signed-off-by: Benno Schulenberg fdisk/cfdisk.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit e9a48cde61710cbb050ca988e3ff71a262b30a1c Author: Benno Schulenberg Date: Sat Sep 29 15:02:28 2007 +0200 cfdisk: translate partition-type names when they are printed. Signed-off-by: Benno Schulenberg fdisk/cfdisk.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 8f5b978e531e7d02513334e3cbed018f7d24d98f Author: Alain Guibert Date: Mon Sep 24 12:57:22 2007 +0200 hwclock: do not create a zero adjfile When hwclock --hctosys is started very early during the system startup, with / still mounted read-only, and there was no /etc/adjtime file, hwclock fails creating a default adjfile full of zeroes, and prints an error message. I believe that such zero adjfile is not necessary, because it means exactly the same as no adjfile at all. The attached patch prevents creation of a zero adjfile, of course unless something gets changed (this never happens during a --hctosys). Signed-off-by: Alain Guibert hwclock/hwclock.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 2368077223fa5800cf88659c9c57a7f6517f3fad Author: Karel Zak Date: Tue Sep 11 14:35:34 2007 +0200 mount: prevent loop mounting the same file twice The mount syscall prevents mounting the same device twice to the same mountpoint. When loop mounting a file, for each file a new loop device gets allocated, which prevents the detection of loop mounting the same file to the same mountpoint twice. The patch adds a check to prevent double mounts, if the same loopfile is going to be mounted with the same offset to the same mountpoint. Co-Author: Matthias Koenig Signed-off-by: Matthias Koenig Signed-off-by: Karel Zak mount/lomount.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- mount/lomount.h | 3 ++ mount/mount.c | 51 +++++++++++++++++++++++++- 3 files changed, 159 insertions(+), 3 deletions(-) commit bfdb8be5c49d8fadb25118fb4416ab2a68fc3a16 Author: Karel Zak Date: Thu Oct 25 12:29:51 2007 +0200 losetup: canonicalize loopfile name When setting up a loop device, canonicalize the loop file name. This simplifies a later identification of loop file names when querying the loop devices. Co-Author: Matthias Koenig Signed-off-by: Matthias Koenig Signed-off-by: Karel Zak mount/Makefile.am | 4 ++-- mount/lomount.c | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) commit 0e7cd33ef2d2e6307c5f647f0434e54bcc0f62e2 Author: Karel Zak Date: Thu Oct 25 12:10:31 2007 +0200 losetup: fix errno usage Signed-off-by: Karel Zak mount/lomount.c | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) commit fffe39059d5a04811412388ec25d8aaa32d7844f Author: Li Zefan Date: Mon Sep 10 14:45:37 2007 +0800 rev: use warn() in errs.h The function warn() in rev.c is actually duplicate code, so here we remove it. Signed-off-by: Li Zefan Signed-off-by: Karel Zak text-utils/rev.c | 29 ++++++++--------------------- 1 files changed, 8 insertions(+), 21 deletions(-) commit bae1150386846d488a372e38557a152263bae8d3 Author: Karel Zak Date: Thu Oct 25 10:49:53 2007 +0200 swapon: cleanup usage() Signed-off-by: Karel Zak mount/swapon.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) commit be551c7282fe74aca5a07dc6b2ce49ecbea48c90 Author: Karel Zak Date: Thu Oct 25 10:39:23 2007 +0200 mount: clean up global variables Signed-off-by: Karel Zak mount/fstab.c | 4 ---- mount/lomount.c | 5 ----- mount/lomount.h | 1 - mount/mount.c | 11 +++-------- mount/sundries.c | 2 ++ mount/sundries.h | 4 ++-- mount/swapon.c | 5 ++--- mount/umount.c | 5 ----- 8 files changed, 9 insertions(+), 28 deletions(-) commit 0b994f0e9355e43228301ec3cdaaee93149baa77 Author: Karel Zak Date: Thu Oct 25 10:19:12 2007 +0200 losetup: remove duplicate xstrdup() and error() Signed-off-by: Karel Zak mount/Makefile.am | 3 ++- mount/lomount.c | 33 ++------------------------------- 2 files changed, 4 insertions(+), 32 deletions(-) commit 26f95c7da28d94f663566e9d2132d4c71a1af098 Author: Karel Zak Date: Thu Oct 25 10:12:51 2007 +0200 mount: cleanup error() and die() * moves error() and die() to sundries.h * removes at_die * adds __attribute__ ((__format__ (__printf__ ))) Signed-off-by: Karel Zak mount/fstab.c | 1 - mount/mount.c | 3 --- mount/sundries.c | 15 +++++++++++++++ mount/sundries.h | 11 +++++++---- mount/swapon.c | 1 - mount/umount.c | 2 -- mount/xmalloc.c | 18 ------------------ mount/xmalloc.h | 8 ++++---- 8 files changed, 26 insertions(+), 33 deletions(-) commit ab9dd9385c1c517477b0cc6362fdbff763b61b6c Author: Karel Zak Date: Sat Nov 24 17:55:57 2007 +0100 umount: use atexit() rather than (*at_die)() Signed-off-by: Karel Zak mount/umount.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit dd93df35b5978342d6f9330fa3bb93914bbb7a51 Author: Karel Zak Date: Tue Oct 23 21:14:59 2007 +0200 mount: use atexit() rather than (*at_die)() Signed-off-by: Karel Zak mount/fstab.c | 2 -- mount/mount.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) commit 552aff4d1ae77210c2fc234629ba28c0744be9bc Author: Karel Zak Date: Tue Oct 23 20:45:22 2007 +0200 mount: remove redundant fflush Signed-off-by: Karel Zak mount/fsprobe.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) commit 89fde75b38cf8c99c1cc5c6b6c206de521e551f4 Author: Karel Zak Date: Mon Oct 22 15:49:26 2007 +0200 mount: cleanup canonicalize() usage This patch renames canonicalize() to canonicalize_mountpoint() and moves this function to realpath.c where is all cannonicalize code. The canonicalize_mountpoint() function checks for special "none", "proc", "swap" pseudo mointpoint. The patch also adds a new generic canonicalize() function. Signed-off-by: Karel Zak mount/fsprobe.c | 1 + mount/fstab.c | 9 ++++++--- mount/mount.c | 5 +++-- mount/realpath.c | 32 ++++++++++++++++++++++++++++++++ mount/realpath.h | 2 ++ mount/sundries.c | 25 ------------------------- mount/sundries.h | 1 - mount/umount.c | 1 + 8 files changed, 45 insertions(+), 31 deletions(-) commit 102cb99e47eaed5ab86250c86268c5645f25f7cc Author: Karel Zak Date: Mon Oct 22 10:47:46 2007 +0200 docs: add info about .bugfix releases and branches Signed-off-by: Karel Zak README | 3 ++- README.devel | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) commit 71bf78844425d228de76db36c2f97e542c4c54fe Author: KaiGai Kohei Date: Mon Oct 22 10:30:19 2007 +0200 mkswap: possible to crash with SELinux relabeling support When fgetfilecon() is failed with -ENODATA, this process does not exit. However, "oldcontext" is not initialized in this case, so context_new() will be called with uninitialized "oldcontext" at the next. Finally, it makes a segmentation fault, because context_new() have to refer an incorrect memory region. The attached patch fixes this matter using matchpathcon(). If we cannot obtain actual file context due to -ENODATA, a context which is returned by matchpathcon() is applied as oldcontext. Then, the type of the context is relabeled to "swapfile_t" explicitly. Signed-off-by: KaiGai Kohei Signed-off-by: Karel Zak disk-utils/mkswap.c | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) commit 294940de300c20050aa80bf1511d7642a9bf4792 Author: Karel Zak Date: Thu Oct 18 15:07:07 2007 +0200 build-sys: add v2.14 to NEWS Signed-off-by: Karel Zak NEWS | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit c5f671113b0b66bf4dda6a8a3b1231e2b534682f Author: Karel Zak Date: Mon Oct 15 15:08:31 2007 +0200 build-sys: remove errs.h Signed-off-by: Karel Zak include/Makefile.am | 2 +- include/errs.h | 125 --------------------------------------------------- 2 files changed, 1 insertions(+), 126 deletions(-) commit f018b8f899eeef7ef9cb56ec3b58cac5cd04f12d Author: Karel Zak Date: Thu Oct 18 14:52:46 2007 +0200 tailf: replace errs.h with libc err.h Signed-off-by: Karel Zak text-utils/tailf.c | 34 +++++++++++++--------------------- 1 files changed, 13 insertions(+), 21 deletions(-) commit 389afa3f9bb465701ba03cdd2f397f8792f62bb6 Author: Karel Zak Date: Mon Oct 15 13:41:18 2007 +0200 setarch: generate groff links in a better way Signed-off-by: Karel Zak sys-utils/Makefile.am | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) commit 14563c194ef8ba09e18f7745383dcc7398e9781c Author: Karel Zak Date: Mon Oct 15 15:07:05 2007 +0200 cal: replace errs.h with libc err.h Signed-off-by: Karel Zak misc-utils/cal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e42dd65bc33ee81b057ae63b98b2ff66032179f2 Author: Karel Zak Date: Mon Oct 15 15:04:41 2007 +0200 column: replace errs.h with libc err.h Signed-off-by: Karel Zak text-utils/column.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 0f584b78fe26b0977f470088ae7d74511630aa66 Author: Karel Zak Date: Mon Oct 15 14:51:28 2007 +0200 mesg: replace errs.h with libc err.h Signed-off-by: Karel Zak login-utils/mesg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 66ed63a1fea52ffe20ff21d0605aefe640375082 Author: Karel Zak Date: Mon Oct 15 14:17:14 2007 +0200 build-sys: add err.h check Signed-off-by: Karel Zak configure.ac | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit ec3f45d33cc431832a4e5a49848b613fb2b6ecc3 Author: Karel Zak Date: Fri Oct 12 00:33:01 2007 +0200 tests: fix blkid cache usage Signed-off-by: Karel Zak tests/functions.sh | 30 ++++++++++++++++++++---------- tests/ts-cramfs-mkfs | 2 ++ 2 files changed, 22 insertions(+), 10 deletions(-) commit 031a4a7ab1b8ebab2f88f41bc98965855dbd1c62 Author: Karel Zak Date: Thu Oct 11 16:18:29 2007 +0200 mount: -L|-U segfault when label or uuid doesn't exist # mount -L foo Segmentation fault mount(8) calls strcmp() with NULL argument. Signed-off-by: Karel Zak mount/mount.c | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) commit fb241307d6150533d005245a03f35b152bee1c01 Author: Karel Zak Date: Thu Oct 11 14:52:40 2007 +0200 tests: exactly define a time format in ls -l output Signed-off-by: Karel Zak tests/expected/ts-cramfs-mkfs | 2664 ++++++++++++++++++++-------------------- tests/ts-cramfs-mkfs | 2 +- 2 files changed, 1333 insertions(+), 1333 deletions(-) commit 36aa1580900d3de51383e5c003a535adfccd9a4c Author: Karel Zak Date: Thu Oct 11 14:31:41 2007 +0200 po: fix typo in de.po de.po:9010: internationalized messages should not contain the `\r' escape sequence Signed-off-by: Karel Zak po/de.po | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit de6bd3e8f10a1c1eeec36b2ee636fc820f902f3e Author: Karel Zak Date: Thu Oct 11 14:30:01 2007 +0200 po: update po files Signed-off-by: Karel Zak po/ca.po | 816 ++++++++++++++------------ po/cs.po | 820 +++++++++++++++------------ po/da.po | 815 ++++++++++++++------------ po/de.po | 1582 +++++++++++++++++++++++++++++++------------------- po/es.po | 811 ++++++++++++++------------ po/et.po | 790 ++++++++++++++----------- po/fi.po | 815 ++++++++++++++------------ po/fr.po | 815 ++++++++++++++------------ po/id.po | 812 ++++++++++++++------------ po/it.po | 811 ++++++++++++++------------ po/ja.po | 791 ++++++++++++++----------- po/nl.po | 1463 ++++++++++++++++++++++++++++------------------ po/pt_BR.po | 792 ++++++++++++++----------- po/ru.po | 812 ++++++++++++++------------ po/sl.po | 813 ++++++++++++++------------ po/sv.po | 1441 ++++++++++++++++++++++++++++------------------ po/tr.po | 815 ++++++++++++++------------ po/uk.po | 815 ++++++++++++++------------ po/util-linux-ng.pot | 769 ++++++++++++++----------- po/vi.po | 820 +++++++++++++++------------ 20 files changed, 10362 insertions(+), 7856 deletions(-) commit dd12a5b9cbf9b55b91ab6f09af0eb8b8a5d21da9 Author: Karel Zak Date: Thu Oct 11 14:27:08 2007 +0200 rtcwake: fix typo Signed-off-by: Karel Zak sys-utils/rtcwake.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d7a92b89944d16410c03bfc58f360f783cc435c4 Author: Pádraig Brady Date: Tue Oct 2 00:22:45 2007 +0100 cal: add support for highlighting an arbitrary date This is done by calling cal with the extra day parameter like: cal 14 9 1752 Note the tests were updated to use the new syntax. Note also that this patch changes the -y option to always print a full year, even if a month or the -[13] options are specified. This matches the cal operation from bsdmainutils on debian and also allows one to print a full year while highlighting a particular date. Signed-off-by: Pádraig Brady TODO | 2 - misc-utils/Makefile.am | 6 ----- misc-utils/cal.1 | 4 ++- misc-utils/cal.c | 49 +++++++++++++++++++++++++++-------------------- tests/commands.sh.in | 1 - tests/ts-cal-1 | 18 ++++++++-------- tests/ts-cal-3 | 18 ++++++++-------- tests/ts-cal-y | 18 ++++++++-------- 8 files changed, 58 insertions(+), 58 deletions(-) commit cf9fc1dfe5432e63554b7ba192938984ddf61c4a Author: Li Zefan Date: Thu Oct 11 13:57:35 2007 +0200 tailf: add option -n to specifying output lines It will be useful if we can print out the last n lines instead of the last 10, just like tail. There are examples: tailf -n 5 file1 tailf --lines 10 file2 tailf -20 file3 Signed-off-by: Li Zefan Signed-off-by: Karel Zak text-utils/tailf.1 | 14 +++++++++----- text-utils/tailf.c | 32 +++++++++++++++++++++++++++----- 2 files changed, 36 insertions(+), 10 deletions(-) commit 642035150ec8fcb76244cf8475c5efdc7541760d Author: Karel Zak Date: Wed Oct 3 14:15:03 2007 -0700 tailf: clean up gcc warnings & fix use of errno Fix strict gcc warnings in tailf that come from using: ("-Wall -Wp,-D_FORTIFY_SOURCE=2") tailf.c:111: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result Also, tailf uses perror() for error reporting, but it inserts an fprintf call first, so perror() is actually reporting the result of the fprintf() call, not the failing call; change the code to print the message by using strerror() instead. Builds cleanly on x86_32 and x86_64. Signed-off-by: Randy Dunlap Signed-off-by: Karel Zak text-utils/tailf.c | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) commit 830d6af09972a79ae7a6786afcb567d9d2cd5d24 Author: Randy Dunlap Date: Mon Oct 8 09:59:18 2007 -0700 losetup: clean up gcc warnings Fix strict gcc warnings that come from using: ("-Wall -Wp,-D_FORTIFY_SOURCE=2") lomount.c:98: warning: pointer targets in initialization differ in signedness lomount.c:111: warning: format '%04x' expects type 'unsigned int', but argument 4 has type '__kernel_old_dev_t' lomount.c:300: warning: pointer targets in passing argument 1 of 'xstrncpy' differ in signedness lomount.c:307: warning: pointer targets in passing argument 1 of '__builtin___snprintf_chk' differ in signedness lomount.c:339: warning: pointer targets in passing argument 1 of 'xstrncpy' differ in signedness Signed-off-by: Randy Dunlap mount/lomount.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit bc8572a27677688ec4c5040971140988c42af5fa Author: Karel Zak Date: Thu Oct 11 12:45:53 2007 +0200 setterm: dump by TIOCLINUX is deprecated since linux 1.1.92. Signed-off-by: Karel Zak misc-utils/setterm.c | 35 ++++++----------------------------- 1 files changed, 6 insertions(+), 29 deletions(-) commit 1d88206de601ee7dda951ee5cdf70fbaa57cd337 Author: Benno Schulenberg Date: Thu Oct 11 11:59:48 2007 +0200 po: update nl.po (from translationproject.org) po/nl.po | 769 +++++++++++++++++++++----------------------------------------- 1 files changed, 259 insertions(+), 510 deletions(-) commit 4449e12f5a4402f399eb0309ec0ed23dc09be17a Author: Karel Zak Date: Wed Oct 3 14:15:18 2007 -0700 mount: improve chmod & chown usage and clean up gcc warnings (fstab.c) Fix strict gcc warnings in tailf that come from using: ("-Wall -Wp,-D_FORTIFY_SOURCE=2") fstab.c:770: warning: ignoring return value of 'chown', declared with attribute warn_unused_result The patch makes chmod() and chown() mandatory. We cannot rename() temporary mtab to the final mtab when owner is not the same user as owner of the original mtab. It's security risk. Signed-off-by: Randy Dunlap Signed-off-by: Karel Zak mount/fstab.c | 38 +++++++++++++++++++++++++++----------- 1 files changed, 27 insertions(+), 11 deletions(-) commit 3c7c38e1b318b584887eb579a1160bddcae39646 Author: Randy Dunlap Date: Sat Sep 29 01:12:06 2007 -0700 mkfs.cramfs: clean up gcc warnings * clean up code, gcc warnings (try compilation with "-Wall -Wp,-D_FORTIFY_SOURCE=2") Builds cleanly on x86_32 and x86_64. mkfs.cramfs.c:211: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness mkfs.cramfs.c:336: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'size_t' mkfs.cramfs.c:355: warning: pointer targets in assignment differ in signedness mkfs.cramfs.c:448: warning: pointer targets in passing argument 1 of '__builtin___strncpy_chk' differ in signedness mkfs.cramfs.c:448: warning: pointer targets in passing argument 1 of '__strncpy_ichk' differ in signedness mkfs.cramfs.c:450: warning: pointer targets in passing argument 1 of '__builtin___strncpy_chk' differ in signedness mkfs.cramfs.c:450: warning: pointer targets in passing argument 1 of '__strncpy_ichk' differ in signedness mkfs.cramfs.c:490: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness mkfs.cramfs.c:620: warning: pointer targets in passing argument 1 of 'compress' differ in signedness mkfs.cramfs.c:620: warning: pointer targets in passing argument 3 of 'compress' differ in signedness mkfs.cramfs.c:671: warning: pointer targets in passing argument 3 of 'do_compress' differ in signedness mkfs.cramfs.c:824: warning: format '%Ld' expects type 'long long int', but argument 4 has type 'loff_t' mkfs.cramfs.c:872: warning: format '%d' expects type 'int', but argument 3 has type 'ssize_t' mkfs.cramfs.c:880: warning: format '%d' expects type 'int', but argument 3 has type 'ssize_t' mkfs.cramfs.c:885: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' mkfs.cramfs.c:889: warning: pointer targets in passing argument 2 of 'crc32' differ in signedness mkfs.cramfs.c:896: warning: format '%Ld' expects type 'long long int', but argument 4 has type 'loff_t' mkfs.cramfs.c:896: warning: format '%d' expects type 'int', but argument 5 has type 'ssize_t' mkfs.cramfs.c:909: warning: format '%d' expects type 'int', but argument 4 has type 'ssize_t' mkfs.cramfs.c:909: warning: format '%d' expects type 'int', but argument 5 has type 'ssize_t' Co-Author: Karel Zak Signed-off-by: Randy Dunlap Signed-off-by: Karel Zak disk-utils/mkfs.cramfs.c | 49 +++++++++++++++++++++++---------------------- 1 files changed, 25 insertions(+), 24 deletions(-) commit 669eecf38b5d2c4315b79f7daca18b4aec3b8a61 Author: Karel Zak Date: Thu Oct 11 00:22:38 2007 +0200 docs: add a note about minix v3 to TODO file Signed-off-by: Karel Zak TODO | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) commit 7647936541a6215f600567469bf78fd123e87403 Author: Randy Dunlap Date: Mon Oct 8 12:15:25 2007 -0700 mount: clean up gcc warnings (mount_mntent.c) Fix gcc warnings from: (try compilation with "-Wall -Wp,-D_FORTIFY_SOURCE=2") mount_mntent.c:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness mount_mntent.c:129: warning: pointer targets in passing argument 1 of 'mangle' differ in signedness mount_mntent.c:130: warning: pointer targets in passing argument 1 of 'mangle' differ in signedness mount_mntent.c:131: warning: pointer targets in passing argument 1 of 'mangle' differ in signedness mount_mntent.c:132: warning: pointer targets in passing argument 1 of 'mangle' differ in signedness Signed-off-by: Randy Dunlap mount/mount_mntent.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e30cb0ed72c2545ae873964b324a7f68211eb88f Author: Randy Dunlap Date: Sat Sep 29 01:11:29 2007 -0700 mkfs.minix: clean up gcc warnings * clean up code, gcc warnings (try compilation with "-Wall -Wp,-D_FORTIFY_SOURCE=2") Builds cleanly on x86_32 and x86_64. mkfs.minix.c:595: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result Signed-off-by: Randy Dunlap Signed-off-by: Karel Zak disk-utils/mkfs.minix.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 03f0d3e9f5ac49f73f70b6d48e497063cfa7a472 Author: Randy Dunlap Date: Wed Oct 3 14:15:32 2007 -0700 swapon: clean up gcc warnings Fix strict gcc warnings in tailf that come from using: ("-Wall -Wp,-D_FORTIFY_SOURCE=2") swapon.c:102: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result Builds cleanly on x86_32 and x86_64. Signed-off-by: Randy Dunlap Signed-off-by: Karel Zak mount/swapon.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) commit a201bfdc7dd0c59a5e60718585bcdae493b3c53c Author: Michael Piefel Date: Fri Oct 5 12:43:51 2007 +0200 po: update de.po (from translationproject.org) po/de.po | 916 +++++++++++++++++++++----------------------------------------- 1 files changed, 307 insertions(+), 609 deletions(-) commit 2b8bbb5fb0f024ea3917fedbbbaf0fab1c1f6555 Author: Karel Zak Date: Fri Oct 5 12:22:13 2007 +0200 script: dies on SIGWINCH The "doinput" process doesn't make a difference between SIGWINCH and SIGCHILD. This process also sends unnecessary SIGWINCH to child (the signal is ignored by child). Fixed. Signed-off-by: Karel Zak misc-utils/script.c | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) commit f92dc20fcb9bb9f15ac95e0e3d6ae96ecfb59619 Author: Karel Zak Date: Thu Oct 4 15:07:30 2007 +0200 mount: cleanup "none" fstype usage * disable to call /sbin/mount.none * rewrite fstype to "none" for MS_BIND and MS_MOVE * add notes about "none" to fstab.5 and mount.8 Signed-off-by: Karel Zak mount/fstab.5 | 3 +++ mount/mount.8 | 5 +++++ mount/mount.c | 9 ++++++--- mount/umount.c | 5 ++++- 4 files changed, 18 insertions(+), 4 deletions(-) commit a6d35e6d68b18184deae0226b99f41b958049666 Author: Karel Zak Date: Thu Oct 4 14:14:58 2007 +0200 rtcwake: fix verbose message Just make NLS transtalors more happy. (rh#292081) Signed-off-by: Karel Zak sys-utils/rtcwake.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 4a6964c83942898ed671282e5fc6265b7d64df9c Author: Karel Zak Date: Thu Oct 4 00:22:36 2007 +0200 chfn: add pam_end() call and cleanup PAM code Signed-off-by: Karel Zak login-utils/chfn.c | 55 ++++++++++++++++++++++++++++++--------------------- 1 files changed, 32 insertions(+), 23 deletions(-) commit f41aff5a6799299f04989c1b9a89c43018aecb1a Author: Yu Zhiguo Date: Thu Sep 6 14:28:49 2007 +0800 chsh: should use pam_end function to terminate the PAM transaction chsh will use PAM transaction if macros 'REQUIRE_PASSWORD' and 'HAVE_SECURITY_PAM_MISC_H' are defined, but there is no pam_end function be used when the PAM transaction be terminated. This patch also cleanup PAM code in chsh(1). Signed-off-by: Yu Zhiguo Co-Author: Karel Zak Signed-off-by: Karel Zak login-utils/chsh.c | 57 ++++++++++++++++++++++++++++++--------------------- 1 files changed, 33 insertions(+), 24 deletions(-) commit 8c6c72bfe3c09250b4f5f4e044755b000c2c55de Author: Jim Meyering Date: Tue Sep 25 14:25:41 2007 +0200 cal: avoid -Wformat warnings Avoid this warning from gcc -Wformat: "format not a string literal and no format arguments". Signed-off-by: Jim Meyering misc-utils/cal.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 5f8416478da8652d0c5ac7ecefeeb7cc11e1c6fa Author: Randy Dunlap Date: Sat Sep 29 01:11:47 2007 -0700 fsck.cramfs: clean up gcc warnings * clean up code, gcc warnings (try compilation with "-Wall -Wp,-D_FORTIFY_SOURCE=2") Builds cleanly on x86_32 and x86_64. fsck.cramfs.c:235: warning: ignoring return value of 'read', declared with attribute warn_unused_result Signed-off-by: Randy Dunlap disk-utils/fsck.cramfs.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 2b00dd6d5491c31434e08434844d068e2aca5f0d Author: Rajeev V. Pillai Date: Wed Oct 3 22:39:27 2007 +0200 pg: fix segfault on search Run pg(1) and type '/' which is supposed to forward search for the previously remembered search string. pg(1) will segfault after printing "No remembered search string:". Signed-off-by: Rajeev V. Pillai Signed-off-by: Karel Zak disk-utils/mkfs.cramfs.c | 2 +- text-utils/pg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 0901c3a4670b8d32c2668b1612cc0fad2a33ce14 Author: LaMont Jones Date: Fri Sep 21 22:38:32 2007 -0600 setarch: fix compiler warning NULL is not 0L. It's (void*)0. Passing that as a parameter to a function that takes an unsigned long results in a warning about the lack of a cast. Signed-off-by: LaMont Jones sys-utils/setarch.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ebbeb2c7ac1b00b6083905957837a271e80b187e Author: Ludwig Nussel Date: Thu Sep 20 14:57:20 2007 +0200 mount: doesn't drop privileges properly when calling helpers {,u}mount calls setuid() and setgid() in the wrong order and doesn't checking the return value of set{u,g}id(() when running helpers like mount.nfs. Signed-off-by: Ludwig Nussel Signed-off-by: Karel Zak mount/mount.c | 8 ++++++-- mount/umount.c | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) commit e72194e6204dc161ad2c08d3fd24c7f2c148b2df Author: Daniel Nylander Date: Sun Sep 23 21:30:30 2007 +0200 po: update sv.po (from translationproject.org) po/sv.po | 747 +++++++++++++++++++++----------------------------------------- 1 files changed, 250 insertions(+), 497 deletions(-) commit d3bb3bc854d0f1ed58ac0f510af6ec38b148fb8e Author: Karel Zak Date: Sun Sep 23 21:22:54 2007 +0200 docs: update TODO file Signed-off-by: Karel Zak TODO | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 52 insertions(+), 15 deletions(-) commit e797d83232802cf439b2ed893e784d3636357349 Author: Karel Zak Date: Fri Sep 21 00:34:30 2007 +0200 login: login segfaults on EOF (rh#298461) Stupid bug in audit code: $ login login: ^D login: ^D Segmentation fault Signed-off-by: Karel Zak login-utils/login.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit cd66291bde4db0862d3988abb98862cf2216cca3 Author: Karel Zak Date: Thu Sep 20 14:33:31 2007 +0200 ionice: add a note about permissions to ionice.1 Signed-off-by: Karel Zak schedutils/ionice.1 | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 5d1f6bae3b298809ecd63b3e55f6ab30caaa4dbf Author: Matthias Koenig Date: Thu Sep 20 11:11:18 2007 +0200 hwclock: fix --rtc option The --rtc option does not set the name of the device correctly. It still uses /dev/rtc even if the --rtc option is given. Testcase: $ mv /dev/rtc /dev/foo $ hwclock --show --debug --rtc=/dev/foo hwclock from util-linux-2.13-rc2 Using /dev interface to clock. Last drift adjustment done at 1190198135 seconds after 1969 Last calibration done at 1190198135 seconds after 1969 Hardware clock is on local time Assuming hardware clock is kept in local time. Waiting for clock tick... hwclock: open() of /dev/rtc failed, errno=2: No such file or directory. ...got clock tick Co-Author: Karel Zak Signed-off-by: Matthias Koenig Signed-off-by: Karel Zak hwclock/rtc.c | 33 +++++++++++++++------------------ 1 files changed, 15 insertions(+), 18 deletions(-) commit bf928360f292178c498aa6c87b5614bbd28feaed Author: Karel Zak Date: Thu Sep 20 00:57:01 2007 +0200 build-sys: remove hardcoded _GNU_SOURCE We have AC_GNU_SOURCE, so we needn't any extra hardcoded _GNU_SOURCE. Signed-off-by: Karel Zak disk-utils/fsck.cramfs.c | 1 - schedutils/chrt.c | 2 -- schedutils/taskset.c | 2 -- sys-utils/setarch.c | 4 ---- 4 files changed, 0 insertions(+), 9 deletions(-) commit db8a3e23c72c13c676e1f66c797493877d787cc8 Author: Karel Zak Date: Thu Sep 20 00:23:07 2007 +0200 namei: cleanup tailing white-spaces Signed-off-by: Karel Zak misc-utils/namei.c | 31 +++++++++++++++---------------- 1 files changed, 15 insertions(+), 16 deletions(-) commit 72065909ccd29cd3c7c3105c95ba2434db304552 Author: Mike Frysinger Date: Fri Sep 7 16:55:36 2007 +0200 build-sys: unify method for checking system calls and fallback handling Co-Author: Stepan Kasal Signed-off-by: Mike Frysinger Signed-off-by: Stepan Kasal configure.ac | 83 +++++++++++++++++++++++++++++++++++++++-------- schedutils/Makefile.am | 11 +++++- schedutils/ionice.c | 32 ------------------ 3 files changed, 78 insertions(+), 48 deletions(-) commit 8b7f16fc375a0314fe4d45c591706538a2c65871 Author: Mike Frysinger Date: Thu Sep 6 20:30:16 2007 -0400 build-sys: nls/locale handling in util-linux-ng general On Monday 03 September 2007, Karel Zak wrote: > http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/590/focus=592 > > I agree that we need a better support for compilation without > locales, but from my point of view NLS != all locales stuff. The NLS > support is subset only. thinking about the input from everyone, i'd propose the attached ... Only pull in locale.h as needed and move it to the common nls.h. Signed-off-by: Mike Frysinger configure.ac | 1 + include/nls.h | 8 +++++++- misc-utils/cal.c | 1 - misc-utils/look.c | 1 - misc-utils/write.c | 1 - text-utils/colrm.c | 2 +- text-utils/more.c | 1 - text-utils/pg.c | 2 -- 8 files changed, 9 insertions(+), 8 deletions(-) commit 45be3f7d8dd87cb957ddd1c432c094cbe511bbfa Author: Li Zefan Date: Mon Sep 10 17:25:10 2007 +0800 blockdev: add missing description about option --report in manpage The manpage does not mention the option --report. Signed-off-by: Li Zefan disk-utils/blockdev.8 | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit f062c8a69a4ebae1f3b24da6fb2be1cc51a69f7c Author: Li Zefan Date: Mon Sep 10 16:20:48 2007 +0800 namei: add to identify FIFO (named pipe) and update manpage namei can't identify FIFO, and it will complain that it's an unknown type. Signed-off-by: Li Zefan misc-utils/namei.1 | 1 + misc-utils/namei.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 0 deletions(-) commit 8df90dec2bfd8c876ddd4cea010f40550d4e24aa Author: Karel Zak Date: Tue Sep 4 15:45:10 2007 +0800 setarch: add long options to setarch and update manpage Co-Author: Li Zefan Signed-off-by: Li Zefan Signed-off-by: Karel Zak sys-utils/setarch.8 | 22 ++++---- sys-utils/setarch.c | 143 ++++++++++++++++++++++++++++++++------------------- 2 files changed, 102 insertions(+), 63 deletions(-) commit d8e1628872da73a36c2dc387bfea568ec818945e Author: Karel Zak Date: Wed Sep 5 11:55:50 2007 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit edd867fac28720d4d9a7c05cc110dcf63a57b255 Author: Pascal Terjan Date: Tue Sep 4 00:10:16 2007 +0200 fdisk: doing useless ioctl when editing an image When editing a disk image, fdisk wants to ask the kernel to reread the partition table which is useless and provokes an error, a wrong exit code and some waiting. This annoys me as I can't check the return code in my script and because I have to wait a few seconds each time. This trivial patch makes it only do the ioctl on block devices. It also simplifies code by dropping some workaround for kernel 1.2.x Signed-off-by: Pascal Terjan fdisk/fdisk.c | 23 ++++++++--------------- 1 files changed, 8 insertions(+), 15 deletions(-) commit 2a45745f599e695f455b3a52dad6f30b77ef00a8 Author: Li Zefan Date: Tue Sep 4 15:33:36 2007 +0800 rename: add description about option -V to manpage Signed-off-by: Li Zefan misc-utils/rename.1 | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit 14608fdff0872f9043a74c3016186f497769d8d9 Author: Li Zefan Date: Tue Sep 4 15:20:25 2007 +0800 rename: remove useless variable The number of files successfully renamed is calculated and stored in variable ct, > but actually the variable is not used afterwards. Signed-off-by: Li Zefan misc-utils/rename.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit baeec9ff03d42dbcd650fc750cb57030a1adffdf Author: LaMont Jones Date: Tue Aug 28 15:56:41 2007 -0600 build-sys: remove files that are no longer delivered from git Neither mount/h/swap.h nor mount/mount.smbfs is delivered as part of util-linux-ng tar archives. As such, they should not be in git either. Signed-off-by: LaMont Jones mount/h/swap.h | 5 ---- mount/mount.smbfs | 68 ----------------------------------------------------- 2 files changed, 0 insertions(+), 73 deletions(-) commit 14b22761a01ec6728666dd369d4eb9cf4d82c026 Author: Li Zefan Date: Mon Sep 3 14:25:40 2007 +0800 cal: add description about option -V to manpage cal support option -V to display version information, but the manpage doesn't mention it. Signed-off-by: Li Zefan misc-utils/cal.1 | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit a9d6150d12b368820a98cb26ec0d9f76fa4f0905 Author: Norbert Buchmuller Date: Sun Sep 2 14:08:53 2007 -0600 mount: chain of symlinks to fstab causes use of pointer after free Looking at the source in 'mount/realpath.c' we find that when dealing with the second or later symlink in the chain, a memory block was free()d before copying its contents to a newly allocated block. mount/realpath.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit 63038035f30f89f3c58e2a663daeb2a4d6d8f665 Author: Arkadiusz Miskiewicz Date: Tue Aug 28 09:16:57 2007 +0200 setarch: adding groff symlinks to setarch manual page Signed-off-by: Arkadiusz Miskiewicz sys-utils/Makefile.am | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit e5924b375c5ab1dcb535317359c2cf3ed9e20bd0 Author: LaMont Jones Date: Thu Aug 9 13:37:22 2007 -0600 mount: improve error message when helper program not present "missing codepage" is a bit confusing to many people, so include "helper program" in the error message when we fail to mount something. Signed-off-by: LaMont Jones mount/mount.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ab9756eaf3922bd6fe02683c33c6e061c3c7213f Author: Karel Zak Date: Sun Sep 2 11:43:53 2007 +0200 docs: fix stable branche name in README.devel Signed-off-by: Karel Zak README.devel | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 60c68b39a55e0547169ffb5b8d008aad84ecf37e Author: Karel Zak Date: Sun Sep 2 15:02:55 2007 +0200 fdisk: fix typo Reported-by: Daniel Nylander Signed-off-by: Karel Zak fdisk/fdisk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 952a06cfa86cfe8aae8999ed0534c25a1bbc9e13 Author: Karel Zak Date: Sun Sep 2 13:43:31 2007 +0200 build-sys: autogen.sh reports versions of autotools now Signed-off-by: Karel Zak autogen.sh | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) commit 7fc9786b7b21b5884a68eda77f3c22bc6bfb6734 Author: Karel Zak Date: Sun Sep 2 13:10:06 2007 +0200 build-sys: set AC_PREREQ to 2.60, increment version to 2.14 The autoconf >= 2.60 supports @localedir@ and others new directory variables. Signed-off-by: Karel Zak configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 16e1cdf4abc4a5de0871754b80820f99ad72d9cc Author: A. Costa Date: Wed Aug 29 07:07:10 2007 -0600 flock: typo in man page Signed-off-by: LaMont Jones sys-utils/flock.1 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)