delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
Path: | not-for-mail |
From: | Shankar Unni <shankar AT cotagesoft DOT com> |
Subject: | Re: 1.3.15: "ls -l" integer overflow |
Date: | Fri, 08 Nov 2002 11:02:57 -0800 |
Lines: | 16 |
Message-ID: | <3DCC0A61.4070903@cotagesoft.com> |
References: | <20021108051247 DOT GA1904 AT caip DOT rutgers DOT edu> |
NNTP-Posting-Host: | adsl-64-165-207-59.dsl.snfc21.pacbell.net |
Mime-Version: | 1.0 |
X-Trace: | main.gmane.org 1036782165 8346 64.165.207.59 (8 Nov 2002 19:02:45 GMT) |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
NNTP-Posting-Date: | Fri, 8 Nov 2002 19:02:45 +0000 (UTC) |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016 |
X-Accept-Language: | en-us, en |
In-Reply-To: | <20021108051247.GA1904@caip.rutgers.edu> |
Rares Boian wrote: > However, "ls -lh" seems to be able to deal with that number and > reports it correctly as 16-exabytes. ^^^^^^^^^ What?!? 16 exabytes?! That's what? 16 * 10^18? Are you joking? All the disks on earth wouldn't add up to that capacity. (Well, maybe they would in these days of cheap 100GB disks, but it's a close thing :-). It's simply reporting the 18446744072770031616 number in a compact format. The internal *value* is wrong, because it's doing an incorrect 32->64 bit conversion somewhere, but the format doesn't make the result correct. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |