public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/14] pull: some minor fixes
@ 2014-07-13 20:24 Sami Kerola
  2014-07-13 20:24 ` [PATCH 01/14] textual: fix some typos Sami Kerola
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Sami Kerola @ 2014-07-13 20:24 UTC (permalink / raw)
  To: util-linux; +Cc: kerolasa

Hi all,

Here is bunch of small fixes some more significant than other.  Many of
the code changes are outcome of reading cppcheck(1) analysis, which is
not attributed in commit messages.  Perhaps that is ok, if not I'll add
something to the text about the fact when requested so.

The fixes can be also pulled from my github branch minor-fixes, find the
details from bottom of this mail if you prefer using remote repository.


Sami Kerola (14):
  textual: fix some typos
  cal: remove unnused structure and definition
  setterm: remove unnecessary variable
  lscpu: avoid use of bzero() in favor of memset()
  cfdisk: add braces to ensure operation order
  fdformat: match variable and print format types
  mkfs.cramfs: use defined failure name rather than magic value
  fdisk: avoid code duplication
  dmesg: avoid unnecessary variable assignment
  setpriv: avoid alloca() use xmalloc() instead
  whereis: avoid printing uninitialized string
  libfdisk: do not do the same thing twice in single if statement
  libsmartcols: avoid variable dereference after release
  lscpu: avoid double free

 disk-utils/cfdisk.c        | 2 +-
 disk-utils/fdformat.c      | 4 ++--
 disk-utils/fdisk.c         | 9 ++++-----
 disk-utils/mkfs.cramfs.c   | 6 ++----
 lib/strutils.c             | 2 +-
 libfdisk/src/dos.c         | 2 +-
 libfdisk/src/partition.c   | 2 +-
 libmount/src/tab.c         | 2 +-
 libsmartcols/src/line.c    | 2 +-
 libsmartcols/src/version.c | 2 +-
 login-utils/last.c         | 2 +-
 misc-utils/cal.c           | 5 -----
 misc-utils/whereis.c       | 3 +--
 sys-utils/dmesg.c          | 3 ++-
 sys-utils/fstrim.c         | 2 +-
 sys-utils/lscpu-dmi.c      | 2 +-
 sys-utils/lscpu.c          | 2 +-
 sys-utils/setpriv.c        | 4 +++-
 term-utils/setterm.c       | 3 +--
 19 files changed, 26 insertions(+), 33 deletions(-)

The following changes since commit 8b9d1474a4bef66ca0c05a7ebd2341bb02016e24:

  build-sys: release++ (v2.25-rc2) (2014-07-02 11:40:19 +0200)

are available in the git repository at:

  git://github.com/kerolasa/lelux-utiliteetit.git 

for you to fetch changes up to 4e6604e51a5460653cd1189c51f5935ae0cde550:

  lscpu: avoid double free (2014-07-13 18:35:39 +0100)

-- 
2.0.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-07-14 14:08 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-13 20:24 [PATCH 00/14] pull: some minor fixes Sami Kerola
2014-07-13 20:24 ` [PATCH 01/14] textual: fix some typos Sami Kerola
2014-07-13 20:24 ` [PATCH 02/14] cal: remove unnused structure and definition Sami Kerola
2014-07-13 20:24 ` [PATCH 03/14] setterm: remove unnecessary variable Sami Kerola
2014-07-13 20:24 ` [PATCH 04/14] lscpu: avoid use of bzero() in favor of memset() Sami Kerola
2014-07-13 20:24 ` [PATCH 05/14] cfdisk: add braces to ensure operation order Sami Kerola
2014-07-13 20:24 ` [PATCH 06/14] fdformat: match variable and print format types Sami Kerola
2014-07-13 20:24 ` [PATCH 07/14] mkfs.cramfs: use defined failure name rather than magic value Sami Kerola
2014-07-13 20:24 ` [PATCH 08/14] fdisk: avoid code duplication Sami Kerola
2014-07-13 20:24 ` [PATCH 09/14] dmesg: avoid unnecessary variable assignment Sami Kerola
2014-07-13 20:24 ` [PATCH 10/14] setpriv: avoid alloca() use xmalloc() instead Sami Kerola
2014-07-13 20:24 ` [PATCH 11/14] whereis: avoid printing uninitialized string Sami Kerola
2014-07-13 20:24 ` [PATCH 12/14] libfdisk: do not do the same thing twice in single if statement Sami Kerola
2014-07-13 20:24 ` [PATCH 13/14] libsmartcols: avoid variable dereference after release Sami Kerola
2014-07-13 20:24 ` [PATCH 14/14] lscpu: avoid double free Sami Kerola
2014-07-14 14:08 ` [PATCH 00/14] pull: some minor fixes Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox