]> git.saurik.com Git - apt.git/blobdiff - cmdline/indexcopy.cc
Japanese documentation update. Closes: #265720
[apt.git] / cmdline / indexcopy.cc
index 48edb143accb08c9160c29c0b5f743671c507b5d..0a3cd1575fd7752ec0b9a2f5010b54c9e4c1237c 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: indexcopy.cc,v 1.9 2001/08/18 22:20:40 jgg Exp $
+// $Id: indexcopy.cc,v 1.10 2002/03/26 07:38:58 jgg Exp $
 /* ######################################################################
 
    Index Copying - Aid for copying and verifying the index files
@@ -19,7 +19,7 @@
 #include <apt-pkg/configuration.h>
 #include <apt-pkg/tagfile.h>
 
-#include <iostream.h>
+#include <iostream>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <stdio.h>
@@ -83,7 +83,7 @@ bool IndexCopy::CopyPackages(string CDROM,string Name,vector<string> &List)
         fclose(tmp);
         
         // Fork gzip
-        int Process = fork();
+        pid_t Process = fork();
         if (Process < 0)
            return _error->Errno("fork","Couldn't fork gzip");