diff options
| author | Michael P | 2011-04-14 06:21:14 +0000 |
|---|---|---|
| committer | Pavan Deolasee | 2011-05-24 10:33:26 +0000 |
| commit | ffd210505e1a331a8c6980a4032178a42e6f797a (patch) | |
| tree | 06fb1407835f2566d2cf54a8f06d3c0591d4db06 /src/include | |
| parent | 169a44eaa6ccca0ada3be43605e6a0c2ca4bd7e9 (diff) | |
Fix for bug 2990360: relative path to working directory for gtm
Fix an issue with GTM path when its binary is called with a relative path
Ex: ./bin/gtm -D data-gtm
This was causing gtm to quit with a FATAL error because it was not able to
find gtm data repository correctly.
Patch written by Benny Wang
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/gtm/path.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/gtm/path.h b/src/include/gtm/path.h index e95ca5e86b..cc07813ace 100644 --- a/src/include/gtm/path.h +++ b/src/include/gtm/path.h @@ -11,6 +11,11 @@ * *------------------------------------------------------------------------- */ +#ifndef _PATH_H +#define _PATH_H + #include "gtm/gtm_c.h" extern void canonicalize_path(char *path); +extern char *make_absolute_path(const char *path); +#endif |
