summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-03-20 04:02:06 +0000
committerschwarze <schwarze@openbsd.org>2019-03-20 04:02:06 +0000
commit94534f406f3cce918797f62d555d6a78ab58eaf9 (patch)
tree12f908a47cc6104e30cb92b99763a8f0166b15ec
parentregen (diff)
downloadwireguard-openbsd-94534f406f3cce918797f62d555d6a78ab58eaf9.tar.xz
wireguard-openbsd-94534f406f3cce918797f62d555d6a78ab58eaf9.zip
escape backslashes;
patch from Peter Piwowarski <peterjpiwowarski at gmail dot com>
-rw-r--r--lib/libc/stdlib/qsort.36
-rw-r--r--lib/libcrypto/man/CONF_modules_load_file.316
2 files changed, 11 insertions, 11 deletions
diff --git a/lib/libc/stdlib/qsort.3 b/lib/libc/stdlib/qsort.3
index 302a5e33c62..4f90eae9851 100644
--- a/lib/libc/stdlib/qsort.3
+++ b/lib/libc/stdlib/qsort.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: qsort.3,v 1.24 2019/01/22 06:49:17 jmc Exp $
+.\" $OpenBSD: qsort.3,v 1.25 2019/03/20 04:02:06 schwarze Exp $
.\"
-.Dd $Mdocdate: January 22 2019 $
+.Dd $Mdocdate: March 20 2019 $
.Dt QSORT 3
.Os
.Sh NAME
@@ -179,7 +179,7 @@ main()
qsort(array, N, sizeof(array[0]), cmp);
for (i = 0; i < N; i++)
- printf("%s\n", array[i]);
+ printf("%s\en", array[i]);
}
diff --git a/lib/libcrypto/man/CONF_modules_load_file.3 b/lib/libcrypto/man/CONF_modules_load_file.3
index 900108fad43..d0401d520ba 100644
--- a/lib/libcrypto/man/CONF_modules_load_file.3
+++ b/lib/libcrypto/man/CONF_modules_load_file.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: CONF_modules_load_file.3,v 1.7 2018/03/22 21:08:22 schwarze Exp $
+.\" $OpenBSD: CONF_modules_load_file.3,v 1.8 2019/03/20 04:02:07 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 22 2018 $
+.Dd $Mdocdate: March 20 2019 $
.Dt CONF_MODULES_LOAD_FILE 3
.Os
.Sh NAME
@@ -163,7 +163,7 @@ Load a configuration file and print out any errors and exit (missing
file considered fatal):
.Bd -literal
if (CONF_modules_load_file(NULL, NULL, 0) <= 0) {
- fprintf(stderr, "FATAL: error loading configuration file\n");
+ fprintf(stderr, "FATAL: error loading configuration file\en");
ERR_print_errors_fp(stderr);
exit(1);
}
@@ -174,7 +174,7 @@ by "myapp", tolerate missing files, but exit on other errors:
.Bd -literal
if (CONF_modules_load_file(NULL, "myapp",
CONF_MFLAGS_IGNORE_MISSING_FILE) <= 0) {
- fprintf(stderr, "FATAL: error loading configuration file\n");
+ fprintf(stderr, "FATAL: error loading configuration file\en");
ERR_print_errors_fp(stderr);
exit(1);
}
@@ -185,7 +185,7 @@ error, missing configuration file ignored:
.Bd -literal
if (CONF_modules_load_file("/something/app.cnf", "myapp",
CONF_MFLAGS_IGNORE_MISSING_FILE) <= 0) {
- fprintf(stderr, "WARNING: error loading configuration file\n");
+ fprintf(stderr, "WARNING: error loading configuration file\en");
ERR_print_errors_fp(stderr);
}
.Ed
@@ -198,17 +198,17 @@ long eline;
fp = fopen("/somepath/app.cnf", "r");
if (fp == NULL) {
- fprintf(stderr, "Error opening configuration file\n");
+ fprintf(stderr, "Error opening configuration file\en");
/* Other missing configuration file behaviour */
} else {
cnf = NCONF_new(NULL);
if (NCONF_load_fp(cnf, fp, &eline) == 0) {
- fprintf(stderr, "Error on line %ld of configuration file\n",
+ fprintf(stderr, "Error on line %ld of configuration file\en",
eline);
ERR_print_errors_fp(stderr);
/* Other malformed configuration file behaviour */
} else if (CONF_modules_load(cnf, "appname", 0) <= 0) {
- fprintf(stderr, "Error configuring application\n");
+ fprintf(stderr, "Error configuring application\en");
ERR_print_errors_fp(stderr);
/* Other configuration error behaviour */
}