Retrieved from Fedora: https://src.fedoraproject.org/rpms/pstoedit/tree diff --git a/src/pstoedit.cpp b/src/pstoedit.cpp index a718f37..ac0df37 100755 --- a/src/pstoedit.cpp +++ b/src/pstoedit.cpp @@ -327,6 +327,11 @@ extern FILE *yyin; // used by lexer // otherwise we could declare it locally where it is used +extern "C" DLLEXPORT void loadpstoeditplugins_plainC(const char *progname, int verbose) +{ + return loadpstoeditplugins(progname, cerr, (bool) verbose); +} + static void usage(ostream & outstream, bool forTeX, bool withdetails, bool withcategories ) { if (withcategories) { diff --git a/src/pstoedit.h b/src/pstoedit.h index 294b3c2..74ebf2a 100755 --- a/src/pstoedit.h +++ b/src/pstoedit.h @@ -100,8 +100,13 @@ void clearPstoeditDriverInfo_plainC(struct DriverDescription_S * ptr); #ifdef __cplusplus extern "C" DLLEXPORT -#endif void loadpstoeditplugins(const char* progname, std::ostream & errstream, bool verbose); +#endif + +#ifdef __cplusplus +extern "C" DLLEXPORT +#endif +void loadpstoeditplugins_plainC(const char* progname, int verbose); #ifdef __cplusplus extern "C" DLLEXPORT --- a/src/pstoedit.orig.h 2023-07-22 19:27:43.691166652 +0200 +++ b/src/pstoedit.h 2023-07-22 19:31:18.897952130 +0200 @@ -37,6 +37,7 @@ #endif #include "pstoedll.h" +#include typedef int (*execute_interpreter_function)(int argc, const char * const argv[]); mitdiff
path: root/nix/boost/assert.hpp
'left'>Author
AgeCommit message (Expand)Author
2022-02-14git-authenticate: Ensure the target is a descendant of the introductory commit....Fixes a bug whereby authentication of a commit *not* descending from the introductory commit could succeed, provided the commit verifies the authorization invariant. In the example below, A is a common ancestor of the introductory commit I and of commit X. Authentication of X would succeed, even though it is not a descendant of I, as long as X is authorized according to the '.guix-authorizations' in A: X I \ / A This is because, 'authenticate-repository' would not check whether X descends from I, and the call (commit-difference X I) would return X. In practice that only affects forks because it means that ancestors of the introductory commit already contain a '.guix-authorizations' file. * guix/git-authenticate.scm (authenticate-repository): Add call to 'commit-descendant?'. * tests/channels.scm ("authenticate-channel, not a descendant of introductory commit"): New test. * tests/git-authenticate.scm ("authenticate-repository, target not a descendant of intro"): New test. * tests/guix-git-authenticate.sh: Expect earlier test to fail since 9549f0283a78fe36f2d4ff2a04ef8ad6b0c02604 is not a descendant of $intro_commit. Add new test targeting an ancestor of the introductory commit, and another test targeting the v1.2.0 commit. * doc/guix.texi (Specifying Channel Authorizations): Add a sentence. Ludovic Courtès
2020-09-28tests: Simplify shell exit status negation;...* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-lint.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh: Use the shell '!' keyword to negate command exit status in place of 'if ...; then false; else true; fi' Eric Bavier
2020-07-11Add 'guix git authenticate'....* guix/scripts/git.scm, guix/scripts/git/authenticate.scm, tests/guix-git-authenticate.sh: New files. * Makefile.am (MODULES): Add the *.scm files. (SH_TESTS): Add 'tests/guix-git-authenticate.sh'. * doc/guix.texi (Channels)[Specifying Channel Authorizations]: Mention 'guix git authenticate'. (Invoking guix git authenticate): New node. * po/guix/POTFILES.in: Add 'guix/scripts/git.scm' and 'guix/scripts/git/authenticate.scm'. Ludovic Courtès