From unknown Mon Aug 18 02:31:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9077: coreutils-8.12: fiemap.h uses "struct fiemap_extent fm_extents[0];" Resent-From: "Joachim Schmitz" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 14 Jul 2011 07:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9077 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 9077@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.131062705532425 (code B ref -1); Thu, 14 Jul 2011 07:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jul 2011 07:04:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhFy2-0008Qw-Dh for submit@debbugs.gnu.org; Thu, 14 Jul 2011 03:04:14 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhFy0-0008Qj-0a for submit@debbugs.gnu.org; Thu, 14 Jul 2011 03:04:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhFxt-0001Q4-MQ for submit@debbugs.gnu.org; Thu, 14 Jul 2011 03:04:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:33661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhFxt-0001Q0-L0 for submit@debbugs.gnu.org; Thu, 14 Jul 2011 03:04:05 -0400 Received: from eggs.gnu.org ([140.186.70.92]:60574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhFxs-0000Nn-Ea for bug-coreutils@gnu.org; Thu, 14 Jul 2011 03:04:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhFxr-0001PV-8e for bug-coreutils@gnu.org; Thu, 14 Jul 2011 03:04:04 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:56848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhFxq-0001PJ-QV for bug-coreutils@gnu.org; Thu, 14 Jul 2011 03:04:03 -0400 Received: from DualCore (dsdf-4db52e8d.pool.mediaWays.net [77.181.46.141]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0Lkgke-1RFDCn0MwW-00aXLP; Thu, 14 Jul 2011 09:04:01 +0200 From: "Joachim Schmitz" Date: Thu, 14 Jul 2011 09:03:56 +0200 Message-ID: <003801cc41f4$33196630$994c3290$@schmitz-digital.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0039_01CC4204.F6A48020" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AcxB8+H92kG8gSpfQXCBZGY0sS2uvQ== Content-Language: de X-Provags-ID: V02:K0:DfTHiHnU1+YBtf6GYEJnytV1TNPFPlFKsvufHNI2gFR OtAz2DeFb2CphwwSMtWsu7gY1eE2oFSDe9lFAL2oqWcZ8KP97o BZHG4GUReeDl4fEIInOnnsdsCSHiIpksfB+6zy/7wwlTDSz0hk R6BqRK8H+APLZCBkzwaYxVBSitazHGuAXQ/PgqdKwjxMbs/nlj KWbnqAB/OSAVLdIEerI7yde6i9A3JITyDY84N+hulE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.3 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) This is a multipart message in MIME format. ------=_NextPart_000_0039_01CC4204.F6A48020 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi folks fiemap.h uses struct fiemap_extent fm_extents[0]; My compiler (HP NonStop) disallows that. The following would be allowed though: struct fiemap_extent fm_extents[]; Bye, Jojo ------=_NextPart_000_0039_01CC4204.F6A48020 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi folks

 

fiemap.h uses

 

struct fiemap_extent = fm_extents[0];

 

My compiler (HP NonStop) disallows that. The following = would be allowed though:

 

struct fiemap_extent fm_extents[];

 

Bye, = Jojo

------=_NextPart_000_0039_01CC4204.F6A48020-- From unknown Mon Aug 18 02:31:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9077: coreutils-8.12: fiemap.h uses "struct fiemap_extent fm_extents[0]; " Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 14 Jul 2011 11:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9077 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Joachim Schmitz Cc: 9077@debbugs.gnu.org Received: via spool by 9077-submit@debbugs.gnu.org id=B9077.131064405127484 (code B ref 9077); Thu, 14 Jul 2011 11:48:02 +0000 Received: (at 9077) by debbugs.gnu.org; 14 Jul 2011 11:47:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhKO7-00079C-70 for submit@debbugs.gnu.org; Thu, 14 Jul 2011 07:47:31 -0400 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QhKO1-00078x-Ik for 9077@debbugs.gnu.org; Thu, 14 Jul 2011 07:47:25 -0400 Received: (qmail 96944 invoked from network); 14 Jul 2011 11:47:15 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 14 Jul 2011 11:47:15 -0000 Message-ID: <4E1ED6D5.2000801@draigBrady.com> Date: Thu, 14 Jul 2011 12:45:25 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 References: <003801cc41f4$33196630$994c3290$@schmitz-digital.de> In-Reply-To: <003801cc41f4$33196630$994c3290$@schmitz-digital.de> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 14/07/11 08:03, Joachim Schmitz wrote: > Hi folks > > fiemap.h uses > > struct fiemap_extent fm_extents[0]; > > My compiler (HP NonStop) disallows that. The following would be allowed > though: > > struct fiemap_extent fm_extents[]; The non standard "zero length array" syntax was copied from the linux kernel headers. Changing this to a C99 flexible array as you suggest, should be fine according to the constraints listed here: http://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html It results in identical object files with GCC here. I'll apply the above in your name. cheers, Pádraig. From unknown Mon Aug 18 02:31:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9077: coreutils-8.12: fiemap.h uses "struct fiemap_extent fm_extents[0]; " Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 14 Jul 2011 22:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9077 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: =?UTF-8?Q?P=C3=A1draig?= Brady Cc: Joachim Schmitz , 9077@debbugs.gnu.org Received: via spool by 9077-submit@debbugs.gnu.org id=B9077.131068381715606 (code B ref 9077); Thu, 14 Jul 2011 22:51:02 +0000 Received: (at 9077) by debbugs.gnu.org; 14 Jul 2011 22:50:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhUjY-00043f-Q5 for submit@debbugs.gnu.org; Thu, 14 Jul 2011 18:50:17 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhUjW-00043T-2I for 9077@debbugs.gnu.org; Thu, 14 Jul 2011 18:50:15 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id D9CED39E80F0; Thu, 14 Jul 2011 15:50:07 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yVkWAcJwU7FX; Thu, 14 Jul 2011 15:50:07 -0700 (PDT) Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 54E7F39E80E0; Thu, 14 Jul 2011 15:50:07 -0700 (PDT) Message-ID: <4E1F729F.4@cs.ucla.edu> Date: Thu, 14 Jul 2011 15:50:07 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Thunderbird/3.1.11 MIME-Version: 1.0 References: <003801cc41f4$33196630$994c3290$@schmitz-digital.de> <4E1ED6D5.2000801@draigBrady.com> In-Reply-To: <4E1ED6D5.2000801@draigBrady.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.1 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) On 07/14/11 04:45, P=E1draig Brady wrote: > The non standard "zero length array" syntax was copied from > the linux kernel headers. Changing this to a C99 flexible array > as you suggest, should be fine according to the constraints listed here= : Won't this break non-GCC compilers that don't support C99 flexible arrays? Instead, how about this patch? If I understand things correctly, it should fix the problem on NonStop, and should also work with pre-C99 non-GCC compilers. diff --git a/src/fiemap.h b/src/fiemap.h index 1938c74..e7243b4 100644 --- a/src/fiemap.h +++ b/src/fiemap.h @@ -51,8 +51,9 @@ struct fiemap =20 uint32_t fm_reserved; =20 - /* Array of mapped extents(out). */ - struct fiemap_extent fm_extents[0]; + /* Array of mapped extents(out). + The actual size is given by fm_extent_count. */ + struct fiemap_extent fm_extents[1]; }; =20 /* The maximum offset can be mapped for a file. */ From unknown Mon Aug 18 02:31:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9077: coreutils-8.12: fiemap.h uses "struct fiemap_extent fm_extents[0]; " Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 15 Jul 2011 01:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9077 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Paul Eggert Cc: Joachim Schmitz , 9077@debbugs.gnu.org Received: via spool by 9077-submit@debbugs.gnu.org id=B9077.131069239031740 (code B ref 9077); Fri, 15 Jul 2011 01:14:01 +0000 Received: (at 9077) by debbugs.gnu.org; 15 Jul 2011 01:13:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhWxp-0008Ft-Dt for submit@debbugs.gnu.org; Thu, 14 Jul 2011 21:13:09 -0400 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QhWxn-0008FW-KE for 9077@debbugs.gnu.org; Thu, 14 Jul 2011 21:13:08 -0400 Received: (qmail 22842 invoked from network); 15 Jul 2011 01:13:01 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 15 Jul 2011 01:13:01 -0000 Message-ID: <4E1F93AC.7030101@draigBrady.com> Date: Fri, 15 Jul 2011 02:11:08 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 References: <003801cc41f4$33196630$994c3290$@schmitz-digital.de> <4E1ED6D5.2000801@draigBrady.com> <4E1F729F.4@cs.ucla.edu> In-Reply-To: <4E1F729F.4@cs.ucla.edu> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 14/07/11 23:50, Paul Eggert wrote: > On 07/14/11 04:45, Pádraig Brady wrote: >> The non standard "zero length array" syntax was copied from >> the linux kernel headers. Changing this to a C99 flexible array >> as you suggest, should be fine according to the constraints listed here: > > Won't this break non-GCC compilers that don't support > C99 flexible arrays? Yes. But we require C99, and it would be interesting to see what features we could rely on going forward. I had checked with solaris compilers which support this since 2004 at least. Though saying that, the single element hack isn't too bad and might allow some other platform to build without issue. > Instead, how about this patch? If I understand things correctly, > it should fix the problem on NonStop, and should also work with > pre-C99 non-GCC compilers. feel free to push that cheers, Pádraig. From unknown Mon Aug 18 02:31:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Joachim Schmitz" Subject: bug#9077: closed (Re: bug#9077: coreutils-8.12: fiemap.h uses "struct fiemap_extent fm_extents[0]; ") Message-ID: References: <4E1FCB56.8070101@cs.ucla.edu> <003801cc41f4$33196630$994c3290$@schmitz-digital.de> X-Gnu-PR-Message: they-closed 9077 X-Gnu-PR-Package: coreutils Reply-To: 9077@debbugs.gnu.org Date: Fri, 15 Jul 2011 05:09:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1310706542-19189-1" This is a multi-part message in MIME format... ------------=_1310706542-19189-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #9077: coreutils-8.12: fiemap.h uses "struct fiemap_extent fm_extents[0];" which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 9077@debbugs.gnu.org. --=20 9077: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D9077 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1310706542-19189-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 9077-done) by debbugs.gnu.org; 15 Jul 2011 05:08:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qhads-0004z7-5j for submit@debbugs.gnu.org; Fri, 15 Jul 2011 01:08:48 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qhadp-0004yu-Ce for 9077-done@debbugs.gnu.org; Fri, 15 Jul 2011 01:08:46 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 3E5F939E80F7; Thu, 14 Jul 2011 22:08:39 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CBfqyoY-9VlY; Thu, 14 Jul 2011 22:08:38 -0700 (PDT) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id C785E39E80F2; Thu, 14 Jul 2011 22:08:38 -0700 (PDT) Message-ID: <4E1FCB56.8070101@cs.ucla.edu> Date: Thu, 14 Jul 2011 22:08:38 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10 MIME-Version: 1.0 To: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= Subject: Re: bug#9077: coreutils-8.12: fiemap.h uses "struct fiemap_extent fm_extents[0]; " References: <003801cc41f4$33196630$994c3290$@schmitz-digital.de> <4E1ED6D5.2000801@draigBrady.com> <4E1F729F.4@cs.ucla.edu> <4E1F93AC.7030101@draigBrady.com> In-Reply-To: <4E1F93AC.7030101@draigBrady.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 9077-done Cc: 9077-done@debbugs.gnu.org, Joachim Schmitz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On 07/14/11 18:11, P=C3=A1draig Brady wrote: > feel free to push that OK, thanks, done. ------------=_1310706542-19189-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Jul 2011 07:04:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhFy2-0008Qw-Dh for submit@debbugs.gnu.org; Thu, 14 Jul 2011 03:04:14 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhFy0-0008Qj-0a for submit@debbugs.gnu.org; Thu, 14 Jul 2011 03:04:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhFxt-0001Q4-MQ for submit@debbugs.gnu.org; Thu, 14 Jul 2011 03:04:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:33661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhFxt-0001Q0-L0 for submit@debbugs.gnu.org; Thu, 14 Jul 2011 03:04:05 -0400 Received: from eggs.gnu.org ([140.186.70.92]:60574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhFxs-0000Nn-Ea for bug-coreutils@gnu.org; Thu, 14 Jul 2011 03:04:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhFxr-0001PV-8e for bug-coreutils@gnu.org; Thu, 14 Jul 2011 03:04:04 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:56848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhFxq-0001PJ-QV for bug-coreutils@gnu.org; Thu, 14 Jul 2011 03:04:03 -0400 Received: from DualCore (dsdf-4db52e8d.pool.mediaWays.net [77.181.46.141]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0Lkgke-1RFDCn0MwW-00aXLP; Thu, 14 Jul 2011 09:04:01 +0200 From: "Joachim Schmitz" To: Subject: coreutils-8.12: fiemap.h uses "struct fiemap_extent fm_extents[0];" Date: Thu, 14 Jul 2011 09:03:56 +0200 Message-ID: <003801cc41f4$33196630$994c3290$@schmitz-digital.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0039_01CC4204.F6A48020" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AcxB8+H92kG8gSpfQXCBZGY0sS2uvQ== Content-Language: de X-Provags-ID: V02:K0:DfTHiHnU1+YBtf6GYEJnytV1TNPFPlFKsvufHNI2gFR OtAz2DeFb2CphwwSMtWsu7gY1eE2oFSDe9lFAL2oqWcZ8KP97o BZHG4GUReeDl4fEIInOnnsdsCSHiIpksfB+6zy/7wwlTDSz0hk R6BqRK8H+APLZCBkzwaYxVBSitazHGuAXQ/PgqdKwjxMbs/nlj KWbnqAB/OSAVLdIEerI7yde6i9A3JITyDY84N+hulE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) This is a multipart message in MIME format. ------=_NextPart_000_0039_01CC4204.F6A48020 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi folks fiemap.h uses struct fiemap_extent fm_extents[0]; My compiler (HP NonStop) disallows that. The following would be allowed though: struct fiemap_extent fm_extents[]; Bye, Jojo ------=_NextPart_000_0039_01CC4204.F6A48020 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi folks

 

fiemap.h uses

 

struct fiemap_extent = fm_extents[0];

 

My compiler (HP NonStop) disallows that. The following = would be allowed though:

 

struct fiemap_extent fm_extents[];

 

Bye, = Jojo

------=_NextPart_000_0039_01CC4204.F6A48020-- ------------=_1310706542-19189-1--