syncthing/lib/osutil
Jakob Borg ebcd22b02b
lib/osutil: Fix raising max FDs on macOS (#7507)
There was a logic mistake, so the limit in question wasn't used. On my
macOS this doesn't seem to matter, the hard limit returned is 2^63-1 and
setting the soft limit to that works. However I'm assuming that's not
the case for older macOSes since it was so nicely documented, so we
should still have this working. (10240 FDs should be enough for
anybody.)
2021-03-20 16:32:36 +01:00
..
atomic.go lib/osutil: Consider sync() best effort (fixes #7117) 2020-11-14 09:23:27 +01:00
atomic_test.go lib/osutil: Preserve perms in AtomicWriter (fixes #tbd) (#6885) 2020-08-10 18:48:37 +02:00
atomic_unix_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
filenames_darwin.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
filenames_unix.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
filenames_windows.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
hidden_unix.go all: Convert folders to use filesystem abstraction 2017-08-19 14:36:56 +00:00
hidden_windows.go all: Convert folders to use filesystem abstraction 2017-08-19 14:36:56 +00:00
lan.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
lowprio_linux.go lib/osutil: Use unix lowprio implementation on Android (#4844) 2018-03-27 22:03:09 +01:00
lowprio_unix.go lib/osutil: Use unix lowprio implementation on Android (#4844) 2018-03-27 22:03:09 +01:00
lowprio_windows.go all: Fix Microsoft documentation links in code comments (#7387) 2021-02-20 14:56:45 +01:00
osutil.go lib/fs: Properly handle case insensitive systems (fixes #1787, fixes #2739, fixes #5708) 2020-07-28 11:15:11 +02:00
osutil_test.go lib/fs: Properly handle case insensitive systems (fixes #1787, fixes #2739, fixes #5708) 2020-07-28 11:15:11 +02:00
ping.go lib/dialer: Preserve nilness in error handling (fixes #6368) (#6369) 2020-02-26 13:16:18 +01:00
replacingwriter.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
replacingwriter_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
rlimit_unix.go lib/osutil: Fix raising max FDs on macOS (#7507) 2021-03-20 16:32:36 +01:00
rlimit_windows.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
tempfile.go all: Convert folders to use filesystem abstraction 2017-08-19 14:36:56 +00:00
traversessymlink.go all: Make all error implementations pointer types (#6726) 2020-06-16 09:27:34 +02:00
traversessymlink_test.go lib/fs: Properly handle case insensitive systems (fixes #1787, fixes #2739, fixes #5708) 2020-07-28 11:15:11 +02:00