From unknown Thu Sep 11 16:03:49 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2196 <2196@debbugs.gnu.org> To: bug#2196 <2196@debbugs.gnu.org> Subject: Status: movemail.c, pop, and mbox Reply-To: bug#2196 <2196@debbugs.gnu.org> Date: Thu, 11 Sep 2025 23:03:49 +0000 retitle 2196 movemail.c, pop, and mbox reassign 2196 emacs submitter 2196 jpff severity 2196 minor thanks From jpff@cs.bath.ac.uk Wed Feb 4 06:24:44 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Feb 2009 14:24:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14EOe13003970 for ; Wed, 4 Feb 2009 06:24:41 -0800 Received: from mx10.gnu.org ([199.232.76.166]:58042) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LUieQ-0002C8-RA for emacs-pretest-bug@gnu.org; Wed, 04 Feb 2009 09:22:50 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LUig9-0005O4-CE for emacs-pretest-bug@gnu.org; Wed, 04 Feb 2009 09:24:38 -0500 Received: from air.cs.bath.ac.uk ([138.38.108.3]:56643) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LUig8-0005NJ-U3 for emacs-pretest-bug@gnu.org; Wed, 04 Feb 2009 09:24:37 -0500 Received: from [138.38.108.1] (helo=xenakis.cs.bath.ac.uk) by air.cs.bath.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LUig3-00077e-B1; Wed, 04 Feb 2009 14:24:31 +0000 Received: from jpff by xenakis.cs.bath.ac.uk with local (Exim 4.69) (envelope-from ) id 1LUig3-0006aH-6b; Wed, 04 Feb 2009 14:24:31 +0000 Date: Wed, 4 Feb 2009 14:24:31 +0000 Message-ID: <2166-Wed04Feb2009142431+0000-jpff@cs.bath.ac.uk> X-Mailer: emacs 23.0.90.2 (via feedmail 11-beta-1 I) From: jpff To: emacs-pretest-bug@gnu.org Subject: 23.0.90; rmail not reading email X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) I have just tried to read new mail (g) in rmail mode It appeared to lose the mail -- the external mailbox was cleared but the mail did not appear. I later found it appended to the last message but in a format that is neither one nor the other. It starts as below.... 0, unseen,, Return-Path: Received: from murder ([unix socket]) by air (Cyrus v2.3.8) with LMTPA; Wed, 04 Feb 2009 10:27:50 +0000 X-Sieve: CMU Sieve 2.3 Envelope-to: jpff@cs.bath.ac.uk Delivery-date: Wed, 04 Feb 2009 10:27:50 +0000 Received: from authenticated user by air.cs.bath.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LUez0-0002dZ-4X; Wed, 04 Feb 2009 10:27:50 +0000 Date: Wed, 4 Feb 2009 10:27:50 +0000 (GMT) From: Professor James Davenport To: J P Fitch , J A Padget , Russell Bradford cc: James Davenport Subject: Blast from the past Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I found myself reading, or at leats looking for, @Article{ McArthuretal1988, title = "{Skill-oriented task sequencing in an intelligent tutor for basic algebra}", author = {McArthur,D. Stasz,C. Hotta,J. and Peter,O. and Burdorf,C.}, journal = {Instructional Science}, volume = {17}, year = {1988}, pages = {281-307}, annote = {DOI 10.1007/BF00056218}, keywords = {EDUC} }  0, unseen,, Return-Path: Received: from murder ([unix socket]) by air (Cyrus v2.3.8) with LMTPA; Wed, 04 Feb 2009 10:44:59 +0000 etc etc ........................................... unrmail will not touch it as there are no *** EOOH *** lines. Looks liek I need to do a lot of hand editing. This was working on my other machine. Only significant different I can think of it that teh mail is from po:jpff rather than a file In GNU Emacs 23.0.90.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2009-02-04 on xenakis Windowing system distributor `The X.Org Foundation', version 11.0.10400090 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: auto-image-file-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f R M A M-x r m a i l - m o d e u k r b l - l i s t e d C-x k y e s C-x C-f R M A > v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v v C-r m o n e y C-a SPC > C-x C-x M-x w r SPC r l o s t _ m a i l _ f e b C-w C-x C-s C-x k C-x C-f l o s M-x u n r l o s t + m _ x x . f e b C-x 2 C-x C-f M A I L / e x c - _ n C-x k C-x o C-x C-s M-x u n r m l o s t x . x . f e b C-g M-m C-x k M-x r e p o r t Recent messages: File mode specification error: (error "Aborted") Mark set Saving file /bigdisk/jpff/lost_mail_feb... Wrote /bigdisk/jpff/lost_mail_feb Writing messages to /bigdisk/jpff/xx.feb... unrmail: Search failed: "^[*][*][*] EOOH [*][*][*] " Quit Parsing /bigdisk/jpff/.mailrc... done Making completion list... ==John ffitch From lekktu@gmail.com Wed Feb 4 08:42:31 2009 Received: (at control) by emacsbugs.donarmstrong.com; 4 Feb 2009 16:42:31 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f10.google.com (mail-ew0-f10.google.com [209.85.219.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14GgRpb006832 for ; Wed, 4 Feb 2009 08:42:29 -0800 Received: by ewy3 with SMTP id 3so3584755ewy.1 for ; Wed, 04 Feb 2009 08:42:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=rDdhqyIL+6LJL3x73ZfCwU8DVsqeyoSByyhAVP7jdGc=; b=BkFr71wQ2IduBNW1n9IqRQVs4rOX0mcabnX0OLtBkYCWXyp4jtpYjlZvtZwSsvkpq5 r5lbJdqmS25A83g4prJCOwrg3jXqe91+KEkfD2P9Zb9nZU9JnvTVcocPGBOeLiGiiZiV OaRpFYqw7V23NwpOlWbthhxuCrH9OTNqiSo/I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=VzAlfbSoIQIox+oY/3ZoEjRUzkJsD4Cl0BzDmSODi0DGzmjEU4kbJJVGaLckNy7bUJ aN5/N43ka4FMts9otyKA9lEXS2gBiSAvnUzyOD09MLc0H+C8XWUrjSEQS7Bv6pMhnLgC dYVLYFqNb5jRedLyQ4mt++n0mv4OZC0pEcweo= MIME-Version: 1.0 Received: by 10.210.112.1 with SMTP id k1mr451296ebc.109.1233765625940; Wed, 04 Feb 2009 08:40:25 -0800 (PST) Date: Wed, 4 Feb 2009 17:40:25 +0100 Message-ID: Subject: From: Juanma Barranquero To: control@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit reassign 2189 spam reassign 2191 spam reassign 2192 spam reassign 2194 spam reassign 2196 emacs,rmail reassign 2193 emacs,w32 quit From rms@gnu.org Wed Feb 4 21:42:06 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 5 Feb 2009 05:42:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=HAS_BUG_NUMBER,MDO_DATING14 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n155fsJP009997; Wed, 4 Feb 2009 21:41:55 -0800 Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LUwy1-0001ZJ-Rk; Thu, 05 Feb 2009 00:40:01 -0500 Content-Type: text/plain; charset=ISO-8859-15 From: Richard M Stallman To: jpff , 2196@debbugs.gnu.org CC: emacs-pretest-bug@gnu.org In-reply-to: <2166-Wed04Feb2009142431+0000-jpff@cs.bath.ac.uk> (message from jpff on Wed, 4 Feb 2009 14:24:31 +0000) Subject: Re: bug#2196: 23.0.90; rmail not reading email Reply-to: rms@gnu.org References: <2166-Wed04Feb2009142431+0000-jpff@cs.bath.ac.uk> Message-Id: Date: Thu, 05 Feb 2009 00:40:01 -0500 I have just tried to read new mail (g) in rmail mode It appeared to lose the mail -- the external mailbox was cleared but the mail did not appear. I later found it appended to the last message but in a format that is neither one nor the other. I see that some of what you sent us is in Babyl format. That is strange, because as far as I know there is nothing in Rmail now that converts to Babyl format except in some cases `rmail-output', and I don't think that was involved. Was your inbox in Babyl format? If not, can you find out which code tried to convert it to Babyl format? Is it possible you are running an old version of rmail.el? From jpff@codemist.co.uk Thu Feb 5 00:30:36 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 5 Feb 2009 08:30:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n158UXA4020034 for ; Thu, 5 Feb 2009 00:30:34 -0800 Received: from mx10.gnu.org ([199.232.76.166]:44493) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LUzbH-0007ot-Ix for emacs-pretest-bug@gnu.org; Thu, 05 Feb 2009 03:28:43 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LUzd2-0003oe-0u for emacs-pretest-bug@gnu.org; Thu, 05 Feb 2009 03:30:32 -0500 Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]:40235) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LUzd0-0003lZ-CU; Thu, 05 Feb 2009 03:30:30 -0500 Received: from [217.155.197.248] (helo=codemist.co.uk) by smarthost02.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1LUzct-0003as-Eo; Thu, 05 Feb 2009 08:30:23 +0000 Received: from cardew.codemist.co.uk ([172.16.4.17]) by codemist.co.uk with esmtp (Exim 4.69) (envelope-from ) id 1LUzct-0005Z0-0l; Thu, 05 Feb 2009 08:30:23 +0000 Received: from jpff by cardew.codemist.co.uk with local (Exim 4.69) (envelope-from ) id 1LUzcn-000354-K0; Thu, 05 Feb 2009 08:30:17 +0000 Date: Thu, 5 Feb 2009 08:30:17 +0000 Message-Id: <9489-Thu05Feb2009083017+0000-jpff@codemist.co.uk> X-Mailer: emacs 23.0.90.4 (via feedmail 8 I) From: jpff To: rms@gnu.org CC: 2196@debbugs.gnu.org, emacs-pretest-bug@gnu.org In-reply-to: message from Richard M Stallman on Thu, 05 Feb 2009 00:40:01 -0500 Subject: Re: bug#2196: 23.0.90; rmail not reading email References: X-Originating-Smarthost02-IP: [217.155.197.248] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) I think the culprit is movemail in lib-src the mail I collected is in a central server, and I have always collected mail using po:jpff which calls movemail Looking at the course of movemail.c after I sent the report i see references to ^_ and similar that suggests to me that it is not working in mbox format. line 908-914 lib-src/movemail.c if (line[0] == '\037') { if (fputs ("^_", mbf) == EOF) return (NOTOK); line++; len--; } ==John ffitch From rgm@gnu.org Mon Feb 9 19:37:49 2009 Received: (at 2196) by emacsbugs.donarmstrong.com; 10 Feb 2009 03:37:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.8 required=4.0 tests=FOURLA,HAS_BUG_NUMBER, MDO_DATING14,MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1A3beW5032043; Mon, 9 Feb 2009 19:37:41 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LWjPU-0002Gy-5T; Mon, 09 Feb 2009 22:35:44 -0500 From: Glenn Morris To: jpff Cc: 2196@debbugs.gnu.org, rms@gnu.org Subject: Re: bug#2196: 23.0.90; rmail not reading email References: <9489-Thu05Feb2009083017+0000-jpff@codemist.co.uk> X-Spook: COSCO Syria csim Noriega HAMASMOIS cryptographic Abu X-Ran: X|`P;`)c User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-CrossAssassin-Score: 2 retitle 2196 movemail.c, pop, and mbox severity 2196 minor stop jpff wrote: > I think the culprit is movemail in lib-src Indeed. The specific bit you cited is not a problem (I think), but the functions mbx_delimit_begin and mbx_delimit_end are Babyl-specific, and so movemail was totally broken for the retrieval of mail via pop. That's rather bad. I've installed a fix that just prints >From movemail at the start of each message. I think this is enough to make it work. It would be nice to add the time: >From movemail Mon Feb 9 14:51:58 2009 A further patch for this is attached. I don't know how correct/portable the code is though (?). *** movemail.c 10 Feb 2009 03:30:41 -0000 1.98 --- movemail.c 10 Feb 2009 03:31:20 -0000 *************** *** 60,65 **** --- 60,67 ---- #include #include #include + #include + #include #include #ifdef HAVE_UNISTD_H *************** *** 923,929 **** mbx_delimit_begin (mbf) FILE *mbf; { ! if (fputs ("From movemail\n", mbf) == EOF) return (NOTOK); return (OK); } --- 925,940 ---- mbx_delimit_begin (mbf) FILE *mbf; { ! time_t now; ! struct tm *ltime; ! char fromline[40] = "From movemail "; ! ! now = time (NULL); ! ltime = localtime (&now); ! ! strcat (fromline, asctime (ltime)); ! ! if (fputs (fromline, mbf) == EOF) return (NOTOK); return (OK); } From eliz@gnu.org Tue Feb 10 01:32:39 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Feb 2009 09:32:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1A9WaVc031991 for ; Tue, 10 Feb 2009 01:32:37 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWoyq-0006aX-7a for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2009 04:32:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWoyo-0006Zy-VE for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2009 04:32:35 -0500 Received: from [199.232.76.173] (port=33023 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWoyo-0006Zr-La for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2009 04:32:34 -0500 Received: from mtaout7.012.net.il ([84.95.2.19]:61152) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LWoyk-0002mV-2g; Tue, 10 Feb 2009 04:32:30 -0500 Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KEU00000FSUFE00@i-mtaout7.012.net.il>; Tue, 10 Feb 2009 11:32:30 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.128.7]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KEU00NNGFU43GQ0@i-mtaout7.012.net.il>; Tue, 10 Feb 2009 11:32:30 +0200 (IST) Date: Tue, 10 Feb 2009 11:32:31 +0200 From: Eli Zaretskii Subject: Re: bug#2196: 23.0.90; rmail not reading email In-reply-to: X-012-Sender: halo1@inter.net.il To: Glenn Morris , 2196@debbugs.gnu.org Cc: jpff@codemist.co.uk, bug-submit-list@donarmstrong.com, 2196@debbugs.gnu.org, rms@gnu.org, bug-gnu-emacs@gnu.org, bug-gnu-emacs@gnu.org Reply-to: Eli Zaretskii Message-id: References: <9489-Thu05Feb2009083017+0000-jpff@codemist.co.uk> X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) > From: Glenn Morris > Date: Mon, 09 Feb 2009 22:35:44 -0500 > Cc: 2196@emacsbugs.donarmstrong.com, rms@gnu.org > > A further patch for this is attached. I don't know how > correct/portable the code is though (?). Thanks. I don't see anything unportable here: `time' and `localtime' are ANSI C89 functions, IIRC. From rgm@gnu.org Tue Feb 10 20:00:43 2009 Received: (at 2196-done) by emacsbugs.donarmstrong.com; 11 Feb 2009 04:00:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1B40elH008052 for <2196-done@emacsbugs.donarmstrong.com>; Tue, 10 Feb 2009 20:00:41 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LX6FG-0002h9-B2; Tue, 10 Feb 2009 22:58:42 -0500 From: Glenn Morris To: Eli Zaretskii Cc: 2196-done@debbugs.gnu.org, rms@gnu.org Subject: Re: bug#2196: 23.0.90; rmail not reading email References: <9489-Thu05Feb2009083017+0000-jpff@codemist.co.uk> X-Spook: constitution UFO Agfa M-14 Montenegro nuclear Waco, Texas X-Ran: (#;?D{&c1q1UfD)Ta1=9d\V,h0OvI#mb.MC-zr+:}l/d!+>>`uQ-k}~iaK User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Eli Zaretskii wrote: > Thanks. I don't see anything unportable here: `time' and `localtime' > are ANSI C89 functions, IIRC. Thanks. You'd be amazed (perhaps not...) how little I know about C. Installed, bug closed. From rgm@gnu.org Tue Feb 10 23:59:15 2009 Received: (at 2196) by emacsbugs.donarmstrong.com; 11 Feb 2009 07:59:15 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1B7xCLh009870 for <2196@emacsbugs.donarmstrong.com>; Tue, 10 Feb 2009 23:59:13 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LX9y4-0007zi-Ch; Wed, 11 Feb 2009 02:57:12 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18834.34008.247532.517237@fencepost.gnu.org> Date: Wed, 11 Feb 2009 02:57:12 -0500 From: Glenn Morris To: Eli Zaretskii , 2196@debbugs.gnu.org Subject: Re: bug#2196: 23.0.90; rmail not reading email In-Reply-To: References: <9489-Thu05Feb2009083017+0000-jpff@codemist.co.uk> X-Debbugs-No-Ack: yes Glenn Morris wrote (on Tue, 10 Feb 2009 at 22:58 -0500): > Installed, bug closed. I'm told, off-list, that the installed version (I moved the includes inside ifdef MAIL_USE_POP) causes breakage. I cannot reproduce. Can someone fix? Thanks. (mbx_delimit_begin): Also write the current time. 2 files changed, 16 insertions(+), 1 deletions(-) boot=bootstrap-emacs; \ if [ -x "src/$boot" ]; then boot=""; fi; \ cd lib-src; make all \ CC='gcc' CFLAGS='-g -O2 -Wno-pointer-sign ' CPPFLAGS='-D_BSD_SOURCE ' \ LDFLAGS='-Wl,-znocombreloc ' MAKE='make' BOOTSTRAPEMACS="$boot" make[1]: Entering directory `/usr/local/src/emacs/lib-src' gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/usr/local/src/emacs/lib-src -I/usr/local/src/emacs/lib-src/../src -D_BSD_SOURCE -g -O2 -Wno-pointer-sign -Demacs /usr/local/src/emacs/lib-src/movemail.c /usr/local/src/emacs/lib-src/movemail.c: In function 'main': /usr/local/src/emacs/lib-src/movemail.c:326: warning: ignoring return value of 'mktemp', declared with attribute warn_unused_result /usr/local/src/emacs/lib-src/movemail.c: In function 'error': /usr/local/src/emacs/lib-src/movemail.c:624: warning: format not a string literal and no format arguments In file included from /usr/local/src/emacs/lib-src/movemail.c:687: /usr/include/time.h: At top level: /usr/include/time.h:187: error: conflicting types for 'time' /usr/local/src/emacs/lib-src/movemail.c:362: error: previous implicit declaration of 'time' was here /usr/local/src/emacs/lib-src/movemail.c: In function 'popmail': /usr/local/src/emacs/lib-src/movemail.c:762: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result make[1]: *** [movemail.o] Error 1 make[1]: Leaving directory `/usr/local/src/emacs/lib-src' make: *** [lib-src] Error 2 From unknown Thu Sep 11 16:03:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 11 Mar 2009 14:24:10 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator