View | Details | Raw Unified
Collapse All | Expand All

(-) file_not_specified_in_diff (-2 / +7 lines)
 Lines 319-326   iztimes *t; /* return value: Link Here 
   a file size of -1 */
   a file size of -1 */
{
{
  struct stat s;        /* results of stat() */
  struct stat s;        /* results of stat() */
  char name[FNMAX];
  char *name;
  int len = strlen(f);
  size_t len = strlen(f);
  if (f == label) {
  if (f == label) {
    if (a != NULL)
    if (a != NULL)
 Lines 331-336   iztimes *t; /* return value: Link Here 
      t->atime = t->mtime = t->ctime = label_utim;
      t->atime = t->mtime = t->ctime = label_utim;
    return label_time;
    return label_time;
  }
  }
  name = malloc(len+1);
  if (!name)
    return 0;
  strcpy(name, f);
  strcpy(name, f);
  if (name[len - 1] == '/')
  if (name[len - 1] == '/')
    name[len - 1] = '\0';
    name[len - 1] = '\0';