# HG changeset patch # User Andrew Innes # Date 916601082 0 # Node ID 6252c59e8b6c4a050638443193a429f890edac3f # Parent 939f14a75ce28ee34261dc074326f6c09b8d2581 (w32_executable_type): Relax the check to identify cygwin-compiled applications, because the exact dll name varies with release. Now only require the name to start "cygwin". diff -r 939f14a75ce2 -r 6252c59e8b6c src/w32proc.c --- a/src/w32proc.c Sun Jan 17 19:23:52 1999 +0000 +++ b/src/w32proc.c Sun Jan 17 19:24:42 1999 +0000 @@ -639,7 +639,10 @@ { char * dllname = RVA_TO_PTR (imports->Name, section, executable); - if (strcmp (dllname, "cygwin.dll") == 0) + /* The exact name of the cygwin dll has changed with + various releases, but hopefully this will be reasonably + future proof. */ + if (strncmp (dllname, "cygwin", 6) == 0) { *is_cygnus_app = TRUE; break;