diff options
author | Richard Levitte <levitte@openssl.org> | 2004-07-11 20:21:19 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2004-07-11 20:21:19 +0000 |
commit | b0841348b600e816b5ed915ce4668b52bf11bcf0 (patch) | |
tree | 05a5116d9ba9006ae395e8f78432353c0b99761d /crypto/LPdir_vms.c | |
parent | 090e81d4aa644d34e31ce67068fcf2a2e9183b04 (diff) | |
download | openssl-b0841348b600e816b5ed915ce4668b52bf11bcf0.tar.gz |
In some cases, EVMSERR isn't visible (that's fairly new...).
Don't have a constant that you're going to assign to, that's just
plain stupid (I was the stupidhead here...).
Diffstat (limited to 'crypto/LPdir_vms.c')
-rw-r--r-- | crypto/LPdir_vms.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/crypto/LPdir_vms.c b/crypto/LPdir_vms.c index b5dab90d25..3f883f90f3 100644 --- a/crypto/LPdir_vms.c +++ b/crypto/LPdir_vms.c @@ -1,4 +1,4 @@ -/* $LP: LPlib/source/LPdir_vms.c,v 1.17 2004/06/30 11:36:43 _cvs_levitte Exp $ */ +/* $LP: LPlib/source/LPdir_vms.c,v 1.19 2004/07/11 20:17:45 _cvs_levitte Exp $ */ /* * Copyright (c) 2004, Richard Levitte <richard@levitte.org> * All rights reserved. @@ -41,6 +41,11 @@ #include "LPdir.h" #endif +/* Because some compiler options hide this macor */ +#ifndef EVMSERR +#define EVMSERR 65535 /* error for non-translatable VMS errors */ +#endif + struct LP_dir_context_st { unsigned long VMS_context; @@ -60,7 +65,7 @@ const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) int status; char *p, *r; size_t l; - const unsigned long flags = 0; + unsigned long flags = 0; #ifdef NAML$C_MAXRSS flags |= LIB$M_FIL_LONG_NAMES; #endif |