summaryrefslogtreecommitdiff
path: root/appl/lib
diff options
context:
space:
mode:
Diffstat (limited to 'appl/lib')
-rw-r--r--appl/lib/NOTICE2
-rw-r--r--appl/lib/names.b4
2 files changed, 3 insertions, 3 deletions
diff --git a/appl/lib/NOTICE b/appl/lib/NOTICE
index a9a7616f..6169ac2f 100644
--- a/appl/lib/NOTICE
+++ b/appl/lib/NOTICE
@@ -8,7 +8,7 @@ file such as NOTICE, LICENCE or COPYING.
Copyright © 1995-1999 Lucent Technologies Inc.
Portions Copyright © 1997-2000 Vita Nuova Limited
-Portions Copyright © 2000-2007 Vita Nuova Holdings Limited
+Portions Copyright © 2000-2010 Vita Nuova Holdings Limited
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License (`LGPL') as published by
diff --git a/appl/lib/names.b b/appl/lib/names.b
index d3a2082e..08bc4875 100644
--- a/appl/lib/names.b
+++ b/appl/lib/names.b
@@ -120,7 +120,7 @@ isprefix(a: string, b: string): int
{
la := len a;
if(la == 0)
- return 0; # "" isnt' a pathname
+ return 0; # "" isn't a pathname
while(la > 1 && a[la-1] == '/')
a = a[0:--la];
lb := len b;
@@ -128,7 +128,7 @@ isprefix(a: string, b: string): int
return 0;
if(la == lb)
return a == b;
- return a == b[0:la] && (b[la] == '/' || a == "/");
+ return a == b[0:la] && (a == "/" || b[la] == '/');
}
elements(name: string): list of string