~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_symlink.cc

  • Committer: Monty Taylor
  • Date: 2009-05-24 18:17:38 UTC
  • mto: This revision was merged to the branch mainline in revision 1039.
  • Revision ID: mordred@inaugust.com-20090524181738-01rwzxpwrqe92erb
Fixed some no-inline warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
  return 0;
140
140
#endif
141
141
}
 
142
 
 
143
bool test_if_hard_path(const char *dir_name)
 
144
{
 
145
  if (dir_name[0] == FN_HOMELIB && dir_name[1] == FN_LIBCHAR)
 
146
    return (home_dir != NULL && test_if_hard_path(home_dir));
 
147
  if (dir_name[0] == FN_LIBCHAR)
 
148
    return (true);
 
149
  return false;
 
150
} /* test_if_hard_path */