[PATCH 00/10] Cleanup and portability fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Here are several patches replacing obsolete code, cleaning up some
stuff and improving portability mainly for non-Linux systems.


Guillem Jover (10):
  build-sys: detect if const is available
  build-sys: detect if volatile is available
  Use sysconf(_SC_PAGESIZE) instead of obsolete getpagesize()
  build-sys: enable silent rules if automake >= 1.11
  disk-utils: change cramsort signature to match what scandir expects
  build-sys: check for union semun instead of using _SEM_SEMUN_UNDEFINED
  ipcs: use __GLIBC__ instead of obsolete __GNU_LIBRARY__
  cal: remove obsolete <localeinfo.h> include
  Remove now unused <sys/ioctl.h> includes
  switch_root: explicitly include <sys/ioctl.h>

 configure.ac                    |   10 ++++++++++
 disk-utils/fsck.cramfs.c        |    3 +--
 disk-utils/fsck.minix.c         |    4 ----
 disk-utils/mkfs.bfs.c           |    1 -
 disk-utils/mkfs.cramfs.c        |    7 ++++---
 disk-utils/mkfs.minix.c         |    1 -
 disk-utils/mkswap.c             |   20 ++++++++++----------
 fdisk/fdiskbsdlabel.c           |    1 -
 fdisk/gpt.c                     |    1 -
 fsck/fsck.h                     |    1 -
 hwclock/hwclock.c               |    1 -
 login-utils/agetty.c            |    1 -
 misc-utils/cal.c                |    2 --
 mount/swapon.c                  |    2 +-
 shlibs/blkid/src/topology/dm.c  |    1 -
 shlibs/blkid/src/topology/lvm.c |    1 -
 sys-utils/ipcrm.c               |    2 +-
 sys-utils/ipcs.c                |    8 +++-----
 sys-utils/switch_root.c         |    1 +
 tests/helpers/test_sysinfo.c    |    2 +-
 20 files changed, 32 insertions(+), 38 deletions(-)


regards,
guillem
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux