Displaying 2 results from an estimated 2 matches for "0c19cc9".
Did you mean:
0219ce9
2009 Nov 20
1
[PATCH libguestfs] build: correct sed transformation to work also on .git-module-status
...curr_status=.git-module-status
-t=$(git submodule status|sed 's/.//;s/ .*//')
+t=$(git submodule status|sed 's/^[ -]//;s/ .*//')
if test "$t" = "$(cat $curr_status 2>/dev/null)"; then
: # good, it's up to date
else
diff --git a/cfg.mk b/cfg.mk
index 0c19cc9..8811d0d 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -132,7 +132,9 @@ ifeq (0,$(MAKELEVEL))
# submodule name. Contrast these:
# -b653eda3ac4864de205419d9f41eec267cb89eeb .gnulib
# b653eda3ac4864de205419d9f41eec267cb89eeb .gnulib (v0.0-2286-gb653eda)
- _submodule_hash = sed 's/.//;s/ .*//...
2009 Nov 09
1
use STREQ(a,b), not strcmp(a,b) == 0
...H libguestfs 10/10] tests: enable strcmp-related syntax-check tests
* cfg.mk (local-checks-to-skip): Don't skip these checks:
sc_prohibit_strcmp_and_strncmp, sc_prohibit_strcmp.
---
cfg.mk | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/cfg.mk b/cfg.mk
index 134725a..0c19cc9 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -36,8 +36,6 @@ local-checks-to-skip = \
sc_prohibit_quote_without_use \
sc_prohibit_quotearg_without_use \
sc_prohibit_stat_st_blocks \
- sc_prohibit_strcmp_and_strncmp \
- sc_prohibit_strcmp \
sc_space_tab \
sc_two_space_separator_in_us...