Switch to unified view
a/src/utils/pathut.cpp | b/src/utils/pathut.cpp | ||
---|---|---|---|
1 | #ifndef lint |
1 | #ifndef lint |
2 | static char rcsid[] = "@(#$Id: pathut.cpp,v 1.4 2005-02-04 14:21:18 dockes Exp $ (C) 2004 J.F.Dockes"; |
2 | static char rcsid[] = "@(#$Id: pathut.cpp,v 1.5 2005-11-24 07:16:16 dockes Exp $ (C) 2004 J.F.Dockes"; |
3 | #endif |
3 | #endif |
4 | 4 | ||
5 | #ifndef TEST_PATHUT |
5 | #ifndef TEST_PATHUT |
6 | #include <unistd.h> |
6 | #include <unistd.h> |
7 | #include <pwd.h> |
7 | #include <pwd.h> |
8 | #include <iostream> |
8 | #include <iostream> |
9 | 9 | ||
10 | #include "pathut.h" |
10 | #include "pathut.h" |
11 | #ifndef NO_NAMESPACES |
||
11 | using std::string; |
12 | using std::string; |
13 | #endif /* NO_NAMESPACES */ |
||
12 | 14 | ||
13 | string path_getfather(const string &s) { |
15 | string path_getfather(const string &s) { |
14 | string father = s; |
16 | string father = s; |
15 | 17 | ||
16 | // ?? |
18 | // ?? |