more destroy potential overflow for x86_64.
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -466,9 +466,11 @@ static void checkutmp(int picky) | |
| static void setutmp(const char *name, const char *line ATTRIBUTE_UNUSED) | |
| { | |
| + | time_t t_tmp = (time_t)utent.ut_time; |
| + | |
| utent.ut_type = USER_PROCESS; | |
| strncpy(utent.ut_user, name, sizeof utent.ut_user); | |
| - | time((time_t*)&utent.ut_time); |
| + | time(&t_tmp); |
| /* other fields already filled in by checkutmp above */ | |
| setutent(); | |
| pututline(&utent); | |