diff options
author | Qing He <qing.he@intel.com> | 2010-07-07 18:58:54 +0800 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-07-08 21:14:00 -0700 |
commit | 23dd7251a88eccaf9f2896bbb98e7c6d263ee695 (patch) | |
tree | 5bb6ef76f3fbbcd296a3818b5986672f7c9a010f /meta/packages/attr/attr-2.4.44/thinko-in-restore.patch | |
parent | a604cb78cc6ea2bebac0b2b17871afdb962f3e72 (diff) | |
download | poky-23dd7251a88eccaf9f2896bbb98e7c6d263ee695.tar.gz |
attr: add new package
version 2.4.44
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/packages/attr/attr-2.4.44/thinko-in-restore.patch')
-rw-r--r-- | meta/packages/attr/attr-2.4.44/thinko-in-restore.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/packages/attr/attr-2.4.44/thinko-in-restore.patch b/meta/packages/attr/attr-2.4.44/thinko-in-restore.patch new file mode 100644 index 0000000000..a84de94ed0 --- /dev/null +++ b/meta/packages/attr/attr-2.4.44/thinko-in-restore.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | commit e8d568c696692eed5c92d5a35498e1c26e13d6b3 | ||
2 | Author: Kamil Dudka <kdudka@redhat.com> | ||
3 | Date: Thu Jun 3 15:30:19 2010 +0200 | ||
4 | |||
5 | setfattr.c: fix thinko in restore() | ||
6 | |||
7 | diff --git a/setfattr/setfattr.c b/setfattr/setfattr.c | ||
8 | index 491c25a..0a14cfa 100644 | ||
9 | --- a/setfattr/setfattr.c | ||
10 | +++ b/setfattr/setfattr.c | ||
11 | @@ -120,7 +120,7 @@ int restore(const char *filename) | ||
12 | break; | ||
13 | line++; | ||
14 | if (strncmp(l, "# file: ", 8) != 0) { | ||
15 | - if (filename) { | ||
16 | + if (file != stdin) { | ||
17 | fprintf(stderr, _("%s: %s: No filename found " | ||
18 | "in line %d, aborting\n"), | ||
19 | progname, filename, backup_line); | ||