not a nice patch

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Fri Feb 12 01:19:00 GMT 1999


Ulrich Drepper <drepper@cygnus.com> writes:

|> Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> writes:
|> 
|> > No, only by fileutils, sh-utils, textutils, make, ... See AC_LFS.
|> 
|> I know.  But it's only used for printing in `ls'.

Huh?  Every stat will fail to give correct output.

|> > No, it's not!  The padding had only 16 bits!
|> 
|> But with the alignment applied it's 32 bits.

No, it's not.

|> Do you prefer to not make this change?

Do it correctly!  You must define a new stat version.  Think about it.  In
all current programs that use AC_LFS stat will either always get zero in
st_ino (on intel), or receive complete garbage (on m68k).

Andreas.



More information about the Libc-hacker mailing list