summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libattr: syscalls: use syscalls.hriku-syscall-fixRiku Voipio2013-03-201-164/+2
| | | | | | Include syscalls.h and check for __NR_setxattr being set. This fixes the build on new and odd archs but may break on really really old machines with out of date syscalls.h.
* Clarify what the --only-values flag doesAndreas Gruenbacher2011-12-111-1/+1
|
* fix typos in attr.1 man pageKamil Dudka2011-05-271-2/+2
| | | | Contributed by John Bradshaw.
* getfattr: return non-zero exit code on failureKamil Dudka2011-05-272-3/+8
| | | | reported by Jean-Pierre André at https://bugzilla.redhat.com/660619
* walk_tree: do not follow symlink to directory with -hKamil Dudka2011-05-254-11/+16
| | | | reported by Jean-Pierre André at https://bugzilla.redhat.com/660613
* VERSION: 2.4.45 -> 2.4.46v2.4.46Brandon Philips2011-04-191-1/+1
|
* test: fix root tests with sortingBrandon Philips2011-04-191-18/+17
| | | | The root tests were not piped through the sorting program. Fix this.
* test: Add sort-getfattr-output to source filesBrandon Philips2011-04-191-1/+1
| | | | test/sort-getfattr-output was missing from the tarball. Add it.
* VERSION: 2.4.44 -> 2.4.45v2.4.45Brandon Philips2011-04-151-1/+1
|
* OPTIONS in man pages should be a section heading, not a subsection headingAndreas Gruenbacher2010-11-232-2/+2
|
* getfattr: encode NULs properly with --encoding=textKamil Dudka2010-11-231-2/+4
| | | | reported by Paul Bolle at https://bugzilla.redhat.com/650539
* setfattr.1: document supported encodings of valuesKamil Dudka2010-11-231-1/+9
| | | | reported by Tomasz Kepczynski at https://bugzilla.redhat.com/58751
* Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/attrAndreas Gruenbacher2010-11-236-50/+32
|\
| * setfattr.c: fix thinko in restore()Kamil Dudka2010-06-031-1/+1
| |
| * attr_parse_attr_conf: eliminate a double freeKamil Dudka2010-06-031-0/+1
| |
| * attr_parse_attr_conf: eliminate a memory leakKamil Dudka2010-06-031-0/+1
| |
| * improve AC_PATH_PROG usageMike Frysinger2010-01-221-39/+14
| | | | | | | | | | | | | | | | | | Use AC_PATH_PROG unconditionally and append the search PATH instead of forcing lookup in a few dirs. This way we can find the binaries on more systems where things don't live in the expected locations. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Brandon Philips <brandon@ifup.org>
| * Merge branch 'misc'Brandon Philips2010-01-223-5/+9
| |\
| | * 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-232-5/+8
| | | | | | | | | | | | | | | | | | 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.)
| * | libattr: fix memory leak in attr_copy_action()Brandon Philips2009-12-171-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stanse found that attr_copy_action returns before freeing the memory allocated for text. Move fopen() above the malloc so this is not a problem. Fixes this bug: https://bugzilla.novell.com/show_bug.cgi?id=564735 Signed-off-by: Brandon Philips <bphilips@suse.de>
* | | Ugly hack to convert the man pages into htmlAndreas Gruenbacher2010-06-281-0/+7
|/ /
* | VERSION: 2.4.43 -> 2.4.44v2.4.44Brandon Philips2009-07-311-1/+1
| |
* | attr.test: fix tests after "Stop quoting nonprintable characters in the ↵Andreas Gruenbacher2009-07-311-8/+8
| | | | | | | | | | | | | | getfattr output" after 6824f9c68225388c8c7a9e887a21f0aa222c3571 getfattr outputs \ooo style characters in fewer cases. Fix the test case to match.
* | Stop quoting nonprintable characters in the getfattr outputAndreas Gruenbacher2009-06-222-17/+17
| | | | | | | | | | | | | | What is printable or not depends on the locale settings, and getfattr often gets it wrong. We still need to quote a few special characters like newlines, and "=" in attribute names, so that setfattr can always parse getfattr's output.
* | Merge branch 'misc'Andreas Gruenbacher2009-06-222-4/+4
|\ \ | |/
| * Add a parameter to quote() to specify which characters to quoteAndreas Gruenbacher2009-06-222-4/+4
| |
* | Merge branch 'misc'Andreas Gruenbacher2009-06-224-8/+3
|\ \ | |/
| * Put libmisc on its own branchAndreas Gruenbacher2009-06-228-0/+532
|
* test/run: fix lt- prefix from libtool wrappersBrandon Philips2009-06-221-0/+2
| | | | | | | | | On some platforms libtool prefixes the in-tree binaries under .libs with "lt-". This causes the tests to break. This patch removes the lt- prefix from program error output. A discussion on the issue is here: http://lists.gnu.org/archive/html/libtool/2009-05/msg00042.html
* Build fix for GNU/kFreeBSDPetr Salinger2009-06-192-0/+6
| | | | | On Linux, ENOATTR aliases to ENODATA. On other operating systems like Irix and BSD*, ENOATTR is a separate error number.
* Add homepage url and remove obsolete referencesAndreas Gruenbacher2009-06-191-8/+2
|
* Fix the path to include/install-shAndreas Gruenbacher2009-06-171-1/+1
|
* More license updatesAndreas Gruenbacher2009-05-1276-360/+550
| | | | | | | | | | | | | Clarify some license notices to specifically refer to GPLv2+ instead of only referring to GPL without version. (Most of the sloppy license headers slipped in unnoticed; the changes were acked by Felix Blyakher <felixb@sgi.com> on behalf of SGI on 8 April 2009.) Add license headers to a number of small files which were only licenses as GPLv2+ implicitly so far. Refer to this package as "this program" rather than "Attr" throughout the license notices; this simplifies sharing files among packages.
* Libtool compatibility fix for version 1Andreas Gruenbacher2009-03-161-1/+6
| | | | | | Recent versions of libtool require the -i option for copying auxiliary files (config.sub, config.guess, install-sh, ltmain.sh), while older versions will copy those files anyway, and don't understand -i.
* Fix wrong license noticesAndreas Gruenbacher2009-03-1144-44/+44
| | | | | | | | Some of the license notices added in commit f36cdfd are wrongly referring to GPLv2.1. This is wrong; the proper licenses that the notices should refer to are GPLv2, and LGPLv2.1. Fix this mistake. Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
* Split doc/{COPYING => COPYING, COPYING.LGPL}Andreas Gruenbacher2009-03-112-529/+529
| | | | | | | | Split into separate files for the GPL and LGPL to make things slightly more obvious. Also updates the surface mail address according to the FSF's latest template, and fixes a left-over reference to the ``GNU Library General Public License'', which is now known as the ``GNU Lesser General Public License''.
* Add copyright and license notices to lots of filesAndreas Gruenbacher2009-03-1043-24/+648
| | | | Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
* Fix encoding and add copyright and license noticeAndreas Gruenbacher2009-03-101-197/+215
|
* More libtoolize fixesAndreas Gruenbacher2009-03-104-7/+14
| | | | | | | | | | | | | | Recent versions of libtool behave slightly differently, which causes some breakage in how libtoolize was used here. Make sure that libtoolize adds the auxiliary files (config.guess and config.sub). Move install-sh into include/ so that libtoolize does not destroy it. Split up the ``make clean'' and ``make distclean'' targets: the former removes all files generated during a build. The latter removes all files generated by libtoolize, autoconf, and configure as well. Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
* Whitespace cleanupsAndreas Gruenbacher2009-03-101-11/+11
|
* Add more generated files to .gitignore, and sort the fileAndreas Gruenbacher2009-03-101-16/+22
|
* Remove redundant AC_PROG_LIBTOOL invocationAndreas Gruenbacher2009-03-081-2/+0
|
* Automake and libtool fixesAndreas Gruenbacher2009-02-274-260/+12
| | | | | | | | Remove aclocal.m4 from the repository and generate it when needed. Add the AC_PROG_LIBTOOL autoconf macro and use libtoolize according to the libtool info pages. Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
* Define ENABLE_GETTEXT with --enable-gettextAndreas Gruenbacher2009-02-271-0/+2
| | | | | | | When --enable-gettext is specified, make sure that ENABLE_GETTEXT gets defined in config.h. Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
* Make sure we respect LINGUAS #205948 by Arvid NorlanderAndreas Gruenbacher2009-02-261-1/+1
| | | | | | Patch from Gentoo via Mike Frysinger <vapier@gentoo.org>. Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
* Add a small script for sorting the getfattr outputAndreas Gruenbacher2009-02-233-22/+121
| | | | | | | Instead of using grep and sort, use a small perl script for sorting the getfattr output. That way, the test remains more obvious. This reverts commit aeaf2d577c10f42dbc21e8d7370ee9cf37e5667e.
* Make all the tests readdir order independentAndreas Gruenbacher2009-02-232-115/+24
| | | | | | | | When reading directories, different filesystems return files in different orders. Some tests depended on a specific order; remove this dependency by sorting the results before checking them. Signed-off: Andreas Gruenbacher <agruen@suse.de>
* Add top-level ext-tests and root-tests targetsAndreas Gruenbacher2009-02-231-3/+3
|
* Add root tests to tarballs as wellAndreas Gruenbacher2009-02-231-1/+1
| | | | Signed-off-by: Andreas Gruenbacher <agruen@suse.de>