Rob Landley
|
7baa990683
Fix copy_file_range() fallback.
|
2 years ago |
Elliott Hughes
|
2f4e6e18b4
Fix macOS build after copy_file_range() changes.
|
2 years ago |
Rob Landley
|
9b368059de
Update comments and add "sanity check" from kernel commit f16acc9d9b376.
|
2 years ago |
LongPing Wei
|
613db35596
Enable copy_file_range when it is available.
|
2 years ago |
Rob Landley
|
64f12b4f6a
Shut up an unused variable warning triggered by an #ifdef.
|
2 years ago |
Rob Landley
|
59e16e10b4
Yank some unnecessarily exported global variables that should be static.
|
2 years ago |
Rob Landley
|
de0e3fc0fb
Make xsignal_all_killers() slightly less magic. (Use SIG_DFL instead of NULL.)
|
2 years ago |
Rob Landley
|
b0e204b33d
Add HASTIMERS probe to work around bug in gcc 9.3
|
2 years ago |
Rob Landley
|
f3559dc06f
Fix warnings.
|
2 years ago |
Elliott Hughes
|
92d1ceffe8
macOS: add a timer_create() and timer_settimer() to fix the build.
|
2 years ago |
Rob Landley
|
23f16ee33e
Fix "xsignal 0: Invalid argument" after commit 0737ba9e8dd1.
|
2 years ago |
Elliott Hughes
|
0737ba9e8d
kill: allow `kill -0` for testing process existence.
|
2 years ago |
Elliott Hughes
|
933f238bd1
tail: implement -F (and its companion -s).
|
3 years ago |
Ella-0
|
76676d772d
Add OpenBSD support
|
3 years ago |
Rob Landley
|
4ff131ff95
Elliott spotted that errno==EAGAIN usually goes with an rc of -1, not 0.
|
3 years ago |
Rob Landley
|
b74d4319dc
Andy Hu wants mount -tnomsdos,smbfs to work.
|
3 years ago |
Rob Landley
|
a0849e8645
Use copy_file_range() when available.
|
4 years ago |
Elliott Hughes
|
e0f2912739
portability.c: fix macOS build.
|
4 years ago |
Rob Landley
|
8246635993
Instead of ifdef linux or macos, just ifdef the signals.
|
4 years ago |
Rob Landley
|
5818b7d982
Check the signal rather than special case a library and a target.
|
4 years ago |
Khem Raj
|
6c5fa2219b
glibc on mips is missing SIGSTKFLT
|
4 years ago |
Rob Landley
|
fa8d18a757
xsignal_all_killers() should install the handler given to it, and do some
|
4 years ago |
Greg Kaiser
|
1a2449aa37
Fix get_block_device_size() for linux
|
4 years ago |
Elliott Hughes
|
e400e60547
Fix Mac build.
|
4 years ago |
Rob Landley
|
03495651d7
Squash a warning.
|
4 years ago |
Elliott Hughes
|
7eaf5d674f
stat: fix filesystem type on macOS.
|
4 years ago |
Elliott Hughes
|
e028208e53
Fix dev_minor()/dev_major()/dev_makedev() for Mac.
|
4 years ago |
Elliott Hughes
|
c0bb071b4b
macOS: implement posix_fallocate().
|
4 years ago |
Elliott Hughes
|
9d354377a8
Move sig_to_num and num_to_sig into portability.c.
|
5 years ago |
Elliott Hughes
|
78954416db
macOS: numerous fixes.
|
5 years ago |