symbian: drop support

The OS is deprecated. I see no traces of anyone having actually built
curl for Symbian after 2012.

The public headers are unmodified.

Closes #5989
This commit is contained in:
Daniel Stenberg 2020-09-21 14:28:40 +02:00
parent 5a654a0a69
commit 3d64031fa7
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
28 changed files with 18 additions and 1318 deletions

View file

@ -100,11 +100,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
#define DONE
#endif /* __VMS */
#ifdef __SYMBIAN32__
# define getch() getchar()
#endif
#if defined(WIN32) || defined(__SYMBIAN32__)
#if defined(WIN32)
char *getpass_r(const char *prompt, char *buffer, size_t buflen)
{
@ -123,10 +119,8 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
previous one as well */
i = i - (i >= 1 ? 2 : 1);
}
#ifndef __SYMBIAN32__
/* since echo is disabled, print a newline */
fputs("\n", stderr);
#endif
/* if user didn't hit ENTER, terminate buffer */
if(i == buflen)
buffer[buflen-1] = '\0';
@ -134,7 +128,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
return buffer; /* we always return success */
}
#define DONE
#endif /* WIN32 || __SYMBIAN32__ */
#endif /* WIN32 */
#ifdef NETWARE
/* NetWare implementation */

View file

@ -830,10 +830,6 @@ static const struct helptxt helptext[] = {
# define PRINT_LINES_PAUSE 23
#endif
#ifdef __SYMBIAN32__
# define PRINT_LINES_PAUSE 16
#endif
struct feat {
const char *name;
int bitmask;

View file

@ -322,11 +322,6 @@ int main(int argc, char *argv[])
/* Start our curl operation */
result = operate(&global, argc, argv);
#ifdef __SYMBIAN32__
if(global.showerror)
tool_pressanykey();
#endif
/* Perform the main cleanup */
main_free(&global);
}

View file

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -21,7 +21,7 @@
***************************************************************************/
#include "tool_setup.h"
#if defined(__SYMBIAN32__) || defined(NETWARE)
#if defined(NETWARE)
#ifdef NETWARE
# ifdef __NOVELL_LIBC__
@ -37,11 +37,9 @@
void tool_pressanykey(void)
{
#if defined(__SYMBIAN32__)
getchar();
#elif defined(NETWARE)
#if defined(NETWARE)
pressanykey();
#endif
}
#endif /* __SYMBIAN32__ || NETWARE */
#endif /* NETWARE */

View file

@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -23,14 +23,10 @@
***************************************************************************/
#include "tool_setup.h"
#if defined(__SYMBIAN32__) || defined(NETWARE)
#if defined(NETWARE)
void tool_pressanykey(void);
#else
#define tool_pressanykey() Curl_nop_stmt
#endif
#endif /* HEADER_CURL_TOOL_PANYKEY_H */