[patch]: Fix uzip for really big filesizes



Hello,

this patch fixes uzip for really big filesizes:

-rw-a--     6.0 fat 4294967295 tx 645920710 defX 20050915.174656 bigfile.txt

!!! DO NOT REPLY TO THE SENDER OF THIS EMAIL IF YOU ARE NOT IN WHITE LIST !!!
-- 
Regards,
Andrew V. Samoilov

________________________________________________________________
GET INTERNET ACCESS FROM BCS! http://www.bcs.zp.ua
Join BCS today! For your FREE webmail, visit: http://email.zp.ua/
vfs/ChangeLog:

2006-05-05  Andrew V. Samoilov  <andrew email zp ua>

	* extfs/uzip.in (print_file): Use %8s instead of %8d 
	printf() pattern to print really big "realsize"
	
*** vfs/extfs/uzip.in	Fri Dec 26 15:36:00 2003
--- vfs/extfs/uzip.in	Fri May  5 18:49:31 2006
***************
*** 285,291 ****
  	if ($platform ne 'unx') {
  		$perms = ($filename =~ /\/$/ ? 'drwxr-xr-x' : '-rw-r--r--');
  	}
! 	printf "%-10s    1 %-8d %-8d %8d %s %s %s %s:%s %s", $perms, $<,
  		$(, $realsize, $mon, $day, $year, $hours, $mins, $filename;
  	if ($platform eq 'unx' && $perms =~ /^l/) {
  		my $linkdest = &get_link_destination($filename);
--- 285,291 ----
  	if ($platform ne 'unx') {
  		$perms = ($filename =~ /\/$/ ? 'drwxr-xr-x' : '-rw-r--r--');
  	}
! 	printf "%-10s    1 %-8d %-8d %8s %s %s %s %s:%s %s", $perms, $<,
  		$(, $realsize, $mon, $day, $year, $hours, $mins, $filename;
  	if ($platform eq 'unx' && $perms =~ /^l/) {
  		my $linkdest = &get_link_destination($filename);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]