From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: gnulib fsusage Date: Thu, 19 Jan 2023 12:26:18 +0200 Message-ID: <83lelyzuph.fsf@gnu.org> References: <87bkmv6z36.fsf.ref@yahoo.com> <87bkmv6z36.fsf@yahoo.com> <83y1pzyqed.fsf@gnu.org> <875yd296la.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37279"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 19 11:26:38 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pIS7v-0009TO-VU for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Jan 2023 11:26:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIS7T-0000ka-Tr; Thu, 19 Jan 2023 05:26:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIS7S-0000jg-9R for emacs-devel@gnu.org; Thu, 19 Jan 2023 05:26:06 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIS7S-0001Bw-0p; Thu, 19 Jan 2023 05:26:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=PPhg8x663+iKu9sXeadf2bMyF9ZNTTJMURcQ1zneNIo=; b=sRtjt1u5GKew TZRo62eMh7goPrEKJteK5wkuFGH+QzhR5IzZa6FvBerO0BULlhiMq6eB8YjNkZ9ikNDkKvWL3W5WA pMp4dOxHoJW5SsP3+D2B4qetL5+ZjIuOhj+MzcaJXKuZFF9A7cTQuw3YGCBXlRDTkt5ZuYIRI+gDh uIuHUSOvjxb9pJx5lxmShEkc7pxdYz3tLUSI7311smkZDThMmfYptFrFO5D3CRLz8E7eTD/ibJdsv JXbMQop8pdEUhZWZnVLb1I7dg60w7XhTZIo/rivih5xzR/pVJCh8KB9RsQSBHom/xOFj2o44e9Wg0 acLIWmYPZi2rLlS5nw5LCg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIS7O-0005q6-If; Thu, 19 Jan 2023 05:26:03 -0500 In-Reply-To: <875yd296la.fsf@yahoo.com> (message from Po Lu on Thu, 19 Jan 2023 18:11:45 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302540 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Thu, 19 Jan 2023 18:11:45 +0800 > > Eli Zaretskii writes: > > > Which port needs to exclude it, and why? Is that port going to > > implement its own version of file-system-info? We must have a > > non-trivial working implementation for each supported platform, > > because Dired (and Tramp?) uses it. > > The Android port doesn't support statvfs, because that function is > missing from the Android C library, apparently for security reasons. Don't you think your work on the Android port should be discussed more, and not just for the current minor issue? I'd hate to have those discussions when the port is ready, which means you will have invested a lot of hard labor in it. > > If the port you are considering will have its own implementation, then > > the same method as DOS_NT uses will be appropriate. > > I cannot find any way to do such an implementation, sorry. But if > someone else knows, that would be great. Thanks. At least return a list of 3 numbers (zeros?), not nil.