From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s79NR2Ag001141 for ; Sat, 9 Aug 2014 19:27:02 -0400 (EDT) Received: by mail-we0-f176.google.com with SMTP id q58so7059812wes.7 for ; Sat, 09 Aug 2014 16:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=M97lPfu6iZWkSziuGkrbRdx3LTltCLi/FLxe5Ed+1U0=; b=OCyK3VPAorc8o8FdqEiXsXwqTKPdCRhYJj05KUdXJ0v3KZOOOCkRrxvhnKiM4Wgx6t guqxFH5FRm/wOtPsoKXqdnBZDV/gFd8MhFIN3tdCmtK99rN+jfWwxRNSwD/x2TnpcM2J FJWhUU4d5SL8iy3KJ2afJqjKMjzSr28FFznJMIfQ7au6Dxwc8b8171MxaY094eF0gzpk 8vHHutpTWCqAblV5NT+0Ct7G3g1KdM1JN4TUYRbPzF4XPSwfb6oOwjQ/MIQRiCwLOUWm +ZLdNh5lzjygDPm3nX67lWTbBfhxObn/deIVQn69p9GnPdoJmkiNwZiigYvETYJqv2Ga Yr3Q== X-Received: by 10.180.75.49 with SMTP id z17mr13156127wiv.80.1407626816192; Sat, 09 Aug 2014 16:26:56 -0700 (PDT) Received: from sigil.Belkin ([109.231.16.247]) by mx.google.com with ESMTPSA id gi15sm27814824wjc.20.2014.08.09.16.26.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Aug 2014 16:26:55 -0700 (PDT) Date: Sun, 10 Aug 2014 01:26:53 +0200 From: Paul Onyschuk To: Ingo Schwarze Cc: discuss@mdocml.bsd.lv Subject: Re: Portability of fts() functions Message-Id: <20140810012653.1335f4c61425e53a657ac8dc@gmail.com> In-Reply-To: <20140809215919.GA32716@iris.usta.de> References: <20140809123827.6df5072f894ac5795f4228d3@gmail.com> <20140809154928.GD30999@iris.usta.de> <20140809190923.aa172f22b838ade5621fe601@gmail.com> <20140809215919.GA32716@iris.usta.de> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.23; x86_64-alpine-linux-musl) X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 9 Aug 2014 23:59:19 +0200 Ingo Schwarze wrote: > Oh you mean if mandoc is compiled on a 32bit glibc platform with 32bit > off_t but more than 2 billion files in one file system or files larger > than 2 GB inside a manual tree, mandoc will compile all right, > but i may crash at runtime due to the broken fts(3) implementation > contained in glibc? Did i get that right? I think you got it right. > I'm not sure what i could do about that - both in the long term > and as a quick fix for this release. What would you suggest? There isn't much you to do about for time now I guess. Explanation in readme and that "BUILD_TARGETS += db-build" won't compile on systems without fts(3) would do. > Indeed, that sounds bad. > > I guess i won't change that for this release, though. I worry that > if we are very unlucky, whatever guard i put in there might break > on another system that was already tested and may not be tested > again. > > For the next release, i have to keep this in mind. > I might do some more cleanup related to configure, anyway. What about something like that before 'set -e': echo "/* RUNNING ./CONFIGURE - SHOULD BE USED ONLY VIA MAKE, READ INSTALL */" Maybe that would be enough? -- Paul Onyschuk -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv