https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216080
Jan Beich (mail not working) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |rg --- Comment #3 from Jan Beich (mail not working) <[email protected]> --- > bool exists_file(const std::string& filename) > { > std::ifstream from(filename.c_str()); > - return (from); > + return !from.fail(); Why not "return from.good()" instead similar to textproc/libxml++26 upstream fix? Otherwise, ask toolchain@ whether to convert or not. I don't know much C++. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "[email protected]"
