src/libpakfire/db.c \
src/libpakfire/dist.c \
src/libpakfire/downloader.c \
- src/libpakfire/errno.c \
src/libpakfire/execute.c \
src/libpakfire/file.c \
src/libpakfire/filelist.c \
src/libpakfire/include/pakfire/db.h \
src/libpakfire/include/pakfire/dist.h \
src/libpakfire/include/pakfire/downloader.h \
- src/libpakfire/include/pakfire/errno.h \
src/libpakfire/include/pakfire/execute.h \
src/libpakfire/include/pakfire/file.h \
src/libpakfire/include/pakfire/filelist.h \
#include <Python.h>
#include <assert.h>
-#include <pakfire/errno.h>
#include <pakfire/problem.h>
#include "problem.h"
#include <Python.h>
#include <assert.h>
-#include <pakfire/errno.h>
#include <pakfire/solution.h>
#include "solution.h"
+++ /dev/null
-/*#############################################################################
-# #
-# Pakfire - The IPFire package management system #
-# Copyright (C) 2013 Pakfire development team #
-# #
-# This program is free software: you can redistribute it and/or modify #
-# it under the terms of the GNU General Public License as published by #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-#############################################################################*/
-
-#include "errno.h"
-
-#include <pakfire/private.h>
-
-__thread int pakfire_errno = 0;
-
-PAKFIRE_EXPORT int pakfire_get_errno(void) {
- return pakfire_errno;
-}
+++ /dev/null
-/*#############################################################################
-# #
-# Pakfire - The IPFire package management system #
-# Copyright (C) 2013 Pakfire development team #
-# #
-# This program is free software: you can redistribute it and/or modify #
-# it under the terms of the GNU General Public License as published by #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-#############################################################################*/
-
-#ifndef PAKFIRE_ERRNO_H
-#define PAKFIRE_ERRNO_H
-
-enum _pakfire_errors {
- PAKFIRE_E_NONE
-};
-
-extern __thread int pakfire_errno;
-
-int pakfire_get_errno(void);
-
-#endif /* PAKFIRE_ERRNO_H */
pakfire_basename;
pakfire_dirname;
pakfire_generate_uuid;
- pakfire_get_errno;
pakfire_path_isdir;
pakfire_path_join;
pakfire_path_relpath;
#define PCRE2_CODE_UNIT_WIDTH 8
#include <pcre2.h>
-#include <pakfire/errno.h>
#include <pakfire/execute.h>
#include <pakfire/logging.h>
#include <pakfire/package.h>
#include <pakfire/compress.h>
#include <pakfire/constants.h>
#include <pakfire/downloader.h>
-#include <pakfire/errno.h>
#include <pakfire/file.h>
#include <pakfire/filelist.h>
#include <pakfire/i18n.h>
#include <solv/queue.h>
#include <solv/solver.h>
-#include <pakfire/errno.h>
#include <pakfire/filter.h>
#include <pakfire/logging.h>
#include <pakfire/package.h>
}
finish:
- if (ret)
- pakfire_errno = ret;
-
queue_free(&queue_selector);
return ret;