From: David Presotto <presotto@closedmind.org>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Re: nedmail.c
Date: Mon, 4 Aug 2003 21:09:26 -0400 [thread overview]
Message-ID: <0cf6126f070c1be6dfc4f5e944548c18@plan9.bell-labs.com> (raw)
In-Reply-To: <0acb4a8457c0dfaa533230e13afd0d74@sdgm.net>
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
Ya, your version was redundant for the switch(deld) case. The
other difference was for rsc who wanted renumbering in the 'y'
case to make it consistent with 'i'.
[-- Attachment #2: Type: message/rfc822, Size: 2030 bytes --]
From: boyd@sdgm.net
To: 9fans@cse.psu.edu
Subject: [9fans] Re: nedmail.c
Date: Mon, 4 Aug 2003 20:46:08 -0400
Message-ID: <0acb4a8457c0dfaa533230e13afd0d74@sdgm.net>
looks good:
brahma% diff /n/sources/plan9/sys/src/cmd/upas/ned/nedmail.c src/upas/ned
1445d1444
< int i;
1494c1493,1499
< if(deld)
---
> switch(deld){
> case 0:
> break;
> case 1:
> Bprint(&out, "!1 message deleted\n");
> break;
> default:
1496,1500c1501,1502
<
< // renumber
< i = 1;
< for(m = top.child; m != nil; m = m->next)
< m->id = natural ? m->fileno : i++;
---
> break;
> }
prev parent reply other threads:[~2003-08-05 1:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-05 0:46 boyd
2003-08-05 1:09 ` David Presotto [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0cf6126f070c1be6dfc4f5e944548c18@plan9.bell-labs.com \
--to=presotto@closedmind.org \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).