-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib/utmp.c: Use the appropriate autotools macros for struct utmpx #955
lib/utmp.c: Use the appropriate autotools macros for struct utmpx #955
Conversation
5d9b024
to
fe88a9a
Compare
v2 changes:
|
fe88a9a
to
52b4dee
Compare
v2b changes:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
52b4dee
to
5a936ad
Compare
Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
On Tue, Feb 20, 2024 at 11:41:19PM -0800, Iker Pedrosa wrote:
@ikerexxe approved this pull request.
LGTM!
v2c changes:
- Reviewed
$ git range-diff shadow/master 52b4dee utmpx
1: 8ca977f ! 1: bceeefe lib/utmp.c: Indent nested preprocessor conditionals
@@ Metadata
## Commit message ##
lib/utmp.c: Indent nested preprocessor conditionals
+ Reviewed-by: Iker Pedrosa ***@***.***>
Signed-off-by: Alejandro Colomar ***@***.***>
## lib/utmp.c ##
2: ee54d49 ! 2: 91e43fe lib/utmp.c: Merge preprocessor conditionals
@@ Metadata
## Commit message ##
lib/utmp.c: Merge preprocessor conditionals
+ Reviewed-by: Iker Pedrosa ***@***.***>
Signed-off-by: Alejandro Colomar ***@***.***>
## lib/utmp.c ##
3: 1bc3b34 ! 3: 3947d9c lib/utmp.c: Remove #endif comments
@@ Commit message
Indentation makes it clear which is which.
+ Reviewed-by: Iker Pedrosa ***@***.***>
Signed-off-by: Alejandro Colomar ***@***.***>
## lib/utmp.c ##
4: 7c7223d ! 4: 08dff70 lib/utmp.c: Use defined() instead of #if[n]def
@@ Metadata
## Commit message ##
lib/utmp.c: Use defined() instead of #if[n]def
+ Reviewed-by: Iker Pedrosa ***@***.***>
Signed-off-by: Alejandro Colomar ***@***.***>
## lib/utmp.c ##
5: 52b4dee ! 5: 5a936ad lib/utmp.c: Use the appropriate autotools macros for struct utmpx
@@ Commit message
Link: <#954>
Cc: Firas Khalil Khana ***@***.***>
Cc: "A. Wilfox" <https://github.com/awilfox>
- Cc: Iker Pedrosa ***@***.***>
+ Reviewed-by: Iker Pedrosa ***@***.***>
Signed-off-by: Alejandro Colomar ***@***.***>
## lib/utmp.c ##
…
--
Reply to this email directly or view it on GitHub:
#955 (review)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Indentation makes it clear which is which. Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Recently, we started using utmpx instead of utmp, and we updated <./configure.ac> to do the checks for 'struct utmpx' instead of 'struct utmp'. However, I forgot to update the preprocessor conditionals accordingly. Fixes: 64bcb54 ("lib/, src/, configure.ac: Use utmpx instead of utmp") Link: <shadow-maint#954> Cc: Firas Khalil Khana <firasuke@gmail.com> Cc: "A. Wilfox" <https://github.com/awilfox> Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
I'm not able to reproduce the problem from the CI, so I'll open a PR to be able to see those errors in the CI. |
I've put the commit in this PR, so that we can test it with this failure. v3 changes:
(I'll probably want to do something similar with the cmocka logs.)
|
Huh, a Heisenbug. When we try to measure it, it disappears. :| I'll drop the last patch, and trigger a new run of CI, and see it it reproduces again. |
f232202
to
f29895f
Compare
v3.1:
|
f29895f
to
5a936ad
Compare
v3.3:
|
Since tests pass now, and we're again in v2c, as reviewed by Iker, I'll merge. |
1af6b68
into
shadow-maint:master
Oops. I forgot to do a change.
Fixes: 64bcb54 ("lib/, src/, configure.ac: Use utmpx instead of utmp")
Link: #954
Cc: @firasuke
Cc: @awilfox
Cc: @ikerexxe