[Top][All Lists]

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

Re: Building Diffutils with MinGW

From: Eli Zaretskii
Subject: Re: Building Diffutils with MinGW
Date: Sat, 05 May 2012 12:52:41 +0300

Yet another issue is with this part of src/system.h:

  #ifndef same_special_file
  # if HAVE_ST_RDEV && defined S_ISBLK && defined S_ISCHR
  #  define same_special_file(s, t) \
       (((S_ISBLK ((s)->st_mode) && S_ISBLK ((t)->st_mode)) \
         || (S_ISCHR ((s)->st_mode) && S_ISCHR ((t)->st_mode))) \
        && (s)->st_rdev == (t)->st_rdev)
  # else
  #  define same_special_file(s, t) 0
  # endif

Since the configure script doesn't test for HAVE_ST_RDEV, the upshot
of this seems to be that same_special_file will always yield zero on
all platforms, which doesn't seem to be the intent.  Apologies if I
missed something important.

reply via email to

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