bugGuile - Bugs: bug #25865, scm_take_locale_symboln doesn't...


bug #25865: scm_take_locale_symboln doesn't intern the symbol that it creates

Submitter:  Neil Jerram <ossau>
Submitted:  Sat 14 Mar 2009 05:37:10 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  civodul
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup

Thu 19 Mar 2009 09:25:10 PM UTC, comment #2: 
Ludovic Courtès <civodul>
Group administrator
Wed 18 Mar 2009 09:44:43 PM UTC, comment #1: 


I've come up with the following patch, which also refactorizes duplciated bits.  I'll commit it if there's no objection.


(file #17730)

Ludovic Courtès <civodul>
Group administrator
Sat 14 Mar 2009 05:37:10 PM UTC, original submission:  

This is inferred from code reading.

The doc for scm_take_locale_symboln says:

"Like @code{scm_from_locale_symbol} and @code{scm_from_locale_symboln},
respectively, but also frees @var{str} with @code{free} eventually."

scm_from_locale_symboln creates an interned symbol, so it follows that scm_take_locale_symboln should too.  But the relevant code is

-> scm_i_c_take_symbol
-> creates a symbol but doesn't intern it.

Neil Jerram <ossau>
Group administrator


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

Attach Files:

Attached Files
file #17730:  0001-Have-scm_take_locale_symbol-return-an-interned.patch added by civodul (9KiB - application/octet-stream - The patch against `master')


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by civodul (Updated the item)
  • -email is unavailable- added by ossau (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-03-19 civodul Open/ClosedOpen Closed
    2009-03-18 civodul Attached File- Added 0001-Have-scm_take_locale_symbol-return-an-interned.patch, #17730
    2009-03-18 civodul Assigned toNone civodul

    Back to the top

    Powered by Savane 3.12