diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a26345f70..bee8e260b 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2006-01-03 Christopher Faylor + + * fhandler_console.cc (beep): Use MB_OK which is documented as using + the default bell rather than -1 which seems to behave differently on + different versions of Windows. + 2006-01-03 Christopher Faylor * fhandler_process.cc (fhandler_process::readdir): Add missing argument diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index c10098b58..c6e67e804 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -1428,7 +1428,7 @@ beep () if (res && res <= len) r.set_string ("", strcat (buf, "\\media\\ding.wav")); } - MessageBeep (0xFFFFFFFF); + MessageBeep (MB_OK); } const unsigned char *