delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/24/20:54:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Mon, 24 May 2010 21:53:57 -0300
Message-ID: <AANLkTilj0ibdniK6n3KMVFwPcR8blxZssu-yA4K-n4hi@mail.gmail.com>
Subject: FTW_PHYS
From: Pedro Izecksohn <pedro DOT izecksohn AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

  I wrote a small C++ application:
http://www.izecksohn.com/pedro/c++/biggest/
that exhibits an unwanted behavior on Cygwin:

./biggest.exe -m -n -1 -d / > Cygwin\ files

head Cygwin\ files
8222222 /lib/gcc/i686-pc-cygwin/4.3.4/cc1plus.exe
8222222 /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1plus.exe
7667214 /lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe
7667214 /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe
7527198 /lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.a
7527198 /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.a

  But biggest.c++ uses FTW_PHYS in flags to call nftw.

  So, why the duplicated entries shown above?

P.S.: I know that I promised to contribute some code and I did not. My
project took another way.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019