Summary: | DAHTOOL-00003: xpp/dahdi_genconf | ||
Reporter: | James Finstrom (jfinstrom) | Labels: | |
Date Opened: | 2008-10-03 11:33:26 | Date Closed: | 2008-10-03 14:28:11 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Utilities |
Versions: | 2.0.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ( 0) genconf_defaults_fix.diff | |
Description: | genconf_parameters does not install to /etc/dahdi/ so use of dahdi_genconf produces an error because it can not find the file. | ||
Comments: | By: Sean Bright (seanbright) 2008-10-03 13:55:54 I am relatively confident that this is the correct fix, but I will defer to tzafrir for confirmation. By: Tzafrir Cohen (tzafrir) 2008-10-03 14:00:00 This is a leftover from the time when there were two potential config files and this test was supposed to check that exactly one is in use. 0 is also a valid number now. This is an issue in Dahdi::Config::GenconfDefaults By: Sean Bright (seanbright) 2008-10-03 14:14:41 The patch I attached is not the correct fix as it only handles the 'make install' case and not others. Deleting... By: Digium Subversion (svnbot) 2008-10-03 14:27:09 Repository: dahdi Revision: 5044 U tools/trunk/xpp/perl_modules/Dahdi/Config/GenconfDefaults.pm ------------------------------------------------------------------------ r5044 | tzafrir | 2008-10-03 14:27:08 -0500 (Fri, 03 Oct 2008) | 4 lines When the config file is not found: return "empty" data and don't die. Closes issues DAHTOOL-3 . ------------------------------------------------------------------------ http://svn.digium.com/view/dahdi?view=rev&revision=5044 |