aboutsummaryrefslogtreecommitdiff
path: root/bin/kiss-readlink.c
AgeCommit message (Collapse)Author
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-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