~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_symlink.cc

  • Committer: Tim Penhey
  • Date: 2010-01-20 02:39:01 UTC
  • mto: This revision was merged to the branch mainline in revision 1275.
  • Revision ID: tim.penhey@canonical.com-20100120023901-8teeunid6gwlthzx
Add in a rot 13 function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include "config.h"
17
 
 
18
 
#include "drizzled/internal/my_sys.h"
19
 
#include "drizzled/error.h"
 
16
#include "drizzled/internal/mysys_priv.h"
 
17
#include "drizzled/my_error.h"
20
18
#include "drizzled/internal/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 */