summaryrefslogtreecommitdiff
path: root/examples/copyattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/copyattr.c')
-rw-r--r--examples/copyattr.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/copyattr.c b/examples/copyattr.c
index 1013206..05e5124 100644
--- a/examples/copyattr.c
+++ b/examples/copyattr.c
@@ -1,4 +1,23 @@
/*
+ Copyright (C) 2009 Andreas Gruenbacher <agruen@suse.de>
+
+ This file is part of Attr.
+
+ Attr is free software: you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2.1 of the License, or
+ (at your option) any later version.
+
+ Attr is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Attr. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/*
* Example how to preserve Extended Attributes in file manager style
* applications. This does NOT also copy Access Control Lists!
*