Skip to content
  • Craig Small's avatar
    watch: use sysconf() for hostname length · d4a9a1e5
    Craig Small authored
    Hurd doesn't have HOST_NAME_MAX, neither does Solaris.
    An early fix just checked for this value and used 64 instead.
    This change uses sysconf which is the correct method, possibly until
    this compiles on some mis-behaving OS which doesn't have this value.
    
    References:
     commit e564ddcb
     procps-ng/procps#54
    d4a9a1e5