#else /* _WIN32 */
#ifdef __APPLE__
char *ptr;
- sprintf(env->me_txns->mti_rmname, "MDBr%.28s", lpath);
+ sprintf(env->me_txns->mti_rmname, "MDBr%.26s", lpath);
ptr = env->me_txns->mti_rmname + sizeof("MDBr")-1;
while ((ptr = strchr(ptr, '/')))
*ptr++ = '_';
rc = ErrCode();
goto fail;
}
- sprintf(env->me_txns->mti_wmname, "MDBw%.28s", lpath);
+ sprintf(env->me_txns->mti_wmname, "MDBw%.26s", lpath);
ptr = env->me_txns->mti_wmname + sizeof("MDBw")-1;
while ((ptr = strchr(ptr, '/')))
*ptr++ = '_';