aboutsummaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2020-12-21cpt: remove cpt-stat and cpt-readlink, add _stat() and _readlinkfmerakor
cpt-readlink and cpt-stat were unnecessary additions for mundane tasks. Since they were binaries instead of scripts, they added an extra layer of complexity to the library. These functions are now included inside the package manager library with the names _readlinkf() and _stat(). FossilOrigin-Name: 7e15e2b57ddcb834c4286c8d1ac0a28031ae4f5d39f3c6a99f5b3aa0e9a83d43
2020-12-20bin: add testsmerakor
FossilOrigin-Name: ec194605cd8c21140304faf47b67f419967b7606155d7afb0e6d9f83c7622d46
2020-12-20try out the redo build systemmerakor
FossilOrigin-Name: 6ca0330a7e548be4e516ad6c275b2878a1521d2de5263fd75defc16f8f52c93b
2020-07-24fix wrong mention of command or namesmerakor
FossilOrigin-Name: 70768e375d0435c03ac58cfa8f6920f5bb9af3f99921e843284a1d107e4ecb78
2020-07-24rename binary programsmerakor
FossilOrigin-Name: f404639f07097134f93aa22cc5583ff73a6cd281aa4b1bbfd10053ebd97d7bf4
2020-07-23kiss-readlink: define DIR_MAX for the dname arraymerakor
FossilOrigin-Name: 7d9868704c78e77a169dee8b113bd7f2030903e26785e89afa55ad8136cba882
2020-07-23kiss-readlink: define _XOPEN_SOURCE on the Makefilemerakor
FossilOrigin-Name: f865a9075ebd59ee0205b617c8b0d511ba8213712429f34ee8a239f0396be28b
2020-07-23kiss-stat: style changesmerakor
FossilOrigin-Name: a396e0a7d4bea5c3f37fd8525fefb002ddff4ce4184dc7f431a93763b8f1216a
2020-07-23kiss-readlink: updatemerakor
FossilOrigin-Name: 52cb8b706a9e8cd0dcddfd4b7fb3ad788bc59dde64f0f71e3e749b988fc26110
2020-07-23kiss-readlink: change style, nitpicksmerakor
- use limits.h to assign the size of arrays. - use sprintf instead of strcpy/strcat. - use tabs of 8 characters instead of 2 spaces for indentation. - reformat the source code based on the styles of kernel.org and suckless.org. FossilOrigin-Name: 8f20c1368c92a49e66a9eb429503ec6901935d93af77f7af7284ab9c90101733
2020-06-08bin: C89 standard compatibility fixesmerakor
FossilOrigin-Name: 0f850280cc94a62782bf1fc83fa3b719678bf529f7101387c017d265fdd6a2f1
2020-06-08kiss-readlink: define realpath before mainmerakor
FossilOrigin-Name: 410ad0469a0283f8177b6ee881b99da8f3450a9c6142108688383053f881eba7
2020-06-08bin: change usagemerakor
FossilOrigin-Name: dd70f69dec26aeec1926c390145365f68f03be29536e2a52abb56b3855d2233b
2020-06-03kiss-stat: fix segfaultmerakor
This fixes an issue when the file doesn't have a registered owner in the passwd database, but we still tried to print it. We now check if the entry exists before we try printing it. FossilOrigin-Name: f34d077df5b31e7fc810e6b32e8fd526962e1268544661c535477eb8ff40db60
2020-05-15kiss-readlink: canonicalize directories if files do not exist.merakor
kiss-readlink will no longer fail if the targeted symlink doesn't exist. This is similar to how 'readlink -f' works. The previous behaviour was similar to 'readlink -e' from coreutils, i.e it wanted all targets to exist. FossilOrigin-Name: 80e435c92f9269b7eeff2140f57ef4b1fa675d139c4a598621eda6dbbbf2111c
2020-05-15bin: accept '--help' argumentsmerakor
FossilOrigin-Name: 72bce645308cdc351bf946ba29a0195c2e4a2c6974cf952c6e9391774e129273
2020-05-07kiss-readlink: standardize usage outputmerakor
FossilOrigin-Name: 7b844879ec099901439750e4f3443a9b14c5c853363ac650a8e3b0fa0fa5a7a9
2020-05-04kiss-readlink: remove commented codemerakor
FossilOrigin-Name: 51f746b0040a698d9e66a52e22fdbf4a98ebfc3cb5d6598a972ef2f73d149aee
2020-05-04kiss-readlink: remove extra colonmerakor
FossilOrigin-Name: 1666fdd8eb6f67514f498b63b5c8a5c2484e258f6c9c5439e78fd77d1656156e
2020-05-04kiss-readlink: add 'readlink -f' replacementmerakor
FossilOrigin-Name: 9e79f1a481f6d703182f086417f76c41b67e5ac180b9c3c79029cb151a770ec8
2020-05-03kiss: use our own version of stat for portability purposes.merakor
FossilOrigin-Name: 44c082a4672f3de9f932cd7262e2d8b4cba2fc590750db9b1fefc38673910045