Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/citrus bump size
details: https://anonhg.NetBSD.org/src/rev/6e9bcb418d18
branches: trunk
changeset: 845646:6e9bcb418d18
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 09 23:23:41 2019 +0000
description:
bump size
diffstat:
lib/libc/citrus/citrus_csmapper.c | 6 +++---
lib/libc/citrus/citrus_iconv.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r bd99d3f4090c -r 6e9bcb418d18 lib/libc/citrus/citrus_csmapper.c
--- a/lib/libc/citrus/citrus_csmapper.c Wed Oct 09 23:04:33 2019 +0000
+++ b/lib/libc/citrus/citrus_csmapper.c Wed Oct 09 23:23:41 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: citrus_csmapper.c,v 1.11 2011/11/20 07:43:52 tnozaki Exp $ */
+/* $NetBSD: citrus_csmapper.c,v 1.12 2019/10/09 23:23:41 christos Exp $ */
/*-
* Copyright (c)2003 Citrus Project,
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: citrus_csmapper.c,v 1.11 2011/11/20 07:43:52 tnozaki Exp $");
+__RCSID("$NetBSD: citrus_csmapper.c,v 1.12 2019/10/09 23:23:41 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -305,7 +305,7 @@
struct _citrus_mapper * __restrict * __restrict rcm,
const char *src, const char *pivot, const char *dst)
{
- char buf[PATH_MAX];
+ char buf[4 * PATH_MAX];
snprintf(buf, sizeof(buf), "%s/%s,%s/%s", src, pivot, pivot, dst);
diff -r bd99d3f4090c -r 6e9bcb418d18 lib/libc/citrus/citrus_iconv.c
--- a/lib/libc/citrus/citrus_iconv.c Wed Oct 09 23:04:33 2019 +0000
+++ b/lib/libc/citrus/citrus_iconv.c Wed Oct 09 23:23:41 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: citrus_iconv.c,v 1.10 2011/11/19 18:34:21 tnozaki Exp $ */
+/* $NetBSD: citrus_iconv.c,v 1.11 2019/10/09 23:24:00 christos Exp $ */
/*-
* Copyright (c)2003 Citrus Project,
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: citrus_iconv.c,v 1.10 2011/11/19 18:34:21 tnozaki Exp $");
+__RCSID("$NetBSD: citrus_iconv.c,v 1.11 2019/10/09 23:24:00 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -262,7 +262,7 @@
int ret = 0;
int hashval;
struct _citrus_iconv_shared * ci;
- char convname[PATH_MAX];
+ char convname[2 * PATH_MAX];
snprintf(convname, sizeof(convname), "%s/%s", src, dst);
Home |
Main Index |
Thread Index |
Old Index