projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f2ebca
)
Fix simple define problem
author
Glenn L McGrath
<bug1@ihug.co.nz>
Thu, 26 Sep 2002 16:01:21 +0000
(16:01 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Thu, 26 Sep 2002 16:01:21 +0000
(16:01 -0000)
archival/ar.c
patch
|
blob
|
history
diff --git
a/archival/ar.c
b/archival/ar.c
index b5fa7956e08fbbaf47086a5dfc1b407dfda23273..9979273466c2e0221614bff4e90080781e9d8f3d 100644
(file)
--- a/
archival/ar.c
+++ b/
archival/ar.c
@@
-80,11
+80,12
@@
extern int ar_main(int argc, char **argv)
archive_handle_t *archive_handle;
int opt;
+#ifndef CONFIG_DPKG_DEB
+ char magic[8];
+#endif
#if defined CONFIG_TAR | defined CONFIG_DPKG_DEB | defined CONFIG_CPIO
archive_handle = init_handle();
#else
- char magic[8];
-
archive_handle = xcalloc(1, sizeof(archive_handle_t));
archive_handle->filter = filter_accept_all;
archive_handle->action_data = data_skip;