Summary: | ASTERISK-03846: [patch] Compile warning for chmod | ||
Reporter: | Olle Johansson (oej) | Labels: | |
Date Opened: | 2005-04-03 14:31:55 | Date Closed: | 2008-01-15 15:30:21.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asteriskchmod.txt ( 1) mkdir.txt | |
Description: | With GCC 3.4 :-) I get a compile warning for chmod, which is solved by including sys/stat.h Disclaimer on file | ||
Comments: | By: Olle Johansson (oej) 2005-04-03 14:47:51 Added similar patch for mkdir in app-sms. Don't know if this is needed on Linux, but it's needed on FreeBSD. By: Kevin P. Fleming (kpfleming) 2005-04-03 15:33:13 Committed to CVS, thanks! (Yes, the Linux manpages also say that <sys/stat.h> is to be included for these functions). By: Russell Bryant (russell) 2005-04-04 01:41:36 Fixed the one for app_sms in 1.0 chmod is not in asterisk.c in 1.0 By: Digium Subversion (svnbot) 2008-01-15 15:30:12.000-0600 Repository: asterisk Revision: 5366 U trunk/apps/app_sms.c U trunk/apps/app_test.c U trunk/asterisk.c ------------------------------------------------------------------------ r5366 | kpfleming | 2008-01-15 15:30:11 -0600 (Tue, 15 Jan 2008) | 2 lines ensure that needed headers are included for chmod() and mkdir() (bug ASTERISK-3846) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5366 By: Digium Subversion (svnbot) 2008-01-15 15:30:21.000-0600 Repository: asterisk Revision: 5377 U branches/v1-0/apps/app_sms.c ------------------------------------------------------------------------ r5377 | russell | 2008-01-15 15:30:20 -0600 (Tue, 15 Jan 2008) | 2 lines fix compile warning for FreeBSD (bug ASTERISK-3846) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5377 |