Age | Commit message (Collapse) | Author |
|
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
|
|
FossilOrigin-Name: ec194605cd8c21140304faf47b67f419967b7606155d7afb0e6d9f83c7622d46
|
|
FossilOrigin-Name: 6ca0330a7e548be4e516ad6c275b2878a1521d2de5263fd75defc16f8f52c93b
|
|
FossilOrigin-Name: 70768e375d0435c03ac58cfa8f6920f5bb9af3f99921e843284a1d107e4ecb78
|
|
FossilOrigin-Name: f404639f07097134f93aa22cc5583ff73a6cd281aa4b1bbfd10053ebd97d7bf4
|
|
FossilOrigin-Name: 7d9868704c78e77a169dee8b113bd7f2030903e26785e89afa55ad8136cba882
|
|
FossilOrigin-Name: f865a9075ebd59ee0205b617c8b0d511ba8213712429f34ee8a239f0396be28b
|
|
FossilOrigin-Name: a396e0a7d4bea5c3f37fd8525fefb002ddff4ce4184dc7f431a93763b8f1216a
|
|
FossilOrigin-Name: 52cb8b706a9e8cd0dcddfd4b7fb3ad788bc59dde64f0f71e3e749b988fc26110
|
|
- 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
|
|
FossilOrigin-Name: 0f850280cc94a62782bf1fc83fa3b719678bf529f7101387c017d265fdd6a2f1
|
|
FossilOrigin-Name: 410ad0469a0283f8177b6ee881b99da8f3450a9c6142108688383053f881eba7
|
|
FossilOrigin-Name: dd70f69dec26aeec1926c390145365f68f03be29536e2a52abb56b3855d2233b
|
|
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
|
|
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
|
|
FossilOrigin-Name: 72bce645308cdc351bf946ba29a0195c2e4a2c6974cf952c6e9391774e129273
|
|
FossilOrigin-Name: 7b844879ec099901439750e4f3443a9b14c5c853363ac650a8e3b0fa0fa5a7a9
|
|
FossilOrigin-Name: 51f746b0040a698d9e66a52e22fdbf4a98ebfc3cb5d6598a972ef2f73d149aee
|
|
FossilOrigin-Name: 1666fdd8eb6f67514f498b63b5c8a5c2484e258f6c9c5439e78fd77d1656156e
|
|
FossilOrigin-Name: 9e79f1a481f6d703182f086417f76c41b67e5ac180b9c3c79029cb151a770ec8
|
|
FossilOrigin-Name: 44c082a4672f3de9f932cd7262e2d8b4cba2fc590750db9b1fefc38673910045
|