}
for (;;) {
char c = '/';
-#ifdef OPENSSL_SYS_VMS
- c = ent->dir[strlen(ent->dir) - 1];
- if (c != ':' && c != '>' && c != ']') {
- /* If no separator is present, we assume the
- directory specifier is a logical name, and
- add a colon. We really should use better
- VMS routines for merging things like this,
- but this will do for now...
- -- Richard Levitte */
- c = ':';
- } else {
- c = '\0';
- }
-#endif
- if (c == '\0') {
- /* This is special. When c == '\0', no
- directory separator should be added. */
- (void) snprintf(b->data, b->max,
- "%s%08lx.%s%d", ent->dir, h,
- postfix, k);
- } else {
- (void) snprintf(b->data, b->max,
- "%s%c%08lx.%s%d", ent->dir, c, h,
- postfix, k);
- }
+
+ (void) snprintf(b->data, b->max,
+ "%s%c%08lx.%s%d", ent->dir, c, h,
+ postfix, k);
+
#ifndef OPENSSL_NO_POSIX_IO
-#ifdef _WIN32
-#define stat _stat
-#endif
{
struct stat st;
if (stat(b->data, &st) < 0)
}
for (;;) {
char c = '/';
-#ifdef OPENSSL_SYS_VMS
- c = ent->dir[strlen(ent->dir) - 1];
- if (c != ':' && c != '>' && c != ']') {
- /* If no separator is present, we assume the
- directory specifier is a logical name, and
- add a colon. We really should use better
- VMS routines for merging things like this,
- but this will do for now...
- -- Richard Levitte */
- c = ':';
- } else {
- c = '\0';
- }
-#endif
- if (c == '\0') {
- /* This is special. When c == '\0', no
- directory separator should be added. */
- (void) snprintf(b->data, b->max,
- "%s%08lx.%s%d", ent->dir, h,
- postfix, k);
- } else {
- (void) snprintf(b->data, b->max,
- "%s%c%08lx.%s%d", ent->dir, c, h,
- postfix, k);
- }
+
+ (void) snprintf(b->data, b->max,
+ "%s%c%08lx.%s%d", ent->dir, c, h,
+ postfix, k);
+
#ifndef OPENSSL_NO_POSIX_IO
-#ifdef _WIN32
-#define stat _stat
-#endif
{
struct stat st;
if (stat(b->data, &st) < 0)