Skip to content

Commit

Permalink
Added utmpx support for Busybox/Coreutils.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilge committed Dec 30, 2016
1 parent 08ca0a8 commit 2282fef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ script:
/cc1plus
-uclibc-gcc
-uclibc-g++
/utmpx.h # Needed for Busybox/Coreutils
)
for pattern in "${patterns[@]}"; do
(($(grep -c -- "$pattern$" <<<"$files") == 1)) || exit
grep -- "$pattern$" <<<"$files" || exit # Todo: find a better way to fail
done
3 changes: 2 additions & 1 deletion in/uclibc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ MALLOC_STANDARD=y
# UCLIBC_HAS_OBSTACK is not set
UCLIBC_DYNAMIC_ATEXIT=y
# COMPAT_ATEXIT is not set
# UCLIBC_HAS_UTMPX is not set
UCLIBC_HAS_UTMPX=y
# UCLIBC_HAS_UTMP is not set
# UCLIBC_SUSV2_LEGACY is not set
UCLIBC_SUSV3_LEGACY=y
# UCLIBC_HAS_CONTEXT_FUNCS is not set
Expand Down

0 comments on commit 2282fef

Please sign in to comment.