[asterisk-commits] jpeeler: trunk r165992 - /trunk/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Dec 19 13:49:25 CST 2008
Author: jpeeler
Date: Fri Dec 19 13:49:25 2008
New Revision: 165992
URL: http://svn.digium.com/view/asterisk?view=rev&rev=165992
Log:
Blocked revisions 165991 via svnmerge
........
r165991 | jpeeler | 2008-12-19 13:48:00 -0600 (Fri, 19 Dec 2008) | 15 lines
(closes issue #13480)
Reported by: tzafrir
Replace a bunch of if defined checks for Zaptel/DAHDI through several new defines in dahdi_compat.h. This removes a lot of code duplication. Example from bug:
#ifdef HAVE_ZAPTEL
fd = open("/dev/zap/pseudo", O_RDWR);
#else
fd = open("/dev/dahdi/pseudo", O_RDWR);
#endif
is replaced with:
fd = open(DAHDI_FILE_PSEUDO, O_RDRW);
........
Modified:
trunk/ (props changed)
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-blocked' - no diff available.
More information about the asterisk-commits
mailing list