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 @@
# This file is part of Eclat
-# Copyright (C) 2012-2018 Sergey Poznyakoff
+# Copyright (C) 2012-2023 Sergey Poznyakoff
#
# Eclat is free software; you can redistribute it and/or modify
# 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 @@
/* This file is part of Eclat
- Copyright (C) 2012-2018 Sergey Poznyakoff
+ Copyright (C) 2012-2023 Sergey Poznyakoff
Eclat is free software; you can redistribute it and/or modify
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 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
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 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
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 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
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 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
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 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
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 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
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 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
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 @@
%{
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
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 @@
%{
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
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 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
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 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
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 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
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)
static char *hint[] = { "y/n", "y/N", "Y/n" };
int state = 0;
int c, resp;
+ va_list aq;
if (dfl < -1)
dfl = -1;
@@ -57,7 +58,9 @@ eclat_vgetyn(int dfl, const char *prompt, va_list ap)
} else
break;
case 0:
- vfprintf(stdout, prompt, ap);
+ va_copy(aq, ap);
+ vfprintf(stdout, prompt, aq);
+ va_end(aq);
fprintf(stdout, " [%s] ", hint[dfl+1]);
fflush(stdout);
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 @@
/* This file is part of Eclat
- Copyright (C) 2012-2018 Sergey Poznyakoff
+ Copyright (C) 2012-2023 Sergey Poznyakoff
Eclat is free software; you can redistribute it and/or modify
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 @@
/* This file is part of Eclat
- Copyright (C) 2012-2018 Sergey Poznyakoff
+ Copyright (C) 2012-2023 Sergey Poznyakoff
Eclat is free software; you can redistribute it and/or modify
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 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/ldapmap.c b/lib/ldapmap.c
index 09b0689..f1ad7e1 100644
--- a/lib/ldapmap.c
+++ b/lib/ldapmap.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/libeclat.h b/lib/libeclat.h
index 285e045..92ce03d 100644
--- a/lib/libeclat.h
+++ b/lib/libeclat.h
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/map.c b/lib/map.c
index c16ecd0..241b2b5 100644
--- a/lib/map.c
+++ b/lib/map.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/nullmap.c b/lib/nullmap.c
index 5cc5df4..00ad8dd 100644
--- a/lib/nullmap.c
+++ b/lib/nullmap.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/paramlist.c b/lib/paramlist.c
index 064b79b..e01097c 100644
--- a/lib/paramlist.c
+++ b/lib/paramlist.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/path.c b/lib/path.c
index 0056f9c..85523db 100644
--- a/lib/path.c
+++ b/lib/path.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/req2url.c b/lib/req2url.c
index c97d321..025a5ef 100644
--- a/lib/req2url.c
+++ b/lib/req2url.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/reqaddparm.c b/lib/reqaddparm.c
index 436d4bc..dd143dd 100644
--- a/lib/reqaddparm.c
+++ b/lib/reqaddparm.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/reqcreat.c b/lib/reqcreat.c
index 8bfca56..f1f2ae4 100644
--- a/lib/reqcreat.c
+++ b/lib/reqcreat.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/reqencode.c b/lib/reqencode.c
index c5a9655..0a7244a 100644
--- a/lib/reqencode.c
+++ b/lib/reqencode.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/reqfree.c b/lib/reqfree.c
index 8fde4ba..7cd0d49 100644
--- a/lib/reqfree.c
+++ b/lib/reqfree.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/reqsign.c b/lib/reqsign.c
index fee5adb..d38b3db 100644
--- a/lib/reqsign.c
+++ b/lib/reqsign.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/seqmap.c b/lib/seqmap.c
index c50d848..767d6e5 100644
--- a/lib/seqmap.c
+++ b/lib/seqmap.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/trace.c b/lib/trace.c
index 6b79e58..8cf5da9 100644
--- a/lib/trace.c
+++ b/lib/trace.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat.
- Copyright (C) 2012-2018 Sergey Poznyakoff.
+ Copyright (C) 2012-2023 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/urlencode.c b/lib/urlencode.c
index 70aaaa8..4e1db3a 100644
--- a/lib/urlencode.c
+++ b/lib/urlencode.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat
- Copyright (C) 2012-2018 Sergey Poznyakoff
+ Copyright (C) 2012-2023 Sergey Poznyakoff
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/lib/xmltree.c b/lib/xmltree.c
index 6e3a00e..171260c 100644
--- a/lib/xmltree.c
+++ b/lib/xmltree.c
@@ -1,5 +1,5 @@
/* This file is part of Eclat
- Copyright (C) 2012-2018 Sergey Poznyakoff
+ Copyright (C) 2012-2023 Sergey Poznyakoff
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

Return to:

Send suggestions and report system problems to the System administrator.