Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libedit OpenBSD eln.c rev. 1.3 2011/11/27 21:46:44 pascal



details:   https://anonhg.NetBSD.org/src/rev/9ac17831b3bf
branches:  trunk
changeset: 343592:9ac17831b3bf
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 15 21:56:35 2016 +0000

description:
OpenBSD eln.c rev. 1.3 2011/11/27 21:46:44 pascal
kill a C++-style comment

diffstat:

 lib/libedit/eln.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0ecd8b1bbea5 -r 9ac17831b3bf lib/libedit/eln.c
--- a/lib/libedit/eln.c Mon Feb 15 21:38:07 2016 +0000
+++ b/lib/libedit/eln.c Mon Feb 15 21:56:35 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eln.c,v 1.22 2016/02/14 17:06:24 christos Exp $        */
+/*     $NetBSD: eln.c,v 1.23 2016/02/15 21:56:35 christos Exp $        */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 #include "config.h"
 #if !defined(lint) && !defined(SCCSID)
-__RCSID("$NetBSD: eln.c,v 1.22 2016/02/14 17:06:24 christos Exp $");
+__RCSID("$NetBSD: eln.c,v 1.23 2016/02/15 21:56:35 christos Exp $");
 #endif /* not lint && not SCCSID */
 
 #include "histedit.h"
@@ -233,7 +233,7 @@
                    ret = -1;
                    goto out;
                }
-               // XXX: The two strdup's leak
+               /* XXX: The two strdup's leak */
                ret = map_addfunc(el, Strdup(wargv[0]), Strdup(wargv[1]),
                    func);
                ct_free_argv(wargv);



Home | Main Index | Thread Index | Old Index