URL:
  <http://savannah.gnu.org/bugs/?18245>

                 Summary: grep does not build on systems lacking S_ISSOCK
                 Project: grep
            Submitted by: woehlkmp
            Submitted on: Thursday 11/09/2006 at 22:14
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

Building grep on Tandem NSK/OSS fails, as S_ISSOCK is not defined.

Solution:
#ifndef S_ISSOCK
# define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK)
#endif

(As an aside, config.h incorrectly defines HAVE_STRDUP, which OSS does not.)






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18245>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to