Changeset 7ba9e0de for functions.c
- Timestamp:
- May 16, 2010, 1:15:15 AM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 3687413
- Parents:
- 700dc91
- git-author:
- David Benjamin <davidben@mit.edu> (05/14/10 17:40:48)
- git-committer:
- David Benjamin <davidben@mit.edu> (05/16/10 01:15:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
rff426f9 r7ba9e0de 1992 1992 newbuff = owl_sprintf("%s%s", buff, redirect); 1993 1993 1994 if (type == 1) {1994 if (type == OWL_OUTPUT_POPUP) { 1995 1995 owl_popexec_new(newbuff); 1996 1996 } else { … … 1999 1999 pclose(p); 2000 2000 2001 if (type ==1) {2001 if (type == OWL_OUTPUT_POPUP) { 2002 2002 owl_function_popless_text(out); 2003 } else if (type ==0) {2003 } else if (type == OWL_OUTPUT_RETURN) { 2004 2004 owl_free(newbuff); 2005 2005 return out; 2006 } else if (type ==2) {2006 } else if (type == OWL_OUTPUT_ADMINMSG) { 2007 2007 owl_function_adminmsg(buff, out); 2008 2008 } else { … … 2034 2034 perlout = owl_perlconfig_execute(buff); 2035 2035 if (perlout) { 2036 if (type ==1) {2036 if (type == OWL_OUTPUT_POPUP) { 2037 2037 owl_function_popless_text(perlout); 2038 } else if (type ==2) {2038 } else if (type == OWL_OUTPUT_ADMINMSG) { 2039 2039 owl_function_adminmsg(buff, perlout); 2040 } else if (type ==0) {2040 } else if (type == OWL_OUTPUT_RETURN) { 2041 2041 return perlout; 2042 2042 } else {
Note: See TracChangeset
for help on using the changeset viewer.