Changeset 373 for trunk/dll/systemf.c


Ignore:
Timestamp:
Jul 27, 2006, 4:28:13 AM (19 years ago)
Author:
root
Message:

Use convert_nl_to_nul

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/systemf.c

    r330 r373  
    1313  01 Aug 04 SHL Rework lstrip/rstrip usage
    1414  17 Jul 06 SHL Use Runtime_Error
     15  26 Jul 06 SHL Use convert_nl_to_nul
    1516
    1617***********************************************************************/
     
    737738    *p = 0;
    738739    p = environment;
    739     while ((p = strchr(p, '\n')) != NULL)
    740     {
    741       *p = 0;
    742       p++;
    743     }
     740    while ((p = convert_nl_to_nul(p)) != NULL)
     741      ; // loop
    744742  }
    745743
Note: See TracChangeset for help on using the changeset viewer.