Check-in [538accae67]
Overview
Comment:Added dangling symlink support
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 538accae677b7e946a38a10ed1feee853beb93d2
User & Date: rkeene on 2014-11-15 17:33:13
Other Links: manifest | tags
Context
2014-11-15
17:33
Added symlink creation support check-in: f6af28366e user: rkeene tags: trunk
17:33
Added dangling symlink support check-in: 538accae67 user: rkeene tags: trunk
17:20
Updated to flush cache before exiting in exit path mode and allow short reads without returning an error as they seem to be expected check-in: 67735b9ee3 user: rkeene tags: trunk
Changes

Modified appfsd.tcl from [f5542ce16c] to [8fdf97f435].

621
622
623
624
625
626
627

628
629


630
631
632
633






634
635
636
637
638
639
640
621
622
623
624
625
626
627
628


629
630
631

632
633
634
635
636
637
638
639
640
641
642
643
644
645
646







+
-
-
+
+

-


+
+
+
+
+
+








				set localpath [_localpath $pathinfo(package) $pathinfo(hostname) $pathinfo(file)]
				set whiteoutpath  [_whiteoutpath $pathinfo(package) $pathinfo(hostname) $pathinfo(file)]

				set retval(localpath) $localpath
				set retval(whiteoutpath) $whiteoutpath

				unset -nocomplain localpathinfo
				if {$localpath != "" && [file exists $localpath]} {
					set retval(is_localfile) 1
				if {$localpath != ""} {
					_as_user {
					catch {
						_as_user {
							file lstat $localpath localpathinfo
						}
					}
				}

				if {$localpath != "" && [info exists localpathinfo]} {
					set retval(is_localfile) 1
					catch {
						set retval(time) $localpathinfo(mtime)

						switch -- $localpathinfo(type) {
							"directory" {
								set retval(type) "directory"
								set retval(childcount) [llength [getchildren $path]]
							}