Rob Landley
|
4fca350fb3
The ".." removal logic was looping on file/dir names starting with "..",
|
2 years ago |
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 |
Elliott Hughes
|
7459474343
file(1): call out apparently invalid ELF files.
|
2 years ago |
Elliott Hughes
|
8a23ac205c
file: don't be confused by BSS sections.
|
2 years ago |
Rob Landley
|
1533ccf512
Add "cd -", teach cd to handle deleted directories, fix ${X: -1:1}
|
2 years ago |
Rob Landley
|
34e4bfb531
Minor tweaks.
|
2 years ago |
Rob Landley
|
20376512ae
Silence more false positive warnings in llvm.
|
2 years ago |
Rob Landley
|
7a5cb95817
Move UNSTRIPPED to configure, merge LDASNEEDED into LDFLAGS
|
2 years ago |
Rob Landley
|
6f24967142
Add spaces to lsusb output, trigger on the correct entries, tweak help text.
|
2 years ago |
Rob Landley
|
4d9c2a56a0
Move config variables to configure.
|
2 years ago |
Rob Landley
|
d9301d2b7e
Add top -h to show bar graphs (start of htop plumbing).
|
2 years ago |
Rob Landley
|
946f7d63d6
Traverse doubly linked list non-infinitely.
|
2 years ago |
Rob Landley
|
e851ed9363
Minor cleanups.
|
2 years ago |
Elliott Hughes
|
da05144586
gpiod: new commands.
|
2 years ago |
Rob Landley
|
e15d562c2e
Merge lspci.c with lsusb.c to share infrastructure.
|
2 years ago |
Rob Landley
|
22d59612c1
Fix some typos pointed out by Peter Ennis.
|
2 years ago |
Rob Landley
|
3b06f9600e
Move a struct from lib.h into the one toys/pending command that uses it.
|
2 years ago |
Rob Landley
|
eee419c1d7
flags.h can #define its own CLEANUP_ macros for the next #include
|
2 years ago |
Rob Landley
|
e6ad3338ed
Factor out parse_dev_ids() into its own function.
|
2 years ago |
Rob Landley
|
068c82efae
More documentation tweaks.
|
2 years ago |
Rob Landley
|
0b47b7e62b
Freshen up design.html a bit.
|
2 years ago |
Rob Landley
|
73f5ecd772
Create the timer after installing the SIGALRM handler.
|
2 years ago |
Rob Landley
|
0e4cd0ffb4
Search a path for usb.ids and handle usb.ids.gz via zcat.
|
2 years ago |
Rob Landley
|
ebde3b8a5b
Move -Wno-string-plus-int to configure instead of probing for it.
|
2 years ago |
Rob Landley
|
679146ec35
Fix generated/build.sh
|
2 years ago |
Rob Landley
|
515a1f2edd
Move some of the uglier make.sh plumbing into portability.sh.
|
2 years ago |
Rob Landley
|
fc0fbe6788
Move lib/lib.c into main.c so make.sh doesn't have to split it out seperately. (Nothing else in lib/ has to rebuild when command list changes.)
|
2 years ago |