commit 0031ed32e9ca3b29882aac005fc5f40715b5e8f5
parent 767c85056a003319ccd3b6cd581fc103c089d0ee
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 27 Nov 2025 13:46:44 +0100
fix GANA sorting
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu-taler-error-codes/Makefile b/gnu-taler-error-codes/Makefile
@@ -5,7 +5,7 @@ FILES=taler_error_codes.h \
taler_error_codes.kt \
taler_error_codes.go \
taler_error_codes.rs \
- taler_error_codes.rst
+ taler_error_codes.rst
all: check $(FILES)
@@ -26,7 +26,7 @@ prep:
# if nothing changed, we use 'diff' to make sure that 'recsel'
# actually changed the result.
combined.tmp: registry.rec prep
- recsel --sort=Value -t TalerErrorCode -j HttpStatus -p Description,Name,Value,HttpStatus,HttpStatus.Value,HttpStatus.Identifier ../http-status-codes/registry.rec registry.rec > combined.xtmp
+ recsel -t TalerErrorCode -j HttpStatus -p Description,Name,Value,HttpStatus,HttpStatus.Value,HttpStatus.Identifier ../http-status-codes/registry.rec registry.rec > combined.xtmp
if ! diff $@ combined.xtmp > /dev/null; then mv combined.xtmp $@; else rm combined.xtmp; fi
combined-escaped.tmp: combined.tmp
diff --git a/gnu-taler-error-codes/c.template b/gnu-taler-error-codes/c.template
@@ -1,5 +1,6 @@
{
+ /* {{Value}} */
.ec = TALER_EC_{{Name}},
.hint = gettext_noop ("{{Description}}"),
.http_code = MHD_HTTP_{{HttpStatus_Identifier}}