Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Date: Thu, 12 Aug 1999 11:37:18 +0400 From: Egor Duda X-Mailer: The Bat! (v1.029) S/N A0F2A05A Reply-To: Egor Duda Organization: DEO Message-ID: <9484.990812@logos-m.ru> To: cygwin-developers CC: Chris Faylor Subject: stat_worker patch and suggestion Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------5115524FA37B254" ------------5115524FA37B254 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Attached patch make stat functions recognize UNC paths as remote. It speeds up fstat operations on remote drives, which are not mapped to drive letters. BTW, what do you think of providing porters with some sort of "lite" versions of stat functions? Retrieving all stat information isn't always necessary, and opening file to get it's st_ino and scanning directory to get st_nlinks are quite time-consuming operations. Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 ------------5115524FA37B254 Content-Type: application/x-gzip; name="stat_worker_remote.diff.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="stat_worker_remote.diff.gz" H4sICMR3sjcAA3N0YXRfd29ya2VyX3JlbW90ZS5kaWZmANWQTWuDQBCGz+ZXjDmEXdEQ13ygxUNB KaGpgpj2UlisbsxSY4IfLSH58V01taSQS2992cPM7PMOM6MoCpTHMo6yrBzvC55KYc3gvk5Bn4hn GQuLmKCbpjnQNO0HjWMp3NYdSGBiWGRm6bMOVK7V5GDO56q5INAW4CK0L+kb43lKizoH24ZPnnth /w2jESCEkup4YGDDA6ucgn+wsElR0oQYg2yDEyyfXer5NPD9kDrLQHSQvht07p4K3Cc/dAfyTWDt PXr+i4eFLoOc+oE22yhPMlbQhJfvdMMzJkqAvPVqhe8E1Z6o23QKItb+w6aCuFIzSlkVebw7ABJj GoTm0Y6pMHwVGqpAMJzPv12N5Nu2ceucYvy3u34BjzIhLqYCAAA= ------------5115524FA37B254--