You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2012/11/24 07:07:51 UTC

[2/3] git commit: TS*DirGet() returns absolute paths

TS*DirGet() returns absolute paths


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/71aeeb6b
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/71aeeb6b
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/71aeeb6b

Branch: refs/heads/master
Commit: 71aeeb6b93f85f5c7a77295ca4871d2d947c4e52
Parents: 81f9f41
Author: James Peach <jp...@apache.org>
Authored: Fri Nov 23 21:57:26 2012 -0800
Committer: James Peach <jp...@apache.org>
Committed: Fri Nov 23 21:57:26 2012 -0800

----------------------------------------------------------------------
 doc/sdk/TSInstallDirGet.3 |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/71aeeb6b/doc/sdk/TSInstallDirGet.3
----------------------------------------------------------------------
diff --git a/doc/sdk/TSInstallDirGet.3 b/doc/sdk/TSInstallDirGet.3
index c376755..9ebcbf0 100644
--- a/doc/sdk/TSInstallDirGet.3
+++ b/doc/sdk/TSInstallDirGet.3
@@ -41,8 +41,8 @@ returns the path to the root of the Traffic Server installation.
 .Fn TSConfigDirGet
 and
 .Fn TSPluginDirGet
-return the configuration directory and the plugin installation directory path
-respectively. These paths are both relative to the installation directory.
+return the complete, absolute path to the configuration directory
+and the plugin installation directory respectively.
 .Sh RETURN VALUES
 These functions all return a NUL-terminated string that must not be modified or
 freed.
@@ -54,7 +54,7 @@ To load a file that is located in the Traffic Server configuration directory:
 #include <stdio.h>
 
 char * path;
-asprintf(&path, "%s/%s/example.conf", TSInstallDirGet(), TSConfigDirGet());
+asprintf(&path, "%s/example.conf", TSConfigDirGet());
 .fi
 .Sh SEE ALSO
 .Xr TSAPI 3ts