summaryrefslogtreecommitdiff
path: root/libmisc
Commit message (Collapse)AuthorAgeFilesLines
* getfattr: Add --one-file-system optionAndreas Gruenbacher2021-03-111-0/+10
| | | | | Add a --one-filesystem option to getfattr. With this option, getfattr will not cross mount points, similar to "tar --one-file-system".
* Move struct stat into struct walk_tree_argsAndreas Gruenbacher2021-03-111-14/+14
|
* Move list of open directories into struct walk_tree_argsAndreas Gruenbacher2021-03-111-30/+29
|
* Move walk_tree_rec arguments into a separate structAndreas Gruenbacher2021-03-111-32/+49
|
* Update my email addressAndreas Gruenbacher2020-02-062-2/+2
|
* Cleanup config.h usageYury Usishchev2016-03-025-0/+10
| | | | Add config.h include to every source file before all other includes.
* walk_tree_rec: Add parentheses to clarify codeAndreas Gruenbacher2015-12-261-2/+2
| | | | | | Make the conditional easier to read. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
* walk_tree: mark internal variables as staticDmitry V. Levin2015-09-211-3/+3
| | | | walk_tree.c internal variables should not be exposed to libmisc users.
* telldir return value and seekdir second parameters are of type longCristian Rodríguez2014-06-101-1/+1
| | | | not off_t .. since a pretty long time.
* License fixesAndreas Gruenbacher2014-03-041-2/+2
| | | | | | The libattr library is supposed to be LGPLv2.1+ licensed, but some of the files were accidentally labeled as GPLv2+ licensed. Fix this and clarify some more license headers that mix LGPLv2.1 and GPLv2.
* modernize build systemMike Frysinger2014-01-092-31/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This deletes the hand rolled build system and replaces it entirely with autotools. The overall diffstat shows that this is a clear win, and it makes the package build/install like every other autotool package out there which makes the lives of distro maintainers a lot easier. This should also be faster by virtue of using a non-recursive build. Things to note: - to generate autotools: ./autogen.sh - to see full compile output: make V=1 - to build specific targets: make attr getfattr ... - to run tests: make check - to create a release: make distcheck -j Other non-developer things: - the xattr.conf file is now installed into sysconfdir by default - man pages are no longer compressed as this is uncommon in the autotools world and distros don't need it anyways (they already handle it automatically for most pakages) - the minor # of the shared library is now based on the package version so it'll be much bigger ... this isn't a problem, and is actually a bugfix (older releases didn't change when they should have) (Again, this is all using the standard autotool targets.)
* walk_tree: do not follow symlink to directory with -hKamil Dudka2011-05-251-1/+2
| | | | reported by Jean-Pierre André at https://bugzilla.redhat.com/660613
* quote: pull in string.h for strchr prototypemiscMike Frysinger2010-01-221-0/+1
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Brandon Philips <brandon@ifup.org>
* Introduce new WALK_TREE_DEREFERENCE_TOPLEVEL flagAndreas Gruenbacher2009-06-231-1/+3
| | | | | | This flag indicates to dereference top-level symlinks. (If non top-level symlinks should be stat()ed as well, the WALK_TREE_DEREFERENCE flag must be specified.)
* Add a parameter to quote() to specify which characters to quoteAndreas Gruenbacher2009-06-221-3/+3
|
* Put libmisc on its own branchAndreas Gruenbacher2009-06-226-0/+471