Re: boot-time: straighten code

2023-08-14 Thread Bruno Haible
Andreas Schwab wrote: > >char ut_host[__UT_HOSTSIZE]; /* Hostname for remote login. */ > > That's still using reserved symbols. Fixed through the patch below. But that is just a workaround. Is someone among the glibc people looking at the original glibc bug

Re: boot-time: straighten code

2023-08-14 Thread Andreas Schwab
On Aug 14 2023, Bruno Haible wrote: > diff --git a/lib/readutmp.h b/lib/readutmp.h > index f7cad36d44..1fbe29d86f 100644 > --- a/lib/readutmp.h > +++ b/lib/readutmp.h > @@ -142,7 +142,7 @@ struct utmpx32 >pid_t ut_pid;/* Process ID of login process. */ >char

Re: boot-time: straighten code

2023-08-14 Thread Bruno Haible
Andreas Schwab wrote: > >> In file included from boot-time.c:47: > >> readutmp.h:145:16: error: ‘__UT_USERSIZE’ undeclared here (not in a > >> function); did you mean ‘UT_USER_SIZE’? > >> 145 | char ut_user[__UT_USERSIZE]; /* Username. */ > >> |^ > >>

Re: boot-time: straighten code

2023-08-14 Thread Andreas Schwab
On Aug 14 2023, Bruno Haible wrote: > Andreas Schwab wrote: >> In file included from boot-time.c:47: >> readutmp.h:145:16: error: ‘__UT_USERSIZE’ undeclared here (not in a >> function); did you mean ‘UT_USER_SIZE’? >> 145 | char ut_user[__UT_USERSIZE]; /* Username. */ >> |

Re: boot-time: straighten code

2023-08-14 Thread Bruno Haible
Andreas Schwab wrote: > In file included from boot-time.c:47: > readutmp.h:145:16: error: ‘__UT_USERSIZE’ undeclared here (not in a > function); did you mean ‘UT_USER_SIZE’? > 145 | char ut_user[__UT_USERSIZE]; /* Username. */ > |^ > |

Re: boot-time: straighten code

2023-08-14 Thread Andreas Schwab
In file included from boot-time.c:47: readutmp.h:145:16: error: ‘__UT_USERSIZE’ undeclared here (not in a function); did you mean ‘UT_USER_SIZE’? 145 | char ut_user[__UT_USERSIZE]; /* Username. */ |^ |UT_USER_SIZE make[3]: ***