aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am2
-rw-r--r--lib/base64.c2
-rw-r--r--lib/bidimap.c2
-rw-r--r--lib/confirm.c2
-rw-r--r--lib/diag.c2
-rw-r--r--lib/expand.c2
-rw-r--r--lib/filemap.c2
-rw-r--r--lib/forlan.c2
-rw-r--r--lib/forlan.h2
-rw-r--r--lib/forlangrm.y2
-rw-r--r--lib/forlanlex.l2
-rw-r--r--lib/gdbmmap.c2
-rw-r--r--lib/getans.c2
-rw-r--r--lib/getyn.c7
-rw-r--r--lib/hmac_sha1.c2
-rw-r--r--lib/hmac_sha256.c2
-rw-r--r--lib/istore.c2
-rw-r--r--lib/ldapmap.c2
-rw-r--r--lib/libeclat.h2
-rw-r--r--lib/map.c2
-rw-r--r--lib/nullmap.c2
-rw-r--r--lib/paramlist.c2
-rw-r--r--lib/path.c2
-rw-r--r--lib/req2url.c2
-rw-r--r--lib/reqaddparm.c2
-rw-r--r--lib/reqcreat.c2
-rw-r--r--lib/reqencode.c2
-rw-r--r--lib/reqfree.c2
-rw-r--r--lib/reqsign.c2
-rw-r--r--lib/seqmap.c2
-rw-r--r--lib/trace.c2
-rw-r--r--lib/urlencode.c2
-rw-r--r--lib/xmltree.c2
33 files changed, 37 insertions, 34 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index e1ed1c3..121c6f9 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,5 +1,5 @@
1# This file is part of Eclat 1# This file is part of Eclat
2# Copyright (C) 2012-2018 Sergey Poznyakoff 2# Copyright (C) 2012-2023 Sergey Poznyakoff
3# 3#
4# Eclat is free software; you can redistribute it and/or modify 4# Eclat is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by 5# it under the terms of the GNU General Public License as published by
diff --git a/lib/base64.c b/lib/base64.c
index 3d9b956..4db2c18 100644
--- a/lib/base64.c
+++ b/lib/base64.c
@@ -1,5 +1,5 @@
1/* This file is part of Eclat 1/* This file is part of Eclat
2 Copyright (C) 2012-2018 Sergey Poznyakoff 2 Copyright (C) 2012-2023 Sergey Poznyakoff
3 3
4 Eclat is free software; you can redistribute it and/or modify 4 Eclat is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/lib/bidimap.c b/lib/bidimap.c
index aafc736..fea4edc 100644
--- a/lib/bidimap.c
+++ b/lib/bidimap.c
@@ -1,5 +1,5 @@
1/* This file is part of Eclat. 1/* This file is part of Eclat.
2 Copyright (C) 2012-2018 Sergey Poznyakoff. 2 Copyright (C) 2012-2023 Sergey Poznyakoff.
3 3
4 Eclat is free software; you can redistribute it and/or modify 4 Eclat is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/lib/confirm.c b/lib/confirm.c
index 550a822..e3ac552 100644
--- a/lib/confirm.c
+++ b/lib/confirm.c
@@ -1,5 +1,5 @@
1/* This file is part of Eclat. 1/* This file is part of Eclat.
2 Copyright (C) 2012-2018 Sergey Poznyakoff. 2 Copyright (C) 2012-2023 Sergey Poznyakoff.
3 3
4 Eclat is free software; you can redistribute it and/or modify 4 Eclat is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/lib/diag.c b/lib/diag.c
index dc54f6b..8887130 100644
--- a/lib/diag.c
+++ b/lib/diag.c
@@ -1,5 +1,5 @@
1/* This file is part of Eclat. 1/* This file is part of Eclat.
2 Copyright (C) 2012-2018 Sergey Poznyakoff. 2 Copyright (C) 2012-2023 Sergey Poznyakoff.
3 3
4 Eclat is free software; you can redistribute it and/or modify 4 Eclat is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/lib/expand.c b/lib/expand.c
index d051361..ad2a4d9 100644
--- a/lib/expand.c
+++ b/lib/expand.c
@@ -1,5 +1,5 @@
1/* This file is part of Eclat. 1/* This file is part of Eclat.
2 Copyright (C) 2012-2018 Sergey Poznyakoff. 2 Copyright (C) 2012-2023 Sergey Poznyakoff.
3 3
4 Eclat is free software; you can redistribute it and/or modify 4 Eclat is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/lib/filemap.c b/lib/filemap.c
index 26582ec..42e39aa 100644
--- a/lib/filemap.c
+++ b/lib/filemap.c
@@ -1,5 +1,5 @@
1/* This file is part of Eclat. 1/* This file is part of Eclat.
2 Copyright (C) 2012-2018 Sergey Poznyakoff. 2 Copyright (C) 2012-2023 Sergey Poznyakoff.
3 3
4 Eclat is free software; you can redistribute it and/or modify 4 Eclat is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/lib/forlan.c b/lib/forlan.c
index 9fc80cb..bf95ea1 100644
--- a/lib/forlan.c
+++ b/lib/forlan.c
@@ -1,5 +1,5 @@
1/* This file is part of Eclat. 1/* This file is part of Eclat.
2 Copyright (C) 2012-2018 Sergey Poznyakoff. 2 Copyright (C) 2012-2023 Sergey Poznyakoff.
3 3
4 Eclat is free software; you can redistribute it and/or modify 4 Eclat is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/lib/forlan.h b/lib/forlan.h
index 70b1cd2..2e75713 100644
--- a/lib/forlan.h
+++ b/lib/forlan.h
@@ -1,5 +1,5 @@
1/* This file is part of Eclat. 1/* This file is part of Eclat.
2 Copyright (C) 2012-2018 Sergey Poznyakoff. 2 Copyright (C) 2012-2023 Sergey Poznyakoff.
3 3
4 Eclat is free software; you can redistribute it and/or modify 4 Eclat is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/lib/forlangrm.y b/lib/forlangrm.y
index 9d44ec9..d14ec5d 100644
--- a/lib/forlangrm.y
+++ b/lib/forlangrm.y
@@ -1,6 +1,6 @@
1%{ 1%{
2/* This file is part of Eclat. 2/* This file is part of Eclat.
3 Copyright (C) 2012-2018 Sergey Poznyakoff. 3 Copyright (C) 2012-2023 Sergey Poznyakoff.
4 4
5 Eclat is free software; you can redistribute it and/or modify 5 Eclat is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
diff --git a/lib/forlanlex.l b/lib/forlanlex.l
index 0fc469e..5281e61 100644
--- a/lib/forlanlex.l
+++ b/lib/forlanlex.l
@@ -1,6 +1,6 @@
1%{ 1%{
2/* This file is part of Eclat. 2/* This file is part of Eclat.
3 Copyright (C) 2012-2018 Sergey Poznyakoff. 3 Copyright (C) 2012-2023 Sergey Poznyakoff.
4 4
5 Eclat is free software; you can redistribute it and/or modify 5 Eclat is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
diff --git a/lib/gdbmmap.c b/lib/gdbmmap.c
index a2887df..fd1347c 100644
--- a/lib/gdbmmap.c
+++ b/lib/gdbmmap.c
@@ -1,5 +1,5 @@
1/* This file is part of Eclat. 1/* This file is part of Eclat.
2 Copyright (C) 2012-2018 Sergey Poznyakoff. 2 Copyright (C) 2012-2023 Sergey Poznyakoff.
3 3
4 Eclat is free software; you can redistribute it and/or modify 4 Eclat is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/lib/getans.c b/lib/getans.c
index a5f635f..9db34af 100644
--- a/lib/getans.c
+++ b/lib/getans.c
@@ -1,5 +1,5 @@
1/* This file is part of Eclat. 1/* This file is part of Eclat.
2 Copyright (C) 2012-2018 Sergey Poznyakoff. 2 Copyright (C) 2012-2023 Sergey Poznyakoff.
3 3
4 Eclat is free software; you can redistribute it and/or modify 4 Eclat is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/lib/getyn.c b/lib/getyn.c
index 8339d9d..a6b861b 100644
--- a/lib/getyn.c
+++ b/lib/getyn.c
@@ -1,5 +1,5 @@
1/* This file is part of Eclat. 1/* This file is part of Eclat.
2 Copyright (C) 2012-2018 Sergey Poznyakoff. 2 Copyright (C) 2012-2023 Sergey Poznyakoff.
3 3
4 Eclat is free software; you can redistribute it and/or modify 4 Eclat is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
@@ -24,6 +24,7 @@ eclat_vgetyn(int dfl, const char *prompt, va_list ap)
24 static char *hint[] = { "y/n", "y/N", "Y/n" }; 24 static char *hint[] = { "y/n", "y/N", "Y/n" };
25 int state = 0; 25 int state = 0;
26 int c, resp; 26 int c, resp;
27 va_list aq;
27 28
28 if (dfl < -1) 29 if (dfl < -1)
29 dfl = -1; 30 dfl = -1;
@@ -57,7 +58,9 @@ eclat_vgetyn(int dfl, const char *prompt, va_list ap)
57 } else 58 } else
58 break; 59 break;
59 case 0: 60 case 0:
60 vfprintf(stdout, prompt, ap); 61 va_copy(aq, ap);
62 vfprintf(stdout, prompt, aq);
63 va_end(aq);
61 fprintf(stdout, " [%s] ", hint[dfl+1]); 64 fprintf(stdout, " [%s] ", hint[dfl+1]);
62 fflush(stdout); 65 fflush(stdout);
63 state = 1; 66 state = 1;
diff --git a/lib/hmac_sha1.c b/lib/hmac_sha1.c
index 1b1a0f0..ba7ee08 100644
--- a/lib/hmac_sha1.c
+++ b/lib/hmac_sha1.c
@@ -1,5 +1,5 @@
1/* This file is part of Eclat 1/* This file is part of Eclat
2 Copyright (C) 2012-2018 Sergey Poznyakoff 2 Copyright (C) 2012-2023 Sergey Poznyakoff
3 3
4 Eclat is free software; you can redistribute it and/or modify 4 Eclat is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/lib/hmac_sha256.c b/lib/hmac_sha256.c
index 84fa138..debb74c 100644
--- a/lib/hmac_sha256.c
+++ b/lib/hmac_sha256.c
@@ -1,5 +1,5 @@
1/* This file is part of Eclat 1/* This file is part of Eclat
2 Copyright (C) 2012-2018 Sergey Poznyakoff 2 Copyright (C) 2012-2023 Sergey Poznyakoff
3 3
4 Eclat is free software; you can redistribute it and/or modify 4 Eclat is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
diff --git a/lib/istore.c b/lib/istore.c
index f8244b8..7162671 100644
--- a/lib/istore.c
+++ b/lib/istore.c
@@ -1,5 +1,5 @@
1/* This file is part of Eclat. 1/* This file is part of Eclat.
2 Copyright (C) 2012-2018 Sergey Poznyakoff. 2 Copyright (C) 2012-2023 Sergey Poznyakoff.
3 3