Re: [dev] [surf] [patch] Close stdout after printing XID

From: Abby Cedar <abbycedar_AT_yahoo.com.au>
Date: Sun, 19 Feb 2012 04:47:02 -0800 (PST)

>> Need to close stdout otherwise it can't be used in a script until surf >> finishes. > > Am I missing something?  Why not just use flose(stdout)? Using only fclose would result in Bad file descriptor errors on future attempts to write to stdout. freopen is cleaner.
Received on Sun Feb 19 2012 - 13:47:02 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 19 2012 - 13:48:03 CET