public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: Use grep in text mode to look for version strings
@ 2020-11-18 16:27 Jon TURNEY
  0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2020-11-18 16:27 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=ff315bd18f81c8ed90dfd4a7c1b673d9cd67dc8a

commit ff315bd18f81c8ed90dfd4a7c1b673d9cd67dc8a
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Oct 28 20:59:53 2020 +0000

    Cygwin: Use grep in text mode to look for version strings
    
    Invoke grep in text mode when looking for version strings inside the
    cygwin DLL, so it outputs something more informative than:
    
      Binary file ../cygwin/cygwin0.dll matches

Diff:
---
 winsup/testsuite/config/default.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/testsuite/config/default.exp b/winsup/testsuite/config/default.exp
index 3936979a6..8033ea627 100644
--- a/winsup/testsuite/config/default.exp
+++ b/winsup/testsuite/config/default.exp
@@ -1,7 +1,7 @@
 proc winsup_version {} {
     global env
     global rootme
-    clone_output "\n[exec grep ^%%% $rootme/../cygwin/cygwin0.dll]\n"
+    clone_output "\n[exec grep -a ^%%% $rootme/../cygwin/cygwin0.dll]\n"
     if { [info exists env(CYGWIN)] } {
         clone_output "CYGWIN=$env(CYGWIN)\n"
     } else {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-18 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18 16:27 [newlib-cygwin] Cygwin: Use grep in text mode to look for version strings Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).