Changeset 12958 in project for chicken


Ignore:
Timestamp:
01/08/09 00:36:40 (11 years ago)
Author:
Ivan Raikov
Message:

Backported fix for bug in number->string reported by Kevin Beranek.

Location:
chicken/branches/chicken-3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chicken/branches/chicken-3/manual/Acknowledgements

    r12627 r12958  
    44
    55Many thanks to Nico Amtsberg, Alonso Andres, William Annis, Marc
    6 Baily, Peter Barabas, Jonah Beckford, Arto Bendiken, Peter Bex,
    7 Jean-Francois Bignolles, Alaric Blagrave-Snellpym, Dave Bodenstab,
    8 Fabian Boehlke, T. Kurt Bond, Ashley Bone, Dominique Boucher, Terence
    9 Brannon, Roy Bryant, Adam Buchbinder, Hans Bulfone, Category 5, Taylor
    10 Campbell, Naruto Canada, Esteban U. Caamano Castro, Franklin Chen,
    11 Thomas Chust, Gian Paolo Ciceri, John Cowan, Grzegorz Chrupała,
     6Baily, Peter Barabas, Jonah Beckford, Arto Bendiken, Kevin Beranek,
     7Peter Bex, Jean-Francois Bignolles, Alaric Blagrave-Snellpym,
     8Dave Bodenstab, Fabian Boehlke, T. Kurt Bond, Ashley Bone,
     9Dominique Boucher, Terence Brannon, Roy Bryant, Adam Buchbinder,
     10Hans Bulfone, Category 5, Taylor Campbell, Naruto Canada,
     11Esteban U. Caamano Castro, Franklin Chen, Thomas Chust, Gian Paolo Ciceri,
     12John Cowan, Grzegorz Chrupała,
    1213James Crippen, Tollef Fog Heen, Alejandro Forero Cuervo, Linh Dang,
    1314Brian Denheyer, dgym, Don, Chris Double, Brown Dragon, Jarod Eells,
  • chicken/branches/chicken-3/runtime.c

    r12868 r12958  
    536536static void gc_2(void *dummy) C_noret;
    537537static void allocate_vector_2(void *dummy) C_noret;
    538 static void cons_string_trampoline(void *dummy) C_noret;
    539538static void get_argv_2(void *dummy) C_noret;
    540539static void make_structure_2(void *dummy) C_noret;
     
    78297828  fini:
    78307829    radix = C_strlen(p);
    7831    
    7832     if(!C_demand(C_bytestowords(radix) + 1)) {
    7833       C_save(k);
    7834       cons_string_trampoline(NULL);
    7835     }
    7836 
    78377830    a = C_alloc((C_bytestowords(radix) + 1));
    78387831    radix = C_string(&a, radix, p);
    78397832    C_kontinue(k, radix);
    7840 }
    7841 
    7842 
    7843 void cons_string_trampoline(void *dummy)
    7844 {
    7845   int len = C_strlen(buffer);
    7846   C_word k = C_restore,
    7847       *a = C_alloc(C_bytestowords(len) + 1);
    7848 
    7849   C_kontinue(k, C_string(&a, len, buffer));
    78507833}
    78517834
Note: See TracChangeset for help on using the changeset viewer.