Lines Matching defs:PATH_MAX
166 #ifndef PATH_MAX
167 #define PATH_MAX 1024
847 char *filename = malloc(PATH_MAX + 1);
879 if (strftime(filename, PATH_MAX, orig_name, local_tm) == 0) {
883 strncpy(filename, orig_name, PATH_MAX);
887 strncpy(buffer, filename, PATH_MAX + 1);
889 if (snprintf(buffer, PATH_MAX + 1, "%s%0*d", filename, max_chars, cnt) > PATH_MAX)
891 error("too many output files or filename is too long (> %d)", PATH_MAX);
901 ret = fgets(ptr, PATH_MAX, VFile);
1503 char VFileLine[PATH_MAX + 1];
2410 /* Do not exceed the default PATH_MAX for files. */
2411 dumpinfo.CurrentFileName = (char *)malloc(PATH_MAX + 1);
2998 dump_info->CurrentFileName = (char *)malloc(PATH_MAX + 1);
3097 dump_info->CurrentFileName = (char *)malloc(PATH_MAX + 1);