diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-10-11 06:01:55 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-10-11 06:01:55 +0200 |
commit | 5982c50fa4d29c7b2230d180959c679278c6a88f (patch) | |
tree | 82ccee02b3a02b7a94dcf8c78240cb1717e705e0 /sys/src/cmd/cpp/macro.c | |
parent | 7f57d5d9c58d9a471181f3f91e3c037b49cede9f (diff) |
cwfs: more checking for cfsdump(), cleanup Tsuper hack in cwrecur()
add checktag and nil checks in cfsdump() making sure to notice
when the roroot directory structures is corrupted.
cwrecur() used tag == Tsuper to indicate that this is the first
level recursive invocation. this is confusing as we really expect
Tdir tag in that case for the root directory. instead, we now
pass the correct tag (Tdir) and use cw->depth > 1 to see if we
are past the root.
the block tag was only checked when the block was not in
the memory cache. check the tag always!
Diffstat (limited to 'sys/src/cmd/cpp/macro.c')
0 files changed, 0 insertions, 0 deletions