~ubuntu-branches/ubuntu/gutsy/slocate/gutsy

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/usr/src
/usr/src/cmd/aardvark.c
/usr/src/cmd/armadillo.c
/usr/tmp/zoo

L:  /usr/src
PL: ''
D:  0 == #_matching(L, PL)
PD: 0
P:  0 /usr/src == (D - PD) (L - PL)

L:  /usr/src/cmd/aardvark.c
PL: /usr/src
D:  8 == #_matching(L, PL)
PD: 0
P:  8 /cmd/aardvark.c == (D - PD) (L - PL)

L:  /usr/src/cmd/armadillo.c
PL: /usr/src/cmd/aardvark.c
D:  14 == #_matching(L, PL)
PD: 8
P:  6 rmadillo.c == (D - PD) (L - PL)

L:  /usr/tmp/zoo
PL: /usr/src/cmd/armadillo.c
D:  5
PD: 14
P:  -9 tmp/zoo == (D - PD) (L - PL)


0 /usr/src
8 /cmd/aardvark.c
6 rmadillo.c
-9 tmp/zoo


# PL(D) func == If D >= 0 then the first D bytes
#               If D < 0 then remove D bytes, then truncate W+PL by D bytes

W:  ''
PL: ''

D: 0
W: '' == W + PL(D)
L: /usr/src
P: /usr/src == W + L

D: 8
W: /usr/src == W + PL(D)
L: /cmd/aardvark.c
P: /usr/src/cmd/aardvark.c == W + L

D: 6
W: /usr/src/cmd/a == W + PL(D)
L: rmadillo.c
P: /usr/src/cmd/armadillo.c == W + L

D: -9
W:  /usr/ == W + PL(D)
L: tmp/zoo
P: /usr/tmp/zoo == W + L




0 /home/klindsay/src
18 /slocate_2.7-1.dsc
15 tar.gz
-7 -2.7.new
8 /Makefile.am
1 src
3 /slocate.c
9 h
-8 utils.c
6 h
-6 Makefile.in
9 am
-1 
-8 .deps
5 /slocate.P
1 utils.P
-6 slocate.o
0 utils.o

/home/klindsay/src
/home/klindsay/src/slocate_2.7-1.dsc
/home/klindsay/src/slocate_2.7-1.tar.gz
/home/klindsay/src/slocate-2.7.new
/home/klindsay/src/slocate-2.7.new/Makefile.am
/home/klindsay/src/slocate-2.7.new/src
/home/klindsay/src/slocate-2.7.new/src/slocate.c
/home/klindsay/src/slocate-2.7.new/src/slocate.h