Changeset 2442 for trunk/packages
- Timestamp:
- Aug 29, 2011, 6:22:01 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/pymolproxy/pymolproxy.c
r2441 r2442 2110 2110 fcntl(proxyPtr->cin, F_SETFL, flags|O_NONBLOCK); 2111 2111 2112 #ifdef notdef 2112 2113 flags = fcntl(proxyPtr->sout, F_GETFL); 2113 2114 fcntl(proxyPtr->sout, F_SETFL, flags|O_NONBLOCK); … … 2115 2116 flags = fcntl(proxyPtr->cout, F_GETFL); 2116 2117 fcntl(proxyPtr->cout, F_SETFL, flags|O_NONBLOCK); 2118 #endif 2117 2119 2118 2120 /* Read file descriptors. */ … … 2129 2131 2130 2132 Tcl_Eval(proxyPtr->interp, "reset\n"); 2131 if (write( cout, "PyMol 1.0\n", 10) != 10) {2133 if (write(proxyPtr->cout, "PyMol 1.0\n", 10) != 10) { 2132 2134 ERROR("short write of signature"); 2133 2135 }
Note: See TracChangeset
for help on using the changeset viewer.