Skip to content
  • Ruslan Baratov's avatar
    file: Use 'long' to represent the parsed LOCK TIMEOUT value · 97841dad
    Ruslan Baratov authored and Brad King's avatar Brad King committed
    Convert the StringToInt helper into a StringToLong helper with a 'long'
    result type.  This will make the helper more useful to other callers
    that want to use strtol.
    
    While at it, also check errno after calling strtol in case the
    conversion fails with a range error.
    97841dad