openat, O_DIRECTORY, shell_integration_linux.cc
George Liaskos
geo.liaskos at gmail.com
Wed Dec 26 22:12:55 UTC 2012
No, this patch is already removed actually.
The next major update will include many patch cleanups, clang build
also got fixed.
https://github.com/gliaskos/freebsd-chromium/tree/beta
Regards,
On Wed, Dec 26, 2012 at 4:38 PM, Jan Beich <jbeich at tormail.org> wrote:
> Are there issues when using openat() et al. on FreeBSD 8.0 and forward?
>
> Index: www/chromium/files/patch-chrome__browser__shell_integration_linux.cc
> ===================================================================
> --- www/chromium/files/patch-chrome__browser__shell_integration_linux.cc (revision 309498)
> +++ www/chromium/files/patch-chrome__browser__shell_integration_linux.cc (working copy)
> @@ -4,7 +4,7 @@
> if (!PathService::Get(chrome::DIR_USER_DESKTOP, &desktop_path))
> return false;
>
> -+#if !defined(OS_FREEBSD)
> ++#ifdef O_DIRECTORY
> +// BSD: Linux-specific calls like openat are used so defined out for BSD.
> int desktop_fd = open(desktop_path.value().c_str(), O_RDONLY | O_DIRECTORY);
> if (desktop_fd < 0)
> _______________________________________________
> freebsd-chromium at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
> To unsubscribe, send any mail to "freebsd-chromium-unsubscribe at freebsd.org"
More information about the freebsd-chromium
mailing list