mpkh
390336df71
Merge pull request #1199 from Arcterus/readme
...
Remove Codecov from and add dependency tracking to the README
2018-05-03 10:25:04 +04:00
Alex Lyon
974f5def20
uptime: error when uptime cannot be found
2018-05-02 19:11:37 -07:00
Alex Lyon
f91c84bc05
Merge pull request #1191 from ProgVal/chmod-human-friendly
...
chmod, ls, uucore: Make chmod display human-friendly permissions
2018-05-02 15:36:35 -07:00
Valentin Lorentz
43aafd2f1c
chmod: show human-friendly permissions when --changes or --verbose is used.
...
Like GNU chmod.
2018-05-02 23:23:05 +02:00
Alex Lyon
c50e7b5bc4
Merge pull request #1189 from ProgVal/unlink-nul-terminator
...
unlink: Add a nul-terminator after the file name before calling lstat.
2018-05-02 11:45:32 -07:00
Alex Lyon
a854e3f3fa
Disable Codecov comments
2018-05-02 11:43:37 -07:00
Valentin Lorentz
f06972ccfd
unlink: Use a NUL-terminated string when calling unlink().
2018-05-02 19:13:36 +02:00
Alex Lyon
4c5585d7bc
Remove Codecov from and add dependency tracking to the README
2018-05-02 09:50:42 -07:00
Alex Lyon
2eaabae507
Merge pull request #1192 from ProgVal/chmod-unimplemented
...
chmod: Remove '(unimplemented)' from the opt help.
2018-05-02 08:50:23 -07:00
Alex Lyon
646382f9c1
Merge pull request #1188 from ProgVal/test-language
...
Don't assume tests are running on a computer with an English locale.
2018-05-02 08:31:33 -07:00
Alex Lyon
bc8ad30eef
Merge pull request #1184 from jiangjun1983/hostname_xgethostname_fix
...
hostname: bug fix for non-windows xgethostname
2018-05-02 08:30:03 -07:00
Connor E
9d5631228a
mkdir: Use std create_dir_all for recursive operations.
2018-05-01 12:42:11 +01:00
Connor E
e03ab6b554
mkdir: Silently fail in recursive mode if unable to create directories.
2018-05-01 12:07:23 +01:00
Valentin Lorentz
4ba6f13c2b
chmod: Remove '(unimplemented)' from the opt help.
...
They are implemented now.
2018-04-22 21:38:30 +02:00
Alex Jiang
58b4075566
hostname: bug fix for non-windows xgethostname and add test case
...
Cstr::from_bytes_with_nul needs input bytes null terminated. Current
version does not include the last null byte, hence
Cstr::from_bytes_with_nul will panic with error 'FromBytesWithNulError {
kind: NotNulTerminated }'
2018-04-22 21:04:51 +08:00
Valentin Lorentz
dd0d23839a
unlink: Add a nul-terminator after the file name before calling lstat.
2018-04-22 10:32:43 +02:00
Valentin Lorentz
248f480b41
Don't assume tests are running on a computer with an English locale.
2018-04-22 08:07:38 +02:00
rkn
5f9bb70422
Merge pull request #1186 from Arcterus/du-cleanup
...
du: pick format for convert_size() once and reverse UNITS (again)
2018-04-20 15:44:55 +04:00
Alex Lyon
b50aaf6456
du: pick format for convert_size() once and reverse UNITS (again)
2018-04-20 03:56:47 -07:00
rkn
cc51fdb7a1
Merge pull request #1185 from Arcterus/du-cleanup
...
du: clean up block size parsing code
2018-04-20 14:32:27 +04:00
Alex Lyon
da301be35c
du: capitalize input block size (e.g. turn 'kB' into 'KB')
2018-04-20 01:26:29 -07:00
Alex Lyon
b619e363db
du: clean up block size parsing code
2018-04-20 00:54:49 -07:00
Alex Lyon
8498e33099
Merge pull request #1176 from bootandy/du_input_refactor3
...
du: read block size environment variables
2018-04-20 00:23:53 -07:00
Alex Lyon
eff423d5f4
Merge pull request #1180 from Arcterus/master
...
Allow build to fail on Redox
2018-04-18 14:50:28 -07:00
Alex Lyon
e76db1314d
Allow build to fail on Redox and try up to three downloads on Appveyor
2018-04-18 12:44:53 -07:00
Alex Lyon
11df38bfae
Merge pull request #1182 from kupospelov/master
...
join: minor improvements and bug fixes
2018-04-15 18:47:02 -07:00
Konstantin Pospelov
4b8d4bfc05
join: fix autoformat
...
There was an issue with autoformat when the files had a different
number of columns in the first line. This commit fixes the issue and
extends the related test to cover this case.
2018-04-15 17:42:52 +03:00
Konstantin Pospelov
cd98478ce9
join: minor improvements
...
Move the code to get the current key into a separate function.
Replace two 'combine' functions with one defined for Input.
2018-04-15 17:33:02 +03:00
Alex Lyon
e53851b753
Merge pull request #1178 from fossabot/master
...
Add license scan report and status
2018-04-14 00:32:11 -07:00
Alex Lyon
b85cd1ff45
Remove extra license section added by bot
2018-04-14 00:31:30 -07:00
Alex Lyon
939c0b833e
Merge pull request #1179 from kupospelov/master
...
join: support headers
2018-04-12 13:05:05 -07:00
Konstantin Pospelov
7dc8ff62cc
join: support headers
2018-04-11 22:55:44 +03:00
fossabot
c06dd4007b
Add license scan report and status
...
Signed-off-by: fossabot <badges@fossa.io>
2018-04-11 03:47:37 -07:00
Alex Lyon
fc7b1fcaba
Merge pull request #1177 from mmstick/ls-column
...
[ls] Add "-1" Flag & Fix Needless Vec
2018-04-10 20:52:04 -07:00
Michael Aaron Murphy
dddc773200
[ls] Add "-1" Flag & Fix Needless Vec
2018-04-10 22:13:21 -04:00
bootandy
f1497e43ce
du: read block size environment variables
...
blocksize env variables are read if -B is not specified as a command
line argument.
blocksize is now case insensitive (like gdu).
fn translate_to_pure_number() pulled out from existing code which
populated the block size variable
2018-04-06 21:30:59 +01:00
Alex Lyon
8db47690b2
Merge pull request #1171 from bootandy/du_h
...
du -h: support GB
2018-04-05 15:41:33 -07:00
bootandy
0840c20ef4
du: support G T P E on -h
...
Allow -h (human readable form) to show sizes larger than MB
(This mimics original du behaviour)
Code refactored to remove duplication
2018-04-03 06:58:38 -04:00
Jeremy Soller
390b278443
Merge pull request #1175 from equal-l2/patch-1
...
README: remove incorrect information for Rust version
2018-03-29 13:47:32 -06:00
equal-l2
d6c5767b42
Remove incorrect version info
...
coreutils don't build on 1.20.0 anymore because `join` uses `?` for `Option`.
2018-03-30 02:17:36 +09:00
Alex Lyon
87d317e22f
Merge pull request #1169 from bootandy/du
...
Fix Du mac/inodes
2018-03-28 10:33:06 -07:00
bootandy
838ce7b3e3
Fix issues raised in review
...
spelling
use POSIXLY_CORRECT and BLOCKSIZE env variables to determine block size.
move statics to const
use show_error! not show_info!
2018-03-24 18:03:34 -04:00
mpkh
1d0db980e0
Merge pull request #1170 from Arcterus/master
...
yes: use 16 KiB rather than 8 KiB for the buffer
2018-03-23 10:48:45 +04:00
Alex Lyon
948dbd324e
yes: choose between throughput and latency at compile-time
2018-03-22 04:22:34 -07:00
Alex Lyon
4941604362
yes: use 16 KiB rather than 8 KiB for the buffer
2018-03-22 03:31:41 -07:00
bootandy
8530db90c4
du: Fix tests for linux.
...
Running du on mac gives different answers to linux. Hence our asserts
must differ for each platform
2018-03-21 10:14:18 -04:00
bootandy
ea504bf0ec
du: add test for -d flag
2018-03-20 17:55:31 -04:00
bootandy
b6c7771087
du: Fix double counting of hard links.
...
hard linked files are no longer counted - this mimcs the behaviour of
the original du.
2018-03-20 16:59:29 -04:00
bootandy
e253406026
du: Fix incorrect block size assumption.
...
du and other tools like stat assume a 512 byte block. ls is the only
tool to use 1024.
Add Simple set of tests
2018-03-20 16:59:29 -04:00
Alex Lyon
eab4cf6f58
Merge pull request #1168 from ids1024/tail-redox
...
Port 'tail' to Redox
2018-03-18 22:18:27 -07:00