bugGuile - Bugs: bug #31081, lookahead-u8 returns an s8

 
 

bug #31081: lookahead-u8 returns an s8

Submitted by:  Göran Weinholt <weinholt>
Submitted on:  Sun 19 Sep 2010 11:13:23 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 23 Sep 2010 08:36:33 PM UTC, comment #1:

Fixed in commit 3fa882203aefb68c00ebd28ca8b9ed6988e7a1ad, thanks!

Ludovic Courtès <civodul>
Project Administrator
Sun 19 Sep 2010 11:13:23 PM UTC, original submission:

The procedure lookahead-u8 seems to behave as a hypothetical lookahead-s8 instead:

GNU Guile 1.9.12.41-e83b
Copyright (C) 1995-2010 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (import (rnrs))
scheme@(guile-user)> (lookahead-u8 (open-bytevector-input-port #vu8(255)))
$1 = -1
scheme@(guile-user)>

Göran Weinholt <weinholt>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by civodul (Posted a comment)
  • -unavailable- added by weinholt (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 23 Sep 2010 08:36:33 PM UTCcivodulStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1