(patch) Windres use temp file as well as popen

Nick Clifton nickc@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


Hi Mumit,

: 2000-01-03  Mumit Khan  <khan@xraylith.wisc.edu>
: 
: 	* windres.c (long_options): Add --use-temp-file and 
: 	--no-use-temp-file options.
: 	(usage): Document.
: 	(main): Handle.
: 	* windres.h: Update read_rc_file prototype.
: 	* resrc.c (cpp_temp_file): New static variable.
: 	(istream_type): New static variable.
: 	(close_pipe): Delete function.
: 	(run_cmd): New static function.
: 	(open_input_stream): New static function.
: 	(close_input_stream): New static function.
: 	(look_for_default): Handle DOS directory separator. Use 
: 	open_input_stream instead of popen.
: 	(read_rc_file): Likewise.
: 	* binutils.texi: Document --use-temp-file, --no-use-temp-file options.

This patch is fine.

I have applied it to the source tree for you.

Cheers
	Nick


More information about the Binutils mailing list