touch: Fix setting time of created file if fstat() fails
Previously, if creating the file and fstat() fails, we would've ended up
calling utimensat() on that file anyways with whatever was in sb. Not
that this is an error likely to happen...
We don't check for the return value of close() as we aren't writing
anything to the file and the file is always created on success of
open().
Reviewed by: kevans
Approved by: kevans
Fixes: cb54c500d0e1 ("touch: don't leak descriptor if fstat(2) fails")
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D55117
MFC after: 1 week
graphics/processing: pin to openjdk8
Dependency comms/rxtx is tied to openjdk8 and installs jars in
PREFIX/openjdk8/jre/lib/ext. This directory is gone in jdk9+, but
processing expects it.
So pin processing to openjdk8 also.
If anybody wants this to be supported by jdk9+, patches are welcome.
PR: 292652
Approve-by: maintainer timeout
sysutils/xclipsync: New port: Trivial tool for synchronizing the clipboard between two X11 sessions
xclipsync is a simple and lightweight script for synchronizing the
clipboard between two X servers created, for example, by Xephyr(1) or
Xnest(1), or even for synchronizing the clipboard between the host and
another X server.
WWW: https://github.com/DtxdF/xclipsync