diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2000-11-16 19:44:12 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2000-11-16 19:44:12 +0000 |
commit | 6b687da36f3ddcf2635349d95d9e07b889b731eb (patch) | |
tree | 66a43c991d7e829cee3248a477c1604f00722228 /mdk-stage1/mar/mar.h | |
parent | c7d7c61b80356709e01e411d3459f104bb219897 (diff) | |
download | drakx-6b687da36f3ddcf2635349d95d9e07b889b731eb.tar drakx-6b687da36f3ddcf2635349d95d9e07b889b731eb.tar.gz drakx-6b687da36f3ddcf2635349d95d9e07b889b731eb.tar.bz2 drakx-6b687da36f3ddcf2635349d95d9e07b889b731eb.tar.xz drakx-6b687da36f3ddcf2635349d95d9e07b889b731eb.zip |
- fix bug of not actually writing down the `0' char to end filetable
- use stat to compute file lengths
- test NULL pointers directly on their value
Diffstat (limited to 'mdk-stage1/mar/mar.h')
-rw-r--r-- | mdk-stage1/mar/mar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mdk-stage1/mar/mar.h b/mdk-stage1/mar/mar.h index 5d8d98f61..a5ea62aa0 100644 --- a/mdk-stage1/mar/mar.h +++ b/mdk-stage1/mar/mar.h @@ -27,6 +27,7 @@ #ifndef MAR_H #define MAR_H +#if 1 #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -35,6 +36,9 @@ #include <fcntl.h> #include <errno.h> #include <unistd.h> +#endif +//#include <minilibc.h> + #include <zlib.h> /* |