]> git.tdb.fi Git - libs/core.git/commitdiff
Add Build file
authorMikko Rasa <tdb@tdb.fi>
Sun, 3 Sep 2006 18:58:30 +0000 (18:58 +0000)
committerMikko Rasa <tdb@tdb.fi>
Sun, 3 Sep 2006 18:58:30 +0000 (18:58 +0000)
Remove a stray semicolon

Build [new file with mode: 0644]
source/utils.cpp

diff --git a/Build b/Build
new file mode 100644 (file)
index 0000000..bfd56d3
--- /dev/null
+++ b/Build
@@ -0,0 +1,14 @@
+package "msppath"
+{
+       version "0.1";
+       description "Filesystem utilities";
+
+       require "mspmisc";
+
+       library "msppath"
+       {
+               source "source";
+               install true;
+               install_headers "msp/path";
+       };
+};
index af8ea8a37008eca04ce6d5e5403e53f09b1fdea3..45cd614b150ccaaea463f3c9860dabbe3bc82e1d 100644 (file)
@@ -185,7 +185,7 @@ Path relative(const Path &path, const Path &base)
 Extracts the basename from the given path.  Same thing as Path::Path(p)[-1],
 but faster.
 */
-string basename(const std::string &p);
+string basename(const std::string &p)
 {
        unsigned slash=p.rfind(DIRCHAR);
        if(slash==string::npos)