unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
Cc: guile-devel@gnu.org
Subject: Re: bug with read-string!/partial
Date: Tue, 23 Aug 2005 10:34:16 +1000	[thread overview]
Message-ID: <87hddh3307.fsf@zip.com.au> (raw)
In-Reply-To: <430A401D.2060000@xs4all.nl> (Han-Wen Nienhuys's message of "Mon,  22 Aug 2005 23:14:05 +0200")

Han-Wen Nienhuys <hanwen@xs4all.nl> writes:
>
> what's the proper way to use read-string!/partial ?
>
> If I read a file with fewer bytes than the arg of read-string!/partial,
> I get problems down the line,

It leaves the rest of the string with whatever was there before, I
think you normally have to do substring or substring/shared to get the
good portion.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


  parent reply	other threads:[~2005-08-23  0:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-22 21:14 bug with read-string!/partial Han-Wen Nienhuys
2005-08-22 21:17 ` Han-Wen Nienhuys
2005-08-23  0:31   ` Kevin Ryde
2005-08-23  0:34 ` Kevin Ryde [this message]
2005-12-06 22:14 ` Marius Vollmer

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=87hddh3307.fsf@zip.com.au \
    --to=user42@zip.com.au \
    --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).