Summary: | ASTERISK-04724: asterisk -rx not exit on linuxppc | ||
Reporter: | Marco Dal Sasso (marcods) | Labels: | |
Date Opened: | 2005-07-29 03:15:40 | Date Closed: | 2005-07-29 05:20:25 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | The command asterisk -rx "....." after the output not return to the shell if running on a linuxppc system (Mac mini with Fedora Core 4 for me). Changing the source code the main source code asterisk.c from: ------------------------------------------------------------------------- if (option_exec && data) { /* hack to print output then exit if asterisk -rx is used */ char tempchar; struct pollfd fds[0];<<<<<<<<-------------------- ------------------------------------------------------------------------- TO: ------------------------------------------------------------------------- if (option_exec && data) { /* hack to print output then exit if asterisk -rx is used */ char tempchar; struct pollfd fds[1];<<<<<<<<------------------------ ------------------------------------------------------------------------- can solve the bug. Bye and sorry for my english | ||
Comments: |