Using lstat() instead of stat() means that attempting to loopback mount a symlink doesn't work.
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)
| @@ -285,7 +285,7 @@ static int singlemount(struct mntent *mp, int ignore_busy) | |
| // Look at the file. (Not found isn't a failure for remount, or for | |
| // a synthetic filesystem like proc or sysfs.) | |
| - | if (lstat(mp->mnt_fsname, &st)); |
| + | if (stat(mp->mnt_fsname, &st)); |
| else if (!(vfsflags & (MS_REMOUNT | MS_BIND | MS_MOVE))) { | |
| // Do we need to allocate a loopback device for it? | |