Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 250897 - open(3) declaration broken
open(3) declaration broken
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Jakub Jelinek
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-08-04 15:14 EDT by Enrico Scholz
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-05 13:58:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2007-08-04 15:14:03 EDT
Description of problem:

The open(3) declaration is broken and code like

|  fd = open(file, O_RDONLY);

fails with

| src/vlimit.c: In function 'readFile':
| src/vlimit.c:280: warning: ISO C forbids empty initializer braces
| src/vlimit.c:280: error: zero or negative size array '___arr'
| src/vlimit.c:280: warning: ISO C forbids zero-size array '__open_too_many_args'
| src/vlimit.c:280: warning: ISO C forbids braced-groups within expressions

and lot of bogus "ISO C forbids ..." warnings are cluttering the build.

See http://koji.fedoraproject.org/koji/getfile?taskID=88648&name=build.log
for full log.

Version-Release number of selected component (if applicable):

Comment 1 Jakub Jelinek 2007-08-05 13:58:38 EDT
Should be fixed in glibc-2.6.90-4.

Note You need to log in before you can comment on or make changes to this bug.