Gavriel: I asked my manager about the license for my patches, and the question is still going through the corporate ladder. I'll let you know as soon as I get an answer from someone. Changelog: programs/wcmd/directory.c - Modified WCMD_filesize64 to handle unsigned numbers. Gregg Mattinson Co-op Developer Sun Microsystems of Canada
Index: directory.c =================================================================== RCS file: /opcom/comp/ws/wine/CVSROOT/wine/programs/wcmd/directory.c,v retrieving revision 1.1 diff -u -r1.1 directory.c --- /tmp/T05FayAH Thu Jul 4 13:42:36 2002 +++ directory.c Thu Jul 4 13:38:59 2002 @@ -29,7 +29,7 @@ int WCMD_dir_sort (const void *a, const void *b); void WCMD_list_directory (char *path, int level); -char * WCMD_filesize64 (__int64 free); +char * WCMD_filesize64 (__uint64 free); char * WCMD_strrev (char *buff); @@ -43,7 +43,7 @@ int file_total, dir_total, line_count, page_mode, recurse, wide, bare, max_width; -__int64 byte_total; +__uint64 byte_total; /***************************************************************************** * WCMD_directory @@ -363,10 +363,10 @@ * FIXME: There must be a better algorithm! */ -char * WCMD_filesize64 (__int64 n) { +char * WCMD_filesize64 (__uint64 n) { -__int64 q; -int r, i; +__uint64 q; +uint r, i; char *p; static char buff[32];