Define ARCHIVE_READ_BLOCKSIZE and use it rather than using magic numbers.

--HG--
extra : convert_revision : b8e6755400eb6f2bef0ea1eb25a258f9ed1714c2
This commit is contained in:
Juan RP 2009-04-09 18:38:05 +02:00
parent 053abca5ef
commit 58c6a31297
3 changed files with 6 additions and 2 deletions

View file

@ -59,6 +59,8 @@
/* Verbose messages */
#define XBPS_VERBOSE 0x00000001
#define ARCHIVE_READ_BLOCKSIZE 2048
/* from lib/cmpver.c */
int xbps_cmpver_packages(const char *, const char *);
int xbps_cmpver_versions(const char *, const char *);