- Jun 02, 2017
-
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
The libtinfo is enough (and libncurses optional for cal). Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
https://github.com/yurchor/util-linuxKarel Zak authored
* 'master' of https://github.com/yurchor/util-linux: Fix minor typos
-
Yuri Chornoivan authored
-
Mesutcan Kurt authored
-
Sebastian Rasmussen authored
-
Jakub Bogusz authored
-
Takeshi Hamasaki authored
-
Philipp Thomas authored
-
- Jun 01, 2017
-
-
J William Piggott authored
Signed-off-by:
J William Piggott <elseifthen@gmx.com>
-
Karel Zak authored
for example: # PAGER=foo dmesg -H sh: foo: command not found the same problem is we have with fdisk 'l' command: # PAGER=foo fdisk /dev/sda Welcome to fdisk (util-linux 2.30-rc2-33-41b71). ... Command (m for help): l sh: foo: command not found It seems better to don't use pager at all if not available. Signed-off-by:
Karel Zak <kzak@redhat.com>
-
https://github.com/rudimeier/util-linuxKarel Zak authored
* 'travis-test' of https://github.com/rudimeier/util-linux: tests: check for timeout command Revert "tests: use stdbuf when stderr and stdout is randomly ordered"
-
Karel Zak authored
The array members may be NULL on some architectures (e.g. AMD). Let's be paranoid and check for the NULL independently on present/online masks. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1457744 Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Ruediger Meier authored
Signed-off-by:
Ruediger Meier <ruediger.meier@ga-group.nl>
-
Ruediger Meier authored
stdbuf does not seem to work reliable. Failed on travis/OSX This reverts commit 398b3148 . Signed-off-by:
Ruediger Meier <ruediger.meier@ga-group.nl>
-
Alexander Kuleshov authored
In other case we will get: error: expected ‘;’ before ‘}’ token error. Signed-off-by:
Alexander Kuleshov <kuleshovmail@gmail.com>
-
https://github.com/rudimeier/util-linuxKarel Zak authored
* 'travis-test' of https://github.com/rudimeier/util-linux: misc: fix some warnings tests: handle non glibc error message for fallocate tests: use stdbuf when stderr and stdout is randomly ordered build-sys: fix library order when linking tests: avoid diff of diffs tests: grep's short option -A is more portable
-
Ruediger Meier authored
sys-utils/prlimit.c: In function 'do_prlimit': sys-utils/prlimit.c:367:16: warning: format '%ju' expects argument of type 'uintmax_t', but argument 2 has type 'rlim_t {aka long long unsigned int}' [-Wformat=] printf("<%ju", new->rlim_cur); lib/plymouth-ctrl.c: In function 'open_un_socket_and_connect': lib/plymouth-ctrl.c:88:20: warning: passing argument 2 of 'connect' from incompatible pointer type [-Wincompatible-pointer-types] ret = connect(fd, &su, offsetof(struct sockaddr_un, sun_path) + 1 + strlen(su.sun_path+1)); ^ In file included from lib/plymouth-ctrl.c:35:0: /usr/include/sys/socket.h:314:5: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_un *' int connect (int, const struct sockaddr *, socklen_t); login-utils/last.c: In function 'list': login-utils/last.c:506:54: warning: pointer targets in passing argument 4 of 'dns_lookup' differ in signedness [-Wpointer-sign] r = dns_lookup(domain, sizeof(domain), ctl->useip, p->ut_addr_v6); ^ login-utils/last.c:291:12: note: expected 'int32_t * {aka int *}' but argument is of type 'unsigned int *' static int dns_lookup(char *result, int size, int useip, int32_t *a) ^~~~~~~~~~ In file included from sys-utils/hwclock-cmos.c:92:0: sys-utils/hwclock.h:67:32: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration extern double time_diff(struct timeval subtrahend, struct timeval subtractor); misc-utils/test_uuidd.c: In function 'create_nthreads': misc-utils/test_uuidd.c:187:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] proc->pid, (int) th->tid, th->index)); Signed-off-by:
Ruediger Meier <ruediger.meier@ga-group.nl>
-
Ruediger Meier authored
Signed-off-by:
Ruediger Meier <ruediger.meier@ga-group.nl>
-
Ruediger Meier authored
glibc seems to flush stdout before stderr. Signed-off-by:
Ruediger Meier <ruediger.meier@ga-group.nl>
-
Ruediger Meier authored
We got some errors on Alpine Linux where $LTLIBINTL is non-empty: ./.libs/libcommon.a(libcommon_la-blkdev.o): In function `open_blkdev_or_file': lib/blkdev.c:282: undefined reference to `libintl_gettext collect2: error: ld returned 1 exit status Signed-off-by:
Ruediger Meier <ruediger.meier@ga-group.nl>
-
Ruediger Meier authored
Certain diff implementations do not produce comparable output. Noticed on Alpine Linux/busybox. CC: Sami Kerola <kerolasa@iki.fi> Reported-by:
Assaf Gordon <assafgordon@gmail.com> Signed-off-by:
Ruediger Meier <ruediger.meier@ga-group.nl>
-
Ruediger Meier authored
Noticed on Alpine Linux/busybox. Reported-by:
Assaf Gordon <assafgordon@gmail.com> Signed-off-by:
Ruediger Meier <ruediger.meier@ga-group.nl>
-
- May 31, 2017
-
-
J William Piggott authored
source-code-management.txt and README had similar content so combine them in README. Change Documentation/source-code-management.txt references to README. Remove Documentation/source-code-management.txt. Move IRC Channel information to README Expand information about git branches and tags in README. Add workflow to README; written by Karel Zak <kzak@redhat.com> Signed-off-by:
J William Piggott <elseifthen@gmx.com>
-
J William Piggott authored
This patch does not change any wording or grammar. It only shuffles the order of things and adds a table of contents. For example: it moves coding related bullet points into the Coding Style Chapter; it groups email related Chapters together, and so fourth. Signed-off-by:
J William Piggott <elseifthen@gmx.com>
-
J William Piggott authored
Grammar fixes and some clarification changes. Signed-off-by:
J William Piggott <elseifthen@gmx.com>
-
J William Piggott authored
Signed-off-by:
J William Piggott <elseifthen@gmx.com>
-
Karel Zak authored
* assume ncursesw headers in ncursesw/ directory only * prefer long paths, <term.h> and <ncurses.h> should be last possibility * fix typos Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
If you have installed: ii libncurses5:i386 5.9+20140913-1+b1 i386 shared libraries for terminal handling ii libncurses5-dev:i386 5.9+20140913-1+b1 i386 developer's libraries for ncurses ii libncursesw5:i386 5.9+20140913-1+b1 i386 shared libraries for terminal handling (wide character support) then pkg-config blindly follows ncursesw although there are not header files for this library. It seems better to use pkg-config as fallback solution only. Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
- May 30, 2017
-
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
* use proper paths to term.h * keep ncurses support optional * link with TINFO_LIBS (-ltinfo), or fallback to NCURSES_LIBS (-ltinfo -lncurses) * don't include unnecessary ncurses.h (term.h is enough) Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
* use proper paths to term.h * keep ncurses support optional * link with TINFO_LIBS (-ltinfo), or fallback to NCURSES_LIBS (-ltinfo -lncurses) * don't include unnecessary ncurses.h (term.h is enough) Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
It seems Debina 8 is a little bit incompatible with us: * ncurses-config is packaged in ncurses-bin where is *no* any development files! It means the script returns paths to not installed files (IMHO packaging bug) Fixed, we need to check for header files too. * term.h is "everywhere" on Fedora: <term.h> <ncurses/term.h> <ncursesw/term.h> Debian is more strict and uses <ncurses[w]/term.h> only. Fixed, we need #ifdef storm to use the correct path * libtinfo-dev does not contains any header files Fixed, we have to always require installed ncurses devel stuff to compile, but we can link with -ltinfo only (cal, ul, more, ...) * we don't use termcap for more(1) Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Reported-by:
Assaf Gordon <assafgordon@gmail.com> Signed-off-by:
Karel Zak <kzak@redhat.com>
-
Karel Zak authored
Reported-by:
Assaf Gordon <assafgordon@gmail.com> Signed-off-by:
Karel Zak <kzak@redhat.com>
-