bug-patch
[Top][All Lists]
Advanced

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

[bug-patch] patch 2.7.4: no-mode-change-git-diff test is unportable


From: Christian Weisgerber
Subject: [bug-patch] patch 2.7.4: no-mode-change-git-diff test is unportable
Date: Mon, 2 Feb 2015 00:01:38 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

tests/no-mode-change-git-diff in patch 2.7.4 is unportable:

  check 'stat -c "%a" f'<<EOF
  755
  EOF

I don't think there is a POSIX standard for stat(1).  The BSD
implementation doesn't have -c, and the closest equivalent to the
above, -f %p, returns the combined file type and mode.

-- 
Christian "naddy" Weisgerber                          address@hidden



reply via email to

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