Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 55aac03ba1a37b110f4436d07200b5af29d1c54b
Ticket: 1175161fffffffffffffffffffffffffffffffff
compat bugs: strstr.c, strtod.c
User & Date: nobody on 2005-04-02 01:10:59
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi, everybody. I am trying build a LFS system on my
    machine;
    but makes some mistake on it. And then I believe I
    found two bugs on 8.4.9.
    
    1、compat/strstr.c does not include any header files.
    But it uses "return NULL" witch assume that NULL has
    been defined as 0.
    Solution: add a single line "#define NULL 0" at the
    begin of this file.
    
    2、In some configuration, compat/strtod.c needs to be
    fixed by fixstrtod.c file. But when it is happen,
    symbol "strtod" would be re-defind to "fixstrtod"; so
    that "strtod.c" and "strtod.c" would define "fixstrtod"
    function twice. The developer have placed a "#undefine
    strtod" in file "fixstrtod.c", but it is not work
    because it should be placed in "strtod.c" nor
    "fixstrtod.c".
    Solution: add a single line "#undefine strtod" at the
    being of file "strtod.c".
    This bug was rare happen because it's just happen in
    very spacial configuration. But bug is bug, it should
    be solved, right?
    
  4. foundin changed to: "obsolete: 8.4.9"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to: "BUGs At compat/strstr.c ans compat/strtod.c"
  11. type changed to: "Bug"