Check-in [b5b196f3f3]
Overview
Comment:Commit [7241c0986c] broke writing because error messages were checked, fix the check and fix writing
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b5b196f3f3c92ed38929f2985ffff85d9533d0e5
User & Date: rkeene on 2020-05-12 15:08:28
Other Links: manifest | tags
Context
2020-05-12
15:09
Improve debug logging flexibility check-in: e722919c08 user: rkeene tags: trunk
15:08
Commit [7241c0986c] broke writing because error messages were checked, fix the check and fix writing check-in: b5b196f3f3 user: rkeene tags: trunk
2019-12-13
00:34
AppFS 1.12 check-in: d7fb4b713a user: rkeene tags: trunk, 1.12
Changes

Modified appfsd.tcl from [15b349e52e] to [7a8ee07ff7].

985
986
987
988
989
990
991
992
993
994
995
996
997
998
999

	proc exists {path} {
		catch {
			set info [getattr $path]
		} err

		if {![info exists info]} {
			if {$err == "No such file or directory"} {
				return [list]
			} else {
				return -code error $err
			}
		}

		return $info







|







985
986
987
988
989
990
991
992
993
994
995
996
997
998
999

	proc exists {path} {
		catch {
			set info [getattr $path]
		} err

		if {![info exists info]} {
			if {[string match "No such file or directory*" $err]} {
				return [list]
			} else {
				return -code error $err
			}
		}

		return $info