~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_symlink.cc

  • Committer: Brian Aker
  • Date: 2009-08-18 07:20:29 UTC
  • mfrom: (1117.1.9 merge)
  • Revision ID: brian@gaz-20090818072029-s9ch5lcmltxwidn7
Merge of Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
 
 
16
 
#include <config.h>
17
 
 
18
 
#include <drizzled/internal/my_sys.h>
19
 
#include <drizzled/error.h>
20
 
#include <drizzled/internal/m_string.h>
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
15
 
 
16
#include "mysys/mysys_priv.h"
 
17
#include "mysys/mysys_err.h"
 
18
#include <mystrings/m_string.h>
21
19
#include <errno.h>
22
20
 
23
 
namespace drizzled
24
 
{
25
 
namespace internal
26
 
{
27
 
 
28
21
bool test_if_hard_path(const char *dir_name)
29
22
{
30
23
  if (dir_name[0] == FN_HOMELIB && dir_name[1] == FN_LIBCHAR)
33
26
    return (true);
34
27
  return false;
35
28
} /* test_if_hard_path */
36
 
 
37
 
} /* namespace internal */
38
 
} /* namespace drizzled */