[ovs-git] Open vSwitch: Makefile.am: Fix build hang when .git and Git are present but don't work. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Apr 11 21:02:49 UTC 2014

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  ca3d034b3909dfe7ae5d2044f3547e57cb9fb8f5 (commit)
      from  3cccd4084392fc05838eb001b1f8ddba23b53321 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ca3d034b3909dfe7ae5d2044f3547e57cb9fb8f5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ca3d034b3909dfe7ae5d2044f3547e57cb9fb8f5
Author: Ben Pfaff <blp at nicira.com>
Makefile.am: Fix build hang when .git and Git are present but don't work.
If the .git directory is there, and "git --version" works, but "git
ls-files" fails to print any file names (e.g. perhaps because .git is a
symlink to an inaccessible directory) then the "grep" command in the
thread-safety-check rule would hang forever because it had an empty list
of files and therefore expected to read from stdin.  This fixes the problem
by adding the name of an empty file to the command, which is harmless.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Alex Wang <alexw at nicira.com>


Summary of changes:
 Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Open vSwitch

More information about the git mailing list