https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216080

Jan Beich (mail not working) <jbe...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd-toolchain@FreeBSD.o
                   |                            |rg

--- Comment #3 from Jan Beich (mail not working) <jbe...@freebsd.org> ---
>  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.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to