From: Andy Wingo <wingo@pobox.com>
To: Detlev Zundel <dzu@denx.de>
Cc: guile-devel@gnu.org
Subject: Re: Problems with guile-sqlite3
Date: Fri, 01 Apr 2011 13:34:20 +0200 [thread overview]
Message-ID: <m3d3l6urwj.fsf@unquote.localdomain> (raw)
In-Reply-To: <m24o6jgt5c.fsf@ohwell.denx.de> (Detlev Zundel's message of "Thu, 31 Mar 2011 18:18:55 +0200")
On Thu 31 Mar 2011 18:18, Detlev Zundel <dzu@denx.de> writes:
> Hi Andy,
>
>>> Indeed, there's no null-termination on this string. I guess we need to
>>> copy into a bytevector that is longer and provide a NUL byte. Want to
>>> patch that one too?
>
> The attached patches work for me.
Thanks. Please detabify the first one. Can you resubmit the second one
also using the string->pointer encoding argument that I just pushed to
Guile? Thanks :-)
> As a followup I'd really like to put a few statments into tests below
> test/. Can anyone point me to what functions (i.e. assert,...) I should
> use in such tests?
Sigh, it's a good question. Guile has "(test-suite lib)" internally,
which is quite nice, but not public. Externally there are many things
but none as nice.
I guess I would say to just add some test scripts using the normal
automake mechanism, and make them (exit 1) if there is an error. You
won't get a nice summary but it's better than nothing.
Cheers,
Andy
--
http://wingolog.org/
next prev parent reply other threads:[~2011-04-01 11:34 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 22:52 Problems with guile-sqlite3 Detlev Zundel
2011-03-31 10:25 ` Andy Wingo
2011-03-31 14:03 ` Detlev Zundel
2011-03-31 16:18 ` Detlev Zundel
2011-04-01 5:33 ` David Pirotte
2011-04-01 9:12 ` Detlev Zundel
2011-04-01 23:05 ` David Pirotte
2011-04-04 16:22 ` Detlev Zundel
2011-04-04 20:50 ` Andy Wingo
2011-04-04 21:28 ` Detlev Zundel
2011-04-11 15:05 ` Detlev Zundel
2011-04-20 15:22 ` David Pirotte
2011-04-20 15:51 ` Detlev Zundel
2011-04-21 12:17 ` Andy Wingo
2011-04-21 21:58 ` David Pirotte
2011-04-01 11:34 ` Andy Wingo [this message]
2011-04-01 14:33 ` Detlev Zundel
2011-04-01 14:49 ` Andy Wingo
2011-03-31 14:28 ` Ludovic Courtès
2011-03-31 14:54 ` Andy Wingo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3d3l6urwj.fsf@unquote.localdomain \
--to=wingo@pobox.com \
--cc=dzu@denx.de \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).