This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: not a nice patch


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]