# Check if the sub-depends is already known
if spell_ok $sub_dependee; then
diff --git a/var/lib/sorcery/modules/libstate
b/var/lib/sorcery/modules/libstate
index 0fb6af7..9f59f28 100755
--- a/var/lib/sorcery/modules/libstate
+++ b/var/lib/sorcery/modules/libstate
@@ -332,7 +332,7 @@ function remove_sub_depends() {
a1=${a1:-.*}; a2=${a2:-.*}; a3=${a3:-.*}
#---------------------------------------------------------------------
@@ -570,7 +570,7 @@ function search_spell_status() {
## a version.
##
## Prints out the matching spell's status
-## Returns 1 only for critical problems ( missing SPELL_STAUS file )
+## Returns 1 only for critical problems ( missing SPELL_STATUS file )
## 0 for all other cases ( even when spell is not found )
##
#---------------------------------------------------------------------
diff --git a/var/lib/sorcery/modules/libtrack
b/var/lib/sorcery/modules/libtrack
index d09b927..ae3594b 100755
--- a/var/lib/sorcery/modules/libtrack
+++ b/var/lib/sorcery/modules/libtrack
@@ -8,7 +8,7 @@
#---------------------------------------------------------------------
##
## Initialize libtrack, currently this is just the modified files list.
-## This is used by cast to exclude files its modified from the md5 list.
+## This is used by cast to exclude files it's modified from the md5 list.
##
#---------------------------------------------------------------------
function libtrack_init() {
@@ -59,6 +59,13 @@ function run_castfs_sanity()
export CASTFS_LOGFILE=${CASTFS_DBGLOG}
export CASTFS_DBGLVL=${CASTFS_DEBUG_LEVEL}
debug "libtrack" "$FUNCNAME on $SPELL"
+
+ # first check if /dev/null is really a character device #13315
+ if [[ ! -c /dev/null ]]; then
+ debug "libtrack" "$FUNCNAME failure: damaged /dev/null"
+ return 1
+ fi
+
mkdir -p "${TMP_DIR}/test-mount" &&
mkdir -p "${TMP_DIR}/test-stage" &&
castfs "${TMP_DIR}/test-mount" -o "stage=${TMP_DIR}/test-stage" -o
"ignore=/tmp" &&
diff --git a/var/lib/sorcery/modules/url_handlers/url_git
b/var/lib/sorcery/modules/url_handlers/url_git
index 8ec6eac..b90eee6 100755
--- a/var/lib/sorcery/modules/url_handlers/url_git
+++ b/var/lib/sorcery/modules/url_handlers/url_git
@@ -45,9 +45,8 @@ function url_git_crack() {
#---------------------------------------------------------------------
##=item url_git_bucketize <url>
-##
-## Verifies the specified git url. Returns true if the url exists
-## OR if the url is an empty string.
+##
+## echoes the download handler - git
##
#---------------------------------------------------------------------
function url_git_bucketize() {
diff --git a/var/lib/sorcery/modules/url_handlers/url_git_http
b/var/lib/sorcery/modules/url_handlers/url_git_http
index 478fc48..99202b2 100755
--- a/var/lib/sorcery/modules/url_handlers/url_git_http
+++ b/var/lib/sorcery/modules/url_handlers/url_git_http
@@ -46,8 +46,7 @@ function url_git_http_crack() {
#---------------------------------------------------------------------
##=item url_git_bucketize <url>
##
-## Verifies the specified git url. Returns true if the url exists
-## OR if the url is an empty string.
+## echoes the download handler - git
##
#---------------------------------------------------------------------
function url_git_http_bucketize() {
diff --git a/var/lib/sorcery/modules/url_handlers/url_http
b/var/lib/sorcery/modules/url_handlers/url_http
index 912753a..3543ed8 100755
--- a/var/lib/sorcery/modules/url_handlers/url_http
+++ b/var/lib/sorcery/modules/url_handlers/url_http
@@ -22,9 +22,8 @@
#---------------------------------------------------------------------
##=item url_http_bucketize <url>
-##
-## Verifies the specified http url. Returns true if the url exists
-## OR if the url is an empty string.
+##
+## echoes the download handler - wget
##
#---------------------------------------------------------------------
function url_http_bucketize() {
[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (a910f05f64daded65087bfa2a13a8fc78dcbbd83),
Jaka Kranjc, 11/14/2007