Lines Matching defs:PATH_MAX
90 #ifndef PATH_MAX
91 #define PATH_MAX 1024
605 char *filename = malloc(PATH_MAX + 1);
621 strftime(filename, PATH_MAX, orig_name, local_tm);
623 strncpy(filename, orig_name, PATH_MAX);
627 strncpy(buffer, filename, PATH_MAX + 1);
629 if (snprintf(buffer, PATH_MAX + 1, "%s%0*d", filename, max_chars, cnt) > PATH_MAX)
631 error("too many output files or filename is too long (> %d)", PATH_MAX);
677 ret = fgets(ptr, PATH_MAX, VFile);
706 char VFileLine[PATH_MAX + 1];
1483 /* Do not exceed the default PATH_MAX for files. */
1484 dumpinfo.CurrentFileName = (char *)malloc(PATH_MAX + 1);
1845 dump_info->CurrentFileName = (char *)malloc(PATH_MAX + 1);
1897 dump_info->CurrentFileName = (char *)malloc(PATH_MAX + 1);