Skip to content

Commit 9490cc9

Browse files
committed
lib: don't change size of based on configured paths
1 parent da0a442 commit 9490cc9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/xbps.h.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
*
5050
* This header documents the full API for the XBPS Library.
5151
*/
52-
#define XBPS_API_VERSION "20200423"
52+
#define XBPS_API_VERSION "20250521"
5353

5454
#ifndef XBPS_VERSION
5555
#define XBPS_VERSION "UNSET"
@@ -643,13 +643,13 @@ struct xbps_handle {
643643
*
644644
* Full path to the xbps configuration directory.
645645
*/
646-
char confdir[XBPS_MAXPATH+sizeof(XBPS_SYSCONF_PATH)];
646+
char confdir[XBPS_MAXPATH];
647647
/**
648648
* @var confdir
649649
*
650650
* Full path to the xbps configuration directory.
651651
*/
652-
char sysconfdir[XBPS_MAXPATH+sizeof(XBPS_SYSDEFCONF_PATH)];
652+
char sysconfdir[XBPS_MAXPATH];
653653
/**
654654
* @var rootdir
655655
*
@@ -663,14 +663,14 @@ struct xbps_handle {
663663
* Cache directory to store downloaded binary packages.
664664
* If unset, defaults to \a XBPS_CACHE_PATH (relative to rootdir).
665665
*/
666-
char cachedir[XBPS_MAXPATH+sizeof(XBPS_CACHE_PATH)];
666+
char cachedir[XBPS_MAXPATH];
667667
/**
668668
* @var metadir
669669
*
670670
* Metadata directory for all operations in XBPS.
671671
* If unset, defaults to \a XBPS_CACHE_PATH (relative to rootdir).
672672
*/
673-
char metadir[XBPS_MAXPATH+sizeof(XBPS_META_PATH)];
673+
char metadir[XBPS_MAXPATH];
674674
/**
675675
* @var native_arch
676676
*

0 commit comments

Comments
 (0)