Commit c3680378 authored by Lev Walkin's avatar Lev Walkin

PATH_MAX is hard to get these days on the Sun...

parent 226d1079
#include <T.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
......@@ -101,6 +102,10 @@ file_write_cb(const void *data, size_t size, void *key) {
return fwrite(data, 1, size, (FILE *)key) == size ? 0 : -1;
}
#ifndef PATH_MAX
#define PATH_MAX 255
#endif
static void
generate_random_data(enum asn_transfer_syntax syntax, const char *top_dirname, size_t max_random_value_size, int iterations, int debug) {
char dirname[PATH_MAX];
......
Markdown is supported
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