Ignore:
Timestamp:
Jan 29, 2022, 3:25:12 AM (3 years ago)
Author:
bird
Message:

kmk: Use 'error' instead of 'message' for reporting attempts and quoting empty strings so we get the caller location. (probably thought error implied kmk would eventually exit with non-zero status code)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/function.c

    r3523 r3545  
    54855485    }
    54865486  else
    5487       OS (message, 0, "%s: cannot quote empty string", funcname);
     5487      OS (error, reading_file, "%s: cannot quote empty string", funcname);
    54885488  return o;
    54895489}
     
    55575557        }
    55585558      else
    5559           OS (message, 0, "%s: cannot munge empty string", funcname);
     5559          OS (error, reading_file, "%s: cannot munge empty string", funcname);
    55605560    }
    55615561
Note: See TracChangeset for help on using the changeset viewer.