Displaying 2 results from an estimated 2 matches for "dir_st".
Did you mean:
dir_ft
2010 May 07
1
[PATCH] Config: Check timestamps on directories when rebuilding transfer iso
...ry has been updated. This
+ # will pick up the case where a file with an old timestamp has
+ # been moved into a directory.
+ my (undef, $dir, undef) = File::Spec->splitpath($path);
+ if (!exists($dirs{$dir})) {
+ my $dir_st = stat($dir);
+ if ($dir_st->mtime > $iso_st->mtime) {
+ $rebuild = 1;
+ last;
+ }
+ $dirs{$dir} = 1;
+ }
}
return $iso_path if (!$rebuild);
--...
2011 Jan 17
1
[PATCH] Unconditionally always rebuild the transfer iso
...ry has been updated. This
- # will pick up the case where a file with an old timestamp has
- # been moved into a directory.
- my (undef, $dir, undef) = File::Spec->splitpath($path);
- if (!exists($dirs{$dir})) {
- my $dir_st = stat($dir);
- if ($dir_st->mtime > $iso_st->mtime) {
- $rebuild = 1;
- last;
- }
- $dirs{$dir} = 1;
- }
- }
-
- if (!$rebuild) {
- $s...