# # # patch "ChangeLog" # from [1a0857e811941b6c99cd776c503b42b3b2f47b90] # to [c043bd85a2e9679b923704de459b832585dff231] # # patch "work.cc" # from [a699ba94211d1373eee63d2142479da476ac6996] # to [39e5c9ecd7f5209dbcbb7e631d6fc044296a4a67] # ============================================================ --- ChangeLog 1a0857e811941b6c99cd776c503b42b3b2f47b90 +++ ChangeLog c043bd85a2e9679b923704de459b832585dff231 @@ -1,5 +1,9 @@ 2006-02-21 Nathaniel Smith + * work.cc (detach_node): This time for sure! + +2006-02-21 Nathaniel Smith + * work.cc (detach_node): Oops, x != y != !(x == y). 2006-02-21 Nathaniel Smith ============================================================ --- work.cc a699ba94211d1373eee63d2142479da476ac6996 +++ work.cc 39e5c9ecd7f5209dbcbb7e631d6fc044296a4a67 @@ -755,7 +755,7 @@ node_id nid = next_nid++; file_path src_pth(src); // can't detach the root dir - E(!(src == file_path()), F("cannot delete or rename the root directory")); + E(!(src_pth == file_path()), F("cannot delete or rename the root directory")); bookkeeping_path dst_pth = path_for_nid(nid); safe_insert(rename_add_drop_map, make_pair(dst_pth, src_pth)); make_dir_for(dst_pth);