From d56ee13624590129c49ed2424c1ee2814837e560 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 15 Jun 2007 20:00:49 +0000 Subject: document the fact that build_synthesis returns true on success --- URPM/Build.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'URPM/Build.pm') diff --git a/URPM/Build.pm b/URPM/Build.pm index 66de723..72df420 100644 --- a/URPM/Build.pm +++ b/URPM/Build.pm @@ -445,6 +445,7 @@ sub build_hdlist { #- end : index of last package (defaults to last index of depslist). #- idlist : id list of rpm to compute (defaults is start .. end) #- ratio : compression ratio (default 9). +#- returns true on success sub build_synthesis { my ($urpm, %options) = @_; my ($ratio, @idlist); @@ -477,7 +478,7 @@ sub build_synthesis { $pkg->build_info($options{synthesis} ? fileno $fh : $options{fd}, join('@', keys %files)); } - close $fh; + close $fh; # returns true on success } #- write depslist.ordered file according to info in params. -- cgit v1.2.1