Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37910670
en ru br
ALT Linux repositórios
S:1.21.2-alt1
5.0: 1.6.3-alt6.M50.2
4.1: 1.6.3-alt3.M41.4
4.0: 1.5.1-alt4.M40.5
+updates:1.5.1-alt4.M40.5
3.0: 1.4.1-alt1

Group :: Sistema/Bibliotecas
RPM: krb5

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: krb5-1.3-rh-large-file.patch
Download


The size might be a long long, so deal with that.
--- krb5-1.3/src/appl/gssftp/ftpd/ftpcmd.y
+++ krb5-1.3/src/appl/gssftp/ftpd/ftpcmd.y
@@ -1515,12 +1515,12 @@
 		    (stbuf.st_mode&S_IFMT) != S_IFREG)
 			reply(550, "%s: not a plain file.", filename);
 		else
-			reply(213, "%lu", (long) stbuf.st_size);
+			reply(213, "%llu", (long long) stbuf.st_size);
 		break;}
 	case TYPE_A: {
 		FILE *fin;
 		register int c;
-		register long count;
+		register long long count;
 		struct stat stbuf;
 		fin = fopen(filename, "r");
 		if (fin == NULL) {
@@ -1542,7 +1542,7 @@
 		}
 		(void) fclose(fin);
 
-		reply(213, "%ld", count);
+		reply(213, "%lld", count);
 		break;}
 	default:
 		reply(504, "SIZE not implemented for Type %c.", "?AEIL"[type]);
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009