This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

b19 du bug persists


Beta 19 has the same problems with 'du' as b18:
  du -k shows size 1/2 of what it should be
  du -m shows size 1/2 of what it should be

fix/workaround:

change line: size =ST_NBLOCKS(stat_buf);
	to:  size =(stat_buf.st_size + 511) / 512;

and
	convert_blocks( size, output_size == size_kilobytes)
    to: convert_blocks( size, output_size )

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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