Commit graph

12866 commits

Author SHA1 Message Date
Oly Mi
b44f47d7f7 Merge pull request #268 from Arcterus/id-group-mac-fix
Fix id and groups for Macs.  Also add dependency information.
2014-06-19 11:23:44 +04:00
Oly Mi
898e6082f6 Merge pull request #274 from Arcterus/util-libc
common: make libc reference in util look for the libc in util
2014-06-19 07:54:00 +04:00
Arcterus
662b0d656f id: remove warning about unused import 2014-06-18 20:23:01 -07:00
Arcterus
afe56a95e9 common: make libc reference in util look for the libc in util 2014-06-18 20:19:50 -07:00
Arcterus
99b0a11fe0 Merge pull request #272 from kwantam/master
implementation of fmt
2014-06-18 20:16:14 -07:00
kwantam
5d2a2b6a0b fmt: style modifications suggested by Arcterus 2014-06-18 23:09:22 -04:00
kwantam
6228bb4b85 remove fmt from README.md, add to Makefile 2014-06-18 20:56:53 -04:00
kwantam
ac216c3d77 initial release of working fmt
Note: for now, this version does not use Knuth-Plass,
but everything else is in place with "greedy" breaking.

All options (should) work, and performance is nearly
on par with GNU fmt.

Squashed commit of the following local commits:

commit ebc12f5e7d19d351ada9273ec0c42d66d3730431
commit 125fdabcb2a32de161c7a8b76c3e766a40ff9f76
commit dadd62acc093b5bd4bc94ad4f8a499d2663a7097
commit e436fdaade3876e92020c61a736eba54eb5ca0cf
commit bbc4f4f6ad749753efe9b2df871ddb257f33de4b
commit 12bc4ecb0c56c0d43515a111e9129a4bfaf36531
commit 2e693553ed9af59c53ee13026d19c9f82f2973fc
commit 9b15a130148d62dd6a1d2765848ddc4daf30c649
commit ea335eb2869afcc94709345118fab3fb2e612954
Merge: ee92573 23cc41d
commit 23cc41d188cb3134c04872fd77acb331d86a64ea
commit 2fa7c48133001d86da39feda04d870ff67e88400
commit eb71558ee46654b568adf167f194cb854bbf7056
commit c8baabc0b86d831b5741fa496c312134db652c55
commit ee4fab44b216c1d9c7dcdcdc29ca587c76284834
commit c5444416a531ae1341dddbfd528e4a3ee5f106bf
commit e1177d47941654b8834d18599c80065943a26159
commit c7fb30e2ff32313974f99d34ba4735be064b0cc5
commit 99a9406bc6fff33fc64c190356e48f443312a6c4
commit 3d244d62c9b60b579f2e5b723da6389a5dbc8805
commit 2d4f09cb2ff83664730edba209ec129abdcf1403
commit 947c32b72bff8d50e362555ec21a6b848d5fec9f
commit 8556d2a3467651ee7833ad800876af35a7dd5db7
commit a2e4bc3dc45e5f39b402e6fdd3e19edcea6d3c34
Merge: 0308884 439e65d
commit 03088844f1fd2faca6c3471230730136dd140f35
commit ac80d888649dd1311fdaa68400ea45d52b2e23ab
commit c1d6b36acb7038e14d5b3e1fb6a44614a3351f96
commit 6539b102593aa9d9570df8be99ca1a1bf01ea1f4
commit 439e65d3331936e00fa89a4b2f88c343b9e28c5b
commit fac27de7c4918bc5cf1a1ac1a43550236ba8af4d
commit 365989c5bbe5c2289648f6efbc3c9388388e30a0
commit 3dd71364cce9aaaa773fc88eb206aba31aa61390
2014-06-18 20:43:26 -04:00
Arcterus
3dc2064477 Begin using dependency info in the Makefile 2014-06-18 17:31:00 -07:00
Arcterus
7866f967ef common: fix for Linux 2014-06-18 17:24:56 -07:00
Arcterus
ce3b45b503 common: make get_group_list work for all users on Macs 2014-06-18 17:21:17 -07:00
Oly Mi
6039626490 Merge pull request #270 from orodley/fix-32-bit-build
Fix build failure for systems with a non-64-bit time_t.
2014-06-18 19:29:05 +04:00
Owen Rodley
dfd6e1e5ed Fix build failure for systems with a non-64-bit time_t. 2014-06-19 00:42:34 +12:00
Oly Mi
360daca1aa Merge pull request #269 from ebfe/sum
sum: pass busybox tests
2014-06-18 14:46:56 +04:00
Michael Gehring
7cdcb8bf97 sum: print filenames 2014-06-18 12:38:19 +02:00
Michael Gehring
156577ec40 sum: handle multiple file args 2014-06-18 12:36:12 +02:00
Arcterus
b26b874829 common: remove extra cast 2014-06-17 20:51:59 -07:00
Arcterus
cf2d7a3bb7 Fix id and groups for Macs. Also make every util depend on common 2014-06-17 20:47:29 -07:00
Arcterus
ee92573584 Merge pull request #266 from ebfe/uutils
uutils: add chroot, factor, nl, tail
2014-06-17 10:52:22 -07:00
Michael Gehring
329ac25e07 uutils: add chroot, factor, nl, tail 2014-06-17 19:38:11 +02:00
Michael Gehring
2aa76c4202 tail: fix uumain 2014-06-17 19:35:48 +02:00
Michael Gehring
2c4c2e4bb6 factor: fix uumain 2014-06-17 19:33:53 +02:00
Arcterus
39c8d36b5e Merge pull request #263 from ebfe/du
du: fix -s flag
2014-06-17 07:53:04 -07:00
Michael Gehring
0c06b98c2d du: fix -s flag
Fixes #241
2014-06-17 16:51:08 +02:00
Oly Mi
a2d5dc4995 Merge pull request #262 from ebfe/fix-group-foo
id/groups: fix group list handling
2014-06-17 18:10:40 +04:00
Michael Gehring
48892c5063 id: fix typo 2014-06-17 14:48:37 +02:00
Michael Gehring
aa5293ecfa id: remove dead code/unused imports 2014-06-17 14:47:40 +02:00
Michael Gehring
e0d9347182 id: remove unnecessary coercion 2014-06-17 14:46:02 +02:00
Michael Gehring
2b2bdc89ff id: rework id_print()
Fixes #239
2014-06-17 14:45:10 +02:00
Michael Gehring
c80fdc1a73 c_types: make get_groups/get_group_list public 2014-06-17 14:32:31 +02:00
Michael Gehring
65c224fbf8 id: remove unused arg 2014-06-17 14:30:18 +02:00
Michael Gehring
d66679ccf8 c_types: rework group()
Fixes #236
2014-06-17 12:31:56 +02:00
Oly Mi
50d571717b Merge pull request #255 from Arcterus/id-fix
id: fix on Macs
2014-06-17 06:24:55 +04:00
Arcterus
10fd43ab22 Merge pull request #257 from ebfe/hostname
hostname: fix sethostname prototype on linux
2014-06-16 19:13:59 -07:00
Arcterus
2c58b896b5 Merge pull request #258 from ebfe/nl
nl: fix dead_code warning in multicall build
2014-06-16 19:13:18 -07:00
Michael Gehring
43542e95d8 nl: fix dead_code warning in multicall build 2014-06-17 03:22:01 +02:00
Michael Gehring
8bbe123023 hostname: fix sethostname prototype on linux 2014-06-17 03:01:44 +02:00
Arcterus
f4615d746d Merge pull request #256 from ebfe/chroot
chroot: fix setgroups prototype on linux
2014-06-16 17:44:56 -07:00
Michael Gehring
078ba3dfda chroot: fix setgroups prototype on linux 2014-06-17 02:41:05 +02:00
Arcterus
c33ab0e378 chroot: remove a couple more braces 2014-06-16 15:55:39 -07:00
Arcterus
b16b0204da Merge pull request #252 from torkve/master
chroot implementation
2014-06-16 15:54:00 -07:00
Vsevolod Velichko
fd6975c86c Remove redundant braces, show_error for getopt parse error 2014-06-17 02:28:40 +04:00
Vsevolod Velichko
46c1a53d5a Use (c) rather than © 2014-06-17 02:08:55 +04:00
Vsevolod Velichko
fcd05aca8d Use gid_t instead of uid_t for groups 2014-06-17 02:07:16 +04:00
Vsevolod Velichko
c7e0e5aa5e Code style fixes 2014-06-17 02:05:36 +04:00
Vsevolod Velichko
eebcdbddb1 Remove unused debug crate import 2014-06-17 02:05:36 +04:00
Vsevolod Velichko
301256d0f0 Remove chroot from todo list 2014-06-17 02:05:36 +04:00
Vsevolod Velichko
c5b423048c chroot implementation 2014-06-17 02:05:36 +04:00
Vsevolod Velichko
6efcc02c39 Common function to get user group info 2014-06-17 02:05:36 +04:00
Arcterus
9f0970257c id: fix on Macs 2014-06-16 14:53:33 -07:00