Commit 83f0cc18 authored by Sebastien Ponce's avatar Sebastien Ponce Committed by Steven Murray
Browse files

Dropped support for old, unused thread implementations. Kept only POSIX.

Note that this is a noop as the code after precompilation did not change. This has been double checked.
parent e590379e
......@@ -16,9 +16,7 @@
#define PATH_CONFIG "/etc/castor/castor.conf"
#endif /* PATH_CONFIG */
#if (defined(_REENTRANT) || defined(_THREAD_SAFE))
#define strtok(X,Y) strtok_r(X,Y,&last)
#endif /* _REENTRANT || _THREAD_SAFE */
static char *getconfent_r (const char *, const char *, const char *, int, char *, int);
......@@ -36,9 +34,7 @@ static char *getconfent_r(const char *filename,
int found = 0;
char path_config[CA_MAXPATHLEN+1];
char *separator;
#if defined(_REENTRANT) || defined(_THREAD_SAFE)
char *last = NULL;
#endif /* _REENTRANT || _THREAD_SAFE */
if (filename == NULL) {
/* Use default config file is not in the parameters */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment