diff --git a/include/xbps_api.h.in b/include/xbps_api.h.in index 0353878d..3258b0e0 100644 --- a/include/xbps_api.h.in +++ b/include/xbps_api.h.in @@ -64,7 +64,7 @@ */ #define XBPS_PKGINDEX_VERSION "1.6" -#define XBPS_API_VERSION "20130207-1" +#define XBPS_API_VERSION "20130220" #ifndef XBPS_VERSION #define XBPS_VERSION "UNSET" diff --git a/lib/download.c b/lib/download.c index 090591d7..7429486d 100644 --- a/lib/download.c +++ b/lib/download.c @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2009-2012 Juan Romero Pardines + * Copyright (c) 2009-2013 Juan Romero Pardines * Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav * All rights reserved. * @@ -273,8 +273,6 @@ xbps_fetch_file(struct xbps_handle *xhp, const char *uri, const char *flags) rv = -1; goto out; } - /* sync and close fd */ - (void)fsync(fd); (void)close(fd); fd = -1;