• unknown's avatar
    Portability fixes to mysqld_safe for non-Linux systems. Fix FIND_PROC · 1d3f4a1a
    unknown authored
    for Solaris test, and fix if @IS_LINUX@ test in mysqld_safe itself.
    
    
    configure.in:
      Portability fix for FIND_PROC setting; on Solaris (and
      probably others), 'ps -p $$' inside a shell script just
      returns 'sh' for command line, even though $0 contains
      the filename.  So, use 'ps -fp $$' in the test (it shows
      the full command line, e.g., 'sh configure').  Leave the
      actual FIND_PROC command as-is, since mysqld itself is
      not a shell script.
    scripts/mysqld_safe.sh:
      Portability fix for mysqld_safe on non-Linux systems.  A bogus use
      of 'if' and 'test' caused non-bash shells to enter a section meant
      to be run only on Linux systems.
    BitKeeper/etc/logging_ok:
      Logging to logging@openlogging.org accepted
    1d3f4a1a
mysqld_safe.sh 10.6 KB