int main() { auto expected = error_function(); printf("You should see the same message printed twice.\n"); print(expected.error); printf("%s\n", tocstr(expected.error)); print_all(expected.push_error(2, "stacking another error")); return 0; }
void path::update() { if (!updated) { free(); pwfd=new WIN32_FIND_DATAA; assert(pwfd); hFind=FindFirstFileA(tocstr(), pwfd); updated=true; } }