Dov Grobgeld
fabb90676a
Added --no-override option to rename.
2017-05-27 23:26:32 +03:00
Karel Zak
ae4e2abcb1
libblkid: (docs) add missing 'since' tags
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-23 14:27:36 +02:00
Karel Zak
f854eca369
libfdisk: update docs
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-23 14:22:04 +02:00
Karel Zak
8d3e3e6b4d
libfdisk: (docs) add missing 'since' tags
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-23 14:02:14 +02:00
Karel Zak
a81b1946a1
libmount: (docs) add missing 'since' tags
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-23 13:32:45 +02:00
Karel Zak
4ab60277cb
libsmartcols: (docs) add missing 'since' tags
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-23 13:27:29 +02:00
Karel Zak
47cd0ae081
build-sys: release++ (v2.30-rc2)
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-23 12:20:27 +02:00
Karel Zak
8d78e5e027
docs: update v2.30-ReleaseNotes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-23 12:19:21 +02:00
Karel Zak
cf1e776f1b
tests: check for TS_HELPER_SYSINFO in fincore test
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-23 12:10:15 +02:00
Karel Zak
ed82d5e6e0
docs: update AUTHORS file
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-23 11:47:17 +02:00
Karel Zak
9d2c1398dc
po: merge changes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-23 11:45:07 +02:00
Karel Zak
73bb764c3d
tests: update build-sys due to readline
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-23 11:39:58 +02:00
Chris Morin
b0ff9a76b7
sfdisk: disambiguate units of --show-size
...
[kzak@redhat.com: - use optutils.h]
Signed-off-by: Chris Morin <chris.morin2@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-22 11:29:10 +02:00
Sami Kerola
36b608417b
chfn: disable tab completion
...
The default readline tab completion that offers file listing from current
directory does not make any sense in this context.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-05-19 11:43:34 +02:00
Sami Kerola
8c1ce08da9
rename: make --no-act to imply --verbose
...
It is reasonable to assume use of --no-act means one wants to always see
what would have happen if rename is done. To say same slightly differently,
if there is sn use case for silent rename --no-act run I cannot think one.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-05-19 11:43:34 +02:00
Karel Zak
c0999af736
docs: update source-code-management.txt
...
Reported-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-18 21:55:36 +02:00
Karel Zak
55548b14c1
lslocks: remove dead code
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-18 15:10:51 +02:00
Karel Zak
699ad3a1de
zramctl: add mising line terminator
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-18 15:10:04 +02:00
Karel Zak
780ce22cda
misc: consolidate smartcols error messages
...
... just to keep translators happy
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-18 11:39:34 +02:00
Pali Rohár
7f77c5e196
tests: Fix UDF test output after changing UUID algorithm
2017-05-17 20:36:51 +02:00
Pali Rohár
d8ba647d0d
libblkid: udf: Change algorithm for reporting UUID
...
Ensure that reported UUID always contains only lowercase hexadecimal digits
and is always 16 characters length, padded with zero digits.
Volume Set Identifier is converted to UTF-8 before generating UUID from it.
As it could potentially contain any Unicode character. So correctly handle
both 8bit and 16bit OSTA Compressed Unicode encodings.
Disks which have only lowercase hexadecimal digits in Volume Set Identifier
would have same UUID as before this patch.
2017-05-17 20:36:40 +02:00
Karel Zak
b7ebf49c9b
fincore: check rc from smartcols stuff [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 13:08:33 +02:00
Karel Zak
dd732fa251
nologin: don't call fstat() after failed open() [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 12:59:33 +02:00
Karel Zak
1ce46fcf6b
libsmartcols: check scols_table_set_default_symbols() return code [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 12:50:36 +02:00
Karel Zak
7a5dbd2258
libmount: don't pass -1 to close() [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 12:45:30 +02:00
Karel Zak
199f8cd3b5
libfdisk: don't use errno after close()
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 12:43:48 +02:00
Karel Zak
fdaba3eb62
libmount: fix memory leak [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 12:38:16 +02:00
Karel Zak
274e6f6f8f
libfdisk: use memcpy() for non-terminated string [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 12:29:50 +02:00
Karel Zak
3fdbf0ee09
libfdisk: initialize partno variable [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 12:28:07 +02:00
Karel Zak
0a48e2370d
libmount: check fstat() return code [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 12:28:07 +02:00
Karel Zak
059ad53815
libfdisk: don't print uninitialized variable [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 12:28:07 +02:00
Karel Zak
76ae3fe37a
sfdisk: add hints for scanners [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 12:28:07 +02:00
Karel Zak
d2f265d629
mkswap: use memcpy() for non-terminated string [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 12:27:59 +02:00
Karel Zak
82c7ab9cb8
fsck.minix: add hint for scanners [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 11:38:54 +02:00
Karel Zak
25d1a7e5a6
fdisk: check scols_line_refer_data() return code [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 11:32:50 +02:00
Karel Zak
799d9e845f
tests: (libmount) parse version from command line
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 11:28:19 +02:00
Karel Zak
08099e41b9
cfdisk: add hints for scanners [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-17 11:26:54 +02:00
Pali Rohár
53e318c55f
tests: Fix UDF test output for 8bit OSTA Compressed Unicode
2017-05-16 23:52:39 +02:00
Pali Rohár
fa903e8f20
tests: Add UDF hdd image with non ASCII 8bit label created by Linux mkudffs 1.3
...
$ dd if=/dev/zero of=udf-hdd-mkudffs-1.3-3.img bs=1M count=10
$ mkudffs -l 'ÿ' -b 2048 /tmp/udf-hdd-mkudffs-1.3-3.img
2017-05-16 23:52:24 +02:00
Pali Rohár
22acc2681d
libblkid: udf: Correctly handle UDF strings encoded in 8bit OSTA Compressed Unicode
...
String encoded in 8bit OSTA Compressed Unicode contains one Unicode
codepoint per 8bits. Maximal Unicode codepoint is U+FF. Which effectively
means that it is equivalent to Latin1 encoding.
Before this patch libblkid copied raw 8bit OSTA Compressed Unicode from
disk and treated it as UTF-8. It worked fine just for UTF-8 invariants,
other characters were incorrectly encoded. This patch fixes this problem.
Note that processing UUID is not fixed in this patch.
2017-05-16 23:52:05 +02:00
Pali Rohár
98bc12ab48
libblkid: Add support for Latin1 encoding in blkid_encode_to_utf8()
2017-05-16 23:51:50 +02:00
Sami Kerola
90936fafb4
su: remove duplicate const declaration
...
login-utils/su-common.c:619:14: warning: duplicate 'const' declaration
specifier [-Wduplicate-decl-specifier]
const char const **args = xcalloc (n_args, sizeof *args);
Regression-from: 71f207a5f5
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-05-16 14:55:32 +02:00
Sami Kerola
9ac755f6c3
getops: make --a-long option work again
...
Add back a character lost in earlier change.
Regression-from: d27f5fe770
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-05-16 14:54:41 +02:00
Sami Kerola
51b4b39870
fsck.minix: fix crash
...
disk-utils/fsck.minix.c:421:30: runtime error: index 513 out of bounds for
type 'unsigned short [512]'
Addresses: https://github.com/karelzak/util-linux/issues/373
Reported-by: Hanno Bock <hanno@gentoo.org>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-05-16 14:54:41 +02:00
Karel Zak
387d515550
docs: update TODO, add mount(8) noauto,auto
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-16 13:15:11 +02:00
J William Piggott
5e8a508dc4
docs: update v2.30-ReleaseNotes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-15 11:44:02 +02:00
Karel Zak
c604411fdf
build-sys: release++ (v2.30-rc1)
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-12 13:33:41 +02:00
Karel Zak
013d25c09d
docs: add chmem and tailf to ReleaseNotes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-12 13:33:16 +02:00
Karel Zak
bb73c3ae22
docs: update v2.30-ReleaseNotes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-12 13:00:36 +02:00
Karel Zak
f948cef99c
docs: update AUTHORS file
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-05-12 11:32:06 +02:00