Changeset e6d8d11


Ignore:
Timestamp:
Apr 26, 2023, 6:20:33 PM (10 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master
Children:
6e4c44d, 985b624
Parents:
04c78215
Message:

update comment about locale problem with leaked storage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/PRNG.cfa

    r04c78215 re6d8d11  
    88// Created On       : Wed Dec 29 09:38:12 2021
    99// Last Modified By : Peter A. Buhr
    10 // Last Modified On : Sat Apr 15 16:44:31 2023
    11 // Update Count     : 419
     10// Last Modified On : Sun Apr 23 22:02:09 2023
     11// Update Count     : 420
    1212//
    1313
     
    123123
    124124int main() {
    125         // causes leaked storage message
    126         // setlocale( LC_NUMERIC, getenv( "LANG" ) );                   // print digit separator
     125        // setlocale( LC_NUMERIC, getenv( "LANG" ) );           // causes leaked storage message
     126
     127        // only works on the current pthread thread
    127128        // locale_t loc = newlocale( LC_NUMERIC_MASK, getenv( "LANG" ), (locale_t)0p );
    128129        // if ( loc == (locale_t)0p ) abort( "newlocale" );
Note: See TracChangeset for help on using the changeset viewer.