// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-cdrom.cc,v 1.12 1998/12/09 01:03:00 jgg Exp $
+// $Id: apt-cdrom.cc,v 1.13 1998/12/09 05:57:17 jgg Exp $
/* ######################################################################
APT CDROM - Tool for handling APT's CDROM database.
for (I = 0; I != Depth; I++)
if (Inodes[I] == Buf.st_ino)
break;
- if (Inodes[I] == Buf.st_ino)
+ if (I != Depth)
+ {
+ cout << "Inode throw away " << Dir->d_name << endl;
continue;
-
+ }
+
// Store the inodes weve seen
Inodes[Depth] = Buf.st_ino;
int Res = 0;
if (Path.find("stable/") != string::npos)
Res += 2;
+ if (Path.find("/binary-") != string::npos)
+ Res += 2;
if (Path.find("frozen/") != string::npos)
Res += 2;
if (Path.find("/dists/") != string::npos)