From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7063 invoked by alias); 5 Jun 2006 14:23:57 -0000 Received: (qmail 7044 invoked by uid 48); 5 Jun 2006 14:23:56 -0000 Date: Mon, 05 Jun 2006 14:23:00 -0000 Message-ID: <20060605142356.7043.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgcj/27797] win32.cc: FormatMessage fails on win98 for network messages In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "tromey at gcc dot gnu dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2006-q2/txt/msg00335.txt.bz2 List-Id: ------- Comment #2 from tromey at gcc dot gnu dot org 2006-06-05 14:23 ------- In this case won't the first failing FormatMessage change the current error, so the next GetLastError will always return the overwritten value? The MSDN docs seem to indicate that if FormatMessage fails, you can use GetLastError to find out why... Or maybe that is the intent? -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-06-05 14:23:56 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27797