I was not originaly 100% comfortable with this patch... it
adds an rs_file_close to fileutil.h that special-cases
closing stdin or stdout. My first reaction was "this is not
a librsync thing, but an application thing that should only
go into rdiff"... however it seems fileutil.h is just a
corresponding rs_file_open, so this makes sense.
This patch also adds a popt cleanup at the end of rdiff.
Unless anyone complains real soon, I'm going to accept this
patch for inclusion in 0.9.6.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
rdiff cosmetic patch
Logged In: YES
user_id=10273
I was not originaly 100% comfortable with this patch... it
adds an rs_file_close to fileutil.h that special-cases
closing stdin or stdout. My first reaction was "this is not
a librsync thing, but an application thing that should only
go into rdiff"... however it seems fileutil.h is just a
corresponding rs_file_open, so this makes sense.
This patch also adds a popt cleanup at the end of rdiff.
Unless anyone complains real soon, I'm going to accept this
patch for inclusion in 0.9.6.