about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-08-13 15:53:19 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-08-13 15:56:32 +0200
commit5a3afa9738f3dbbaf8c0a35665318c1af782111b (patch)
tree26a63eb963861e214dfba72e6782d3d77dcf3f82 /ChangeLog
parent0175c9e9be5f0b2000859666b6e1ef3696f1123b (diff)
downloadglibc-5a3afa9738f3dbbaf8c0a35665318c1af782111b.tar.gz
glibc-5a3afa9738f3dbbaf8c0a35665318c1af782111b.tar.xz
glibc-5a3afa9738f3dbbaf8c0a35665318c1af782111b.zip
login: Replace macro-based control flow with function calls in utmp
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f06bed449b..71b254158d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2019-08-13  Florian Weimer  <fweimer@redhat.com>
+
+	* login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
+	Remove macros.
+	(struct file_locking): New.
+	(try_file_lock, file_unlock, file_lock_restore): New functions.
+	(__libc_getutent_r): Use the new functions.
+	(internal_getut_r): Likewise.
+	(__libc_getutline_r): Likewise.
+	(__libc_pututline): Likewise.
+	(__libc_updwtmp): Likewise.
+
 2019-08-13  Joseph Myers  <joseph@codesourcery.com>
 
 	* bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update