Commit 721b05e3 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Nico Baggus' VMS tweaks

parent a333bdde
Loading
Loading
Loading
Loading
+10 −9
Original line number Diff line number Diff line
@@ -221,22 +221,22 @@
#define HAVE_NETINET_IN_H 1

/* Define if you have the <openssl/crypto.h> header file.  */
#undef HAVE_OPENSSL_CRYPTO_H
#define HAVE_OPENSSL_CRYPTO_H 1

/* Define if you have the <openssl/err.h> header file.  */
#undef HAVE_OPENSSL_ERR_H
#define HAVE_OPENSSL_ERR_H	1

/* Define if you have the <openssl/pem.h> header file.  */
#undef HAVE_OPENSSL_PEM_H
#define HAVE_OPENSSL_PEM_H	1

/* Define if you have the <openssl/rsa.h> header file.  */
#undef HAVE_OPENSSL_RSA_H
#define HAVE_OPENSSL_RSA_H 1

/* Define if you have the <openssl/ssl.h> header file.  */
#undef HAVE_OPENSSL_SSL_H
#define HAVE_OPENSSL_SSL_H	1

/* Define if you have the <openssl/x509.h> header file.  */
#undef HAVE_OPENSSL_X509_H
#define HAVE_OPENSSL_X509_H	1

/* Define if you have the <pem.h> header file.  */
#undef HAVE_PEM_H
@@ -296,7 +296,7 @@
#undef HAVE_X509_H

/* Define if you have the crypto library (-lcrypto).  */
#undef HAVE_LIBCRYPTO
#define HAVE_LIBCRYPTO 1

/* Define if you have the dl library (-ldl).  */
#undef HAVE_LIBDL
@@ -314,7 +314,7 @@
#define HAVE_LIBSOCKET 1

/* Define if you have the ssl library (-lssl).  */
#undef HAVE_LIBSSL
#define HAVE_LIBSSL	1

/* Define if you have the ucb library (-lucb).  */
#undef HAVE_LIBUCB
@@ -346,7 +346,7 @@
#undef HAVE_GETPASS

/* Define if you have a working OpenSSL installation */
#undef OPENSSL_ENABLED
#define OPENSSL_ENABLED	1

/* Define if you have the `dlopen' function. */
#undef HAVE_DLOPEN
@@ -365,3 +365,4 @@

#define HAVE_MEMORY_H   1

#define HAVE_FIONBIO	1
+4 −0
Original line number Diff line number Diff line
@@ -48,6 +48,10 @@
#include <stdlib.h> /* required for free() prototype, without it, this crashes
                       on macos 68K */
#endif
#ifdef	VMS
#include <in.h>
#include <inet.h>
#endif

#endif
#include <stdio.h>
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ struct Cookie {
  char *value;       /* name = <this> */
  char *path;	      /* path = <this> */
  char *domain;      /* domain = <this> */
  time_t expires;    /* expires = <this> */
  long expires;    /* expires = <this> */
  char *expirestr;   /* the plain text version */

  char field1;       /* read from a cookie file, 1 => FALSE, 2=> TRUE */
+4 −0
Original line number Diff line number Diff line
@@ -81,6 +81,10 @@ DllMain (
    }
  return TRUE;
}
#else
#ifdef VMS
int VOID_VAR_DLLINIT;	
#endif
#endif

/*
+2 −1
Original line number Diff line number Diff line
@@ -55,6 +55,7 @@
#include <netdb.h>
#endif
#ifdef	VMS
#include <in.h>
#include <inet.h>
#endif
#endif
@@ -1575,7 +1576,7 @@ CURLcode ftp_perform(struct connectdata *conn)
      struct tm buffer;
      tm = (struct tm *)localtime_r(&data->info.filetime, &buffer);
#else
      tm = localtime(&data->info.filetime);
      tm = localtime((unsigned long *)&data->info.filetime);
#endif
      /* format: "Tue, 15 Nov 1994 12:45:26 GMT" */
      strftime(buf, BUFSIZE-1, "Last-Modified: %a, %d %b %Y %H:%M:%S %Z\r\n",
Loading