From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: master 9f464cc: Stop using calc for ntlm time computation Date: Tue, 27 Oct 2020 09:06:43 -0400 Message-ID: References: <20200816091703.7193.11125@vcs0.savannah.gnu.org> <20200816091705.318C0209AC@vcs0.savannah.gnu.org> <4DC436E0-825F-4785-9F28-41C761186CB4@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25000"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Thomas Fitzsimmons , emacs-devel@gnu.org To: Mattias =?windows-1252?Q?Engdeg=E5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 27 14:10:01 2020 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 1kXOjh-0006O0-5t for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Oct 2020 14:10:01 +0100 Original-Received: from localhost ([::1]:41530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXOjg-0001nb-5P for ged-emacs-devel@m.gmane-mx.org; Tue, 27 Oct 2020 09:10:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXOge-0007dk-9c for emacs-devel@gnu.org; Tue, 27 Oct 2020 09:06:52 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:55842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXOga-0003Y9-VR for emacs-devel@gnu.org; Tue, 27 Oct 2020 09:06:51 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 13EE5102237; Tue, 27 Oct 2020 09:06:47 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5EE43100018; Tue, 27 Oct 2020 09:06:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1603804005; bh=nyZyCZ5Chh+W8cHomH+A439CbWy11ApPGzG7EuJhejs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=k6gQiLUq/UWNyNjdIl70Hekb70H2xs0f+0xt4SMq1wSPzEOyxAk5tmC32iHBBP/fc ag8QDo6F0RMXf4yL05K3hvHQzIU5pbZjGmLr3RNONZHLtkIlB+J+K/jfmPBad0GIiX qkf5wZjgs+x9AqkaUl54n2FHYAZgm3jE/Ln0JNW1KXh2LdJdUu2mz5C6T48B9PBmrF oJmvGJC7PcMNjbbdlPid+Ujd24V0ob5zwsTQWNeypkRWpooLcPI1HvWhyfuSxvF6gi UmEJjAf1iHxGC+J2TM3Q/ndMHtPPiszwbGOuPpWqPxKUanRLYDqx+PkxKhy5GKjTcg qqxRS72I/mYEQ== Original-Received: from alfajor (unknown [157.52.9.240]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2D5E4120305; Tue, 27 Oct 2020 09:06:45 -0400 (EDT) In-Reply-To: <4DC436E0-825F-4785-9F28-41C761186CB4@acm.org> ("Mattias =?windows-1252?Q?Engdeg=E5rd=22's?= message of "Tue, 27 Oct 2020 12:33:36 +0100") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/27 09:06:47 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:258496 Archived-At: Mattias Engdeg=C3=A5rd [2020-10-27 12:33:36] wrote: > 26 okt. 2020 kl. 22.57 skrev Mattias Engdeg=C3=A5rd : > >> However, I don't have access to any 32-bit Emacs, so I would need help f= or testing it. > > I've pushed a new implementation. Perhaps someone with a 32-bit Emacs < 2= 7.1 > would try it out. Running the test would suffice. Didn't get there yet. Here's my latest attempt: make EMACS=3D/usr/bin/emacs MODULES_EMACSOPT=3D"" test/lisp/net/ntlm-te= sts make -C test lisp/net/ntlm-tests make[1]=C2=A0: on entre dans le r=C3=A9pertoire =C2=AB=C2=A0/home/monni= er/src/emacs/trunk/test=C2=A0=C2=BB make[2]=C2=A0: on entre dans le r=C3=A9pertoire =C2=AB=C2=A0/home/monni= er/src/emacs/trunk/test=C2=A0=C2=BB ELC lisp/net/ntlm-tests.elc =20=20=20=20 In end of data: lisp/net/ntlm-tests.el:53:1:Warning: the function =E2=80=98ntlm--time-t= o-timestamp=E2=80=99 is not known to be defined. GEN lisp/net/ntlm-tests.log Running 1 tests (2020-10-27 09:05:13-0400) Test ntlm-time-to-timestamp backtrace: signal(void-function (ntlm--time-to-timestamp)) apply(signal (void-function (ntlm--time-to-timestamp))) (setq value-2 (apply fn-0 args-1)) (unwind-protect (setq value-2 (apply fn-0 args-1)) (setq form-descri (if (unwind-protect (setq value-2 (apply fn-0 args-1)) (setq form-de (let (form-description-4) (if (unwind-protect (setq value-2 (apply f (let ((value-2 (quote ert-form-evaluation-aborted-3))) (let (form-de (let* ((fn-0 (function equal)) (args-1 (condition-case err (let ((si (let ((time (quote (24471 63910 412962 0)))) (let* ((fn-0 (function=20 (closure (t) nil (let ((time (quote (24471 63910 412962 0)))) (let*=20 ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name ntlm-time-to-timestamp :documentation ert-run-or-rerun-test(#s(ert--stats :selector (not (tag :unstable))=20 ert-run-tests((not (tag :unstable)) #f(compiled-function (event-type ert-run-tests-batch((not (tag :unstable))) ert-run-tests-batch-and-exit((not (tag :unstable))) eval((ert-run-tests-batch-and-exit (quote (not (tag :unstable))))) command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/net/ntlm-tests.el" " command-line() normal-top-level() Test ntlm-time-to-timestamp condition: (void-function ntlm--time-to-timestamp) FAILED 1/1 ntlm-time-to-timestamp =20=20=20=20 Ran 1 tests, 0 results as expected, 1 unexpected (2020-10-27 09:05:13-0= 400) =20=20=20=20 1 unexpected results: FAILED ntlm-time-to-timestamp Where /usr/bin/emacs is the one from Debian's testing (26.3). Stefan