[asterisk-bugs] [Zaptel 0010505]: fxotune.c:827: error: size of array '__open_missing_mode' is negative

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 13:15:59 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10505 
====================================================================== 
Reported By:                thimm
Assigned To:                tzafrir
====================================================================== 
Project:                    Zaptel
Issue ID:                   10505
Category:                   Utilities
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Zaptel Version:             1.4.4  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             08-20-2007 21:12 CDT
Last Modified:              06-07-2008 13:15 CDT
====================================================================== 
Summary:                    fxotune.c:827: error: size of array
'__open_missing_mode' is negative
Description: 
from open(2)
       mode must be specified when O_CREAT is in the  flags,  and  is 
ignored
       otherwise.

Recent glibc like the one to be shipped with F8 changed open usage in two
ways: first it needs to be treated as a macro (as defined in POSIX) and
secondly the mode is mandatory for O_CREAT (it was random if missing until
now)


====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 13:15  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 2939

_U  be/branches/C.1/
U   be/branches/C.1/Makefile
U   be/branches/C.1/firmware/Makefile
U   be/branches/C.1/fxotune.c
U   be/branches/C.1/wctdm24xxp/GpakCust.c
U   be/branches/C.1/wctdm24xxp/GpakCust.h
U   be/branches/C.1/wctdm24xxp/base.c
U   be/branches/C.1/wctdm24xxp/wctdm24xxp.h
U   be/branches/C.1/xpp/README.Astribank
U   be/branches/C.1/xpp/xbus-core.c
U   be/branches/C.1/zaptel.init

------------------------------------------------------------------------
r2939 | qwell | 2008-06-07 13:15:57 -0500 (Sat, 07 Jun 2008) | 71 lines

Merged revisions 2907,2911,2915,2917,2920,2922,2924,2934 via svnmerge from

https://origsvn.digium.com/svn/zaptel/branches/1.4

................
r2907 | tzafrir | 2007-08-19 07:12:42 -0500 (Sun, 19 Aug 2007) | 6 lines

Fix README.Astribank with asciidoc 8.2.2: make "underlining" more
strict. (xpp r4519)

Merged revisions 2906 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.2

................
r2911 | tzafrir | 2007-08-20 08:29:25 -0500 (Mon, 20 Aug 2007) | 7 lines

* Set maximal zaptel udev timeout to 20 seconds.
* Allow overriding it from cwrcconfconfig file (and explain how).

(From trunk r2909 - got accidentally commited there first).
Merged revisions 2910 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.2

................
r2915 | tzafrir | 2007-08-21 03:21:44 -0500 (Tue, 21 Aug 2007) | 9 lines

* Add an explicit mode to the callto open (the default one that is used
  anyway).
* Clarify error message.

closes http://bugs.digium.com/view.php?id=10505 on Zaptel 1.4.

Merged revisions 2914 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.2

................
r2917 | russell | 2007-08-21 10:02:43 -0500 (Tue, 21 Aug 2007) | 1 line

change ftp to downloads
................
r2920 | tzafrir | 2007-08-21 11:49:31 -0500 (Tue, 21 Aug 2007) | 5 lines

Fix building on kernel 2.6.23rc1, from Axel Thimm (xpp r4523).

Merged revisions 2919 via svnmerge from 
http://svn.digium.com/svn/zaptel/branches/1.2

................
r2922 | mattf | 2007-08-21 13:11:37 -0500 (Tue, 21 Aug 2007) | 1 line

Add some 2.4 Makefile trickery for wctdm24xxp
................
r2924 | mattf | 2007-08-21 13:42:19 -0500 (Tue, 21 Aug 2007) | 9 lines

Merged revisions 2923 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.2

........
r2923 | mattf | 2007-08-21 13:40:23 -0500 (Tue, 21 Aug 2007) | 1 line

Allow wctdm24xxp to compile on a 2.4 based kernel
........

................
r2934 | qwell | 2007-08-22 10:04:10 -0500 (Wed, 22 Aug 2007) | 4 lines

Reverse logic which checks for existing zaptel.conf

Issue 10527, reported by arcivanov.

................

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=2939 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 13:15  svnbot         Note Added: 0088317                          
======================================================================




More information about the asterisk-bugs mailing list