diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-11-27 06:55:56 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-11-30 20:20:19 -0600 |
commit | a32c4b31c69dbfb6f391bccb9c1358fd2bb0c832 (patch) | |
tree | fa39d984711c48daba34b1a2e12ab6a35df88f3d /user/elogind/utmps.patch | |
parent | a023ea8b1755b895fb9e539262a2840aa0d65a49 (diff) | |
download | packages-a32c4b31c69dbfb6f391bccb9c1358fd2bb0c832.tar.gz packages-a32c4b31c69dbfb6f391bccb9c1358fd2bb0c832.tar.bz2 packages-a32c4b31c69dbfb6f391bccb9c1358fd2bb0c832.tar.xz packages-a32c4b31c69dbfb6f391bccb9c1358fd2bb0c832.zip |
user/elogind: Update to 252.9
Ref: #1100
Diffstat (limited to 'user/elogind/utmps.patch')
-rw-r--r-- | user/elogind/utmps.patch | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/user/elogind/utmps.patch b/user/elogind/utmps.patch index 16afdd307..06889a587 100644 --- a/user/elogind/utmps.patch +++ b/user/elogind/utmps.patch @@ -12,20 +12,18 @@ diff -rNU3 elogind-246.10.old/src/basic/user-util.c elogind-246.10/src/basic/use diff -rNU3 elogind-246.10.old/src/login/logind-core.c elogind-246.10/src/login/logind-core.c --- elogind-246.10.old/src/login/logind-core.c 2021-03-02 08:29:23.000000000 +0000 +++ elogind-246.10/src/login/logind-core.c 2023-08-30 23:54:42.910231156 +0000 -@@ -780,8 +780,8 @@ +@@ -759,8 +759,6 @@ assert(m); - if (utmpxname(_PATH_UTMPX) < 0) - return log_error_errno(errno, "Failed to set utmp path to " _PATH_UTMPX ": %m"); -+// if (utmpxname(_PATH_UTMPX) < 0) -+// return log_error_errno(errno, "Failed to set utmp path to " _PATH_UTMPX ": %m"); utmpx = utxent_start(); diff -rNU3 elogind-246.10.old/src/shared/musl_missing.h elogind-246.10/src/shared/musl_missing.h --- elogind-246.10.old/src/shared/musl_missing.h 2021-03-02 08:29:23.000000000 +0000 -+++ elogind-246.10/src/shared/musl_missing.h 2023-08-30 23:58:42.010232710 +0000 ++++ elogind-246.10/src/basic/musl_missing.h 2023-08-30 23:58:42.010232710 +0000 @@ -76,14 +76,13 @@ /* Make musl utmp/wtmp stubs visible if needed. */ #if ENABLE_UTMP @@ -50,25 +48,21 @@ diff -rNU3 elogind-246.10.old/src/shared/musl_missing.h elogind-246.10/src/share diff -rNU3 elogind-246.10.old/src/shared/utmp-wtmp.c elogind-246.10/src/shared/utmp-wtmp.c --- elogind-246.10.old/src/shared/utmp-wtmp.c 2021-03-02 08:29:23.000000000 +0000 +++ elogind-246.10/src/shared/utmp-wtmp.c 2023-08-30 23:53:07.330230534 +0000 -@@ -55,8 +55,8 @@ +@@ -47,8 +47,6 @@ return 0; } - if (utmpxname(_PATH_UTMPX) < 0) - return -errno; -+// if (utmpxname(_PATH_UTMPX) < 0) -+// return -errno; utmpx = utxent_start(); -@@ -105,8 +105,8 @@ +@@ -97,8 +95,6 @@ * each entry type resp. user; i.e. basically a key/value * table. */ - if (utmpxname(_PATH_UTMPX) < 0) - return -errno; -+// if (utmpxname(_PATH_UTMPX) < 0) -+// return -errno; utmpx = utxent_start(); |