bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #18245] grep does not build on systems lacking S_ISSOCK


From: Matthew Woehlke
Subject: [bug #18245] grep does not build on systems lacking S_ISSOCK
Date: Thu, 09 Nov 2006 22:14:52 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

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

[Prev in Thread] Current Thread [Next in Thread]