From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Wrong pointer comparison in w32fns.c Date: Sun, 30 Oct 2022 08:47:19 +0200 Message-ID: <831qqphkp4.fsf@gnu.org> References: <87eduqjfgy.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12543"; mail-complaints-to="usenet@ciao.gmane.io" Cc: lekktu@gmail.com, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 30 07:48:11 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1op279-00034l-GG for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Oct 2022 07:48:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1op26d-0002Pv-Mn; Sun, 30 Oct 2022 02:47:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1op26b-0002P6-Mw for emacs-devel@gnu.org; Sun, 30 Oct 2022 02:47:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1op26b-0006JU-EN; Sun, 30 Oct 2022 02:47:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Y1CGNjr/aty1OC73akZu04BOW3oretjqP4myMy2Gee8=; b=QdkLNGOSSS9j 2bgb1sw+U0i4iZuqXUHDHFpG4dApWq/JkGgK57/wAcYA4UuOup/pmpwjx+jH4NqvOA1ECQdr4tAKA oTtr3xWveOPwx32nZSUVaWW3i6uJZIM2mZwGs/Wsh6ogC8M8Uu1XHdADgH8OoBmsfXpZjmH1OBy5H mscLrxFMx9HxoYsL1wjMCrRJ+kE9jQDk4JrH7tlRZwsr3zAUIbyDjChh8xBUlN7oQeTgEEdcu20wO tzpawwoX/3Kwj+xQ+UHtjyFR4cPutisyDuYH5Kyy2KhKBUJP5qr1XtzdEIbWs2Ltlla0rauMoTVKr 2nwad9muxGLzth98AQD4mg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1op26a-0005AJ-Sk; Sun, 30 Oct 2022 02:47:37 -0400 In-Reply-To: <87eduqjfgy.fsf@yahoo.com> (message from Po Lu on Sun, 30 Oct 2022 08:57:17 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298794 Archived-At: > From: Po Lu > Cc: Emacs developers > Date: Sun, 30 Oct 2022 08:57:17 +0800 > > > + if (StringFromGUID2 (&guid, newTitle, 64) && newTitle[0]) > > Does this function support Windows 9x? > http://winapi.freetechsecrets.com/ole/OLEStringFromGUID2.htm says > nothing about that. That function is supported on Windows 9X, judging by the fact that its prototype in the mingw.org's w32api headers is not guarded by any value of _WIN32_WINNT.