Преглед на файлове

Dpkg::IPC: Document function signatures

Guillem Jover преди 11 години
родител
ревизия
5604301ada
променени са 2 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 1 0
      debian/changelog
  2. 2 2
      scripts/Dpkg/IPC.pm

+ 1 - 0
debian/changelog

@@ -36,6 +36,7 @@ dpkg (1.18.0) UNRELEASED; urgency=low
   * Enable sub-second timestamps in Dpkg::Source::Patch by using Time::HiRes.
   * Use TMPDIR instead of manually setting DIR on tempfile() call in
     Dpkg::Source::Package::V2.
+  * Document Dpkg::IPC function signatures.
 
  -- Guillem Jover <guillem@debian.org>  Tue, 09 Dec 2014 23:53:18 +0100
 

+ 2 - 2
scripts/Dpkg/IPC.pm

@@ -46,7 +46,7 @@ from you.
 
 =over 4
 
-=item spawn
+=item my $pid = spawn(%opts)
 
 Creates a child process and executes another program in it.
 The arguments are interpreted as a hash of options, specifying
@@ -337,7 +337,7 @@ sub spawn {
 }
 
 
-=item wait_child
+=item wait_child($pid, %opts)
 
 Takes as first argument the pid of the process to wait for.
 Remaining arguments are taken as a hash of options. Returns