~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_symlink.cc

  • Committer: Monty Taylor
  • Date: 2009-08-17 18:46:08 UTC
  • mto: (1182.1.1 staging)
  • mto: This revision was merged to the branch mainline in revision 1183.
  • Revision ID: mordred@inaugust.com-20090817184608-0b2emowpjr9m6le7
"Fixed" the deadlock test. I'd still like someone to look at what's going on here.

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"
20
 
#include "drizzled/internal/m_string.h"
 
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 */