Skip to content

Commit 7484c55

Browse files
committed
fixup! Rename dll from cygwin to msys
Rename various log/errors messages back from msys to cygwin.
1 parent 445e3ed commit 7484c55

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

winsup/cygwin/dcrt0.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,12 +388,12 @@ check_sanity_and_sync (per_process *p)
388388

389389
/* magic_biscuit must be SIZEOF_PER_PROCESS. */
390390
if (p->magic_biscuit != SIZEOF_PER_PROCESS)
391-
api_fatal ("Incompatible msys .dll -- incompatible per_process info %u != %u",
391+
api_fatal ("Incompatible cygwin .dll -- incompatible per_process info %u != %u",
392392
p->magic_biscuit, SIZEOF_PER_PROCESS);
393393

394394
/* Complain if incompatible API changes made */
395395
if (p->api_major > cygwin_version.api_major)
396-
api_fatal ("msys DLL and APP are out of sync -- API version mismatch %u > %u",
396+
api_fatal ("cygwin DLL and APP are out of sync -- API version mismatch %u > %u",
397397
p->api_major, cygwin_version.api_major);
398398
}
399399

winsup/cygwin/pinfo.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ pinfo::maybe_set_exit_code_from_windows ()
194194
GetExitCodeProcess (hProcess, &x);
195195
set_exit_code (x);
196196
}
197-
sigproc_printf ("pid %d, exit value - old %y, windows %y, MSYS %y",
197+
sigproc_printf ("pid %d, exit value - old %y, windows %y, cygwin %y",
198198
self->pid, oexitcode, x, self->exitcode);
199199
}
200200

winsup/cygwin/pseudo-reloc.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ __report_error (const char *msg, ...)
8585
char buf[128];
8686
char *posix_module = NULL;
8787
static const char UNKNOWN_MODULE[] = "<unknown module>: ";
88-
static const char CYGWIN_FAILURE_MSG[] = "MSYS runtime failure: ";
88+
static const char CYGWIN_FAILURE_MSG[] = "Cygwin runtime failure: ";
8989
HANDLE errh = GetStdHandle (STD_ERROR_HANDLE);
9090
va_list args;
9191

winsup/testsuite/winsup.api/cygload.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ cygwin::connector::connector (const char *dll)
152152
if ((_library = LoadLibrary (dll)) == NULL)
153153
throw windows_error ("LoadLibrary", dll);
154154

155-
*out << "Initializing msys..." << endl;
155+
*out << "Initializing cygwin..." << endl;
156156

157157
// This calls dcrt0.cc:msys_dll_init(), which calls dll_crt0_1(),
158158
// which will, among other things:

winsup/utils/mingw/cygcheck.cc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ static void
558558
cygwin_info (HANDLE h)
559559
{
560560
char *buf, *bufend, *buf_start = NULL;
561-
const char *hello = " Msys DLL version info:\n";
561+
const char *hello = " Cygwin DLL version info:\n";
562562
DWORD size = GetFileSize (h, NULL);
563563
DWORD n;
564564

@@ -1290,7 +1290,7 @@ dump_sysinfo_services ()
12901290

12911291
/* inform the user if nothing found */
12921292
if (no_services)
1293-
puts ("No Msys services found.\n");
1293+
puts ("No Cygwin services found.\n");
12941294
}
12951295

12961296
enum handle_reg_t
@@ -1305,7 +1305,7 @@ handle_reg_installation (handle_reg_t what)
13051305
HKEY key;
13061306

13071307
if (what == PRINT_KEY)
1308-
printf ("Msys installations found in the registry:\n");
1308+
printf ("Cygwin installations found in the registry:\n");
13091309
for (int i = 0; i < 2; ++i)
13101310
if (RegOpenKeyEx (i ? HKEY_CURRENT_USER : HKEY_LOCAL_MACHINE,
13111311
"SOFTWARE\\Msys\\Installations", 0,
@@ -1404,7 +1404,7 @@ dump_sysinfo ()
14041404
_wputenv (comspec);
14051405
}
14061406

1407-
printf ("\nMsys Configuration Diagnostics\n");
1407+
printf ("\nCygwin Configuration Diagnostics\n");
14081408
time (&now);
14091409
printf ("Current System Time: %s\n", ctime (&now));
14101410

@@ -1732,7 +1732,7 @@ dump_sysinfo ()
17321732

17331733

17341734
if (givehelp)
1735-
printf ("Here's some environment variables that may affect msys:\n");
1735+
printf ("Here's some environment variables that may affect cygwin:\n");
17361736
for (i = 0; environ[i]; i++)
17371737
{
17381738
char *eq = strchr (environ[i], '=');
@@ -1960,7 +1960,7 @@ dump_sysinfo ()
19601960
printf ("\n");
19611961

19621962
if (givehelp)
1963-
printf ("Looking for various Msys DLLs... (-v gives version info)\n");
1963+
printf ("Looking for various Cygwin DLLs... (-v gives version info)\n");
19641964
int cygwin_dll_count = 0;
19651965
char cygdll_path[32768];
19661966
for (pathlike *pth = paths; pth->dir; pth++)
@@ -2992,8 +2992,8 @@ static char opts[] = "cdnsrvkfliephV";
29922992
static void
29932993
print_version ()
29942994
{
2995-
printf ("cygcheck (msys) %d.%d.%d\n"
2996-
"System Checker for Msys\n"
2995+
printf ("cygcheck (cygwin) %d.%d.%d\n"
2996+
"System Checker for Cygwin\n"
29972997
"Copyright (C) 1998 - %s Cygwin Authors\n"
29982998
"This is free software; see the source for copying conditions. "
29992999
"There is NO\n"

winsup/utils/mingw/strace.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ dotoggle (pid_t pid)
835835
child_pid = (DWORD) cygwin_internal (CW_CYGWIN_PID_TO_WINPID, pid);
836836
if (!child_pid)
837837
{
838-
warn (0, "no such msys pid - %d", pid);
838+
warn (0, "no such cygwin pid - %d", pid);
839839
child_pid = pid;
840840
}
841841
if (cygwin_internal (CW_STRACE_TOGGLE, child_pid))

0 commit comments

Comments
 (0)