summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-10-03 20:32:22 -0600
committerEduardo Chappa <chappa@washington.edu>2021-10-03 20:32:22 -0600
commitda6cdd6b8083201c66349133693a173704f5d4df (patch)
tree0118a022be15f2401c2092dc541109e6336d356c
parenta443129c36cd2f93c48a00c6b59b25c7585c64c2 (diff)
downloadalpine-da6cdd6b8083201c66349133693a173704f5d4df.tar.xz
* Code clean up and removal of some warnings.
-rw-r--r--alpine/addrbook.c4
-rw-r--r--alpine/adrbkcmd.c4
-rw-r--r--alpine/after.c4
-rw-r--r--alpine/alpine.c4
-rw-r--r--alpine/arg.c4
-rw-r--r--alpine/busy.c4
-rw-r--r--alpine/colorconf.c4
-rw-r--r--alpine/confscroll.c4
-rw-r--r--alpine/context.c4
-rw-r--r--alpine/dispfilt.c4
-rw-r--r--alpine/flagmaint.c4
-rw-r--r--alpine/folder.c4
-rw-r--r--alpine/help.c10
-rw-r--r--alpine/init.c4
-rw-r--r--alpine/kblock.c4
-rw-r--r--alpine/keymenu.c4
-rw-r--r--alpine/ldapconf.c4
-rw-r--r--alpine/listsel.c3
-rw-r--r--alpine/mailcmd.c6
-rw-r--r--alpine/mailindx.c4
-rw-r--r--alpine/mailpart.c10
-rw-r--r--alpine/mailview.c4
-rw-r--r--alpine/newmail.c4
-rw-r--r--alpine/newuser.c4
-rw-r--r--alpine/osdep/chnge_pw.c4
-rw-r--r--alpine/osdep/debuging.c4
-rw-r--r--alpine/osdep/diskquot.non.c4
-rw-r--r--alpine/osdep/execview.c4
-rw-r--r--alpine/osdep/fltrname.c4
-rw-r--r--alpine/osdep/jobcntrl.c4
-rw-r--r--alpine/osdep/print.c4
-rw-r--r--alpine/osdep/termin.gen.c4
-rw-r--r--alpine/osdep/termin.unx.c4
-rw-r--r--alpine/osdep/termin.wnt.c4
-rw-r--r--alpine/osdep/termout.gen.c4
-rw-r--r--alpine/osdep/termout.unx.c4
-rw-r--r--alpine/osdep/termout.wnt.c4
-rw-r--r--alpine/pattern.c3
-rw-r--r--alpine/pine-use.c4
-rw-r--r--alpine/pipe.c3
-rw-r--r--alpine/print.c4
-rw-r--r--alpine/radio.c4
-rw-r--r--alpine/remote.c4
-rw-r--r--alpine/reply.c4
-rw-r--r--alpine/roleconf.c4
-rw-r--r--alpine/rpdump.c4
-rw-r--r--alpine/rpload.c4
-rw-r--r--alpine/send.c4
-rw-r--r--alpine/setup.c4
-rw-r--r--alpine/signal.c4
-rw-r--r--alpine/smime.c7
-rw-r--r--alpine/status.c4
-rw-r--r--alpine/takeaddr.c4
-rw-r--r--alpine/titlebar.c4
-rw-r--r--pico/attach.c4
-rw-r--r--pico/basic.c4
-rw-r--r--pico/bind.c4
-rw-r--r--pico/browse.c3
-rw-r--r--pico/buffer.c4
-rw-r--r--pico/composer.c4
-rw-r--r--pico/display.c4
-rw-r--r--pico/file.c4
-rw-r--r--pico/fileio.c4
-rw-r--r--pico/line.c4
-rw-r--r--pico/main.c4
-rw-r--r--pico/osdep/altedit.c4
-rw-r--r--pico/osdep/chkpoint.c4
-rw-r--r--pico/osdep/color.c4
-rw-r--r--pico/osdep/filesys.c4
-rw-r--r--pico/osdep/getkey.c4
-rw-r--r--pico/osdep/mouse.c4
-rw-r--r--pico/osdep/msdlg.c4
-rw-r--r--pico/osdep/newmail.c4
-rw-r--r--pico/osdep/popen.c4
-rw-r--r--pico/osdep/raw.c4
-rw-r--r--pico/osdep/read.c4
-rw-r--r--pico/osdep/shell.c4
-rw-r--r--pico/osdep/signals.c4
-rw-r--r--pico/osdep/spell.c4
-rw-r--r--pico/osdep/terminal.c4
-rw-r--r--pico/osdep/tty.c4
-rw-r--r--pico/pico.c4
-rw-r--r--pico/pilot.c4
-rw-r--r--pico/random.c4
-rw-r--r--pico/region.c4
-rw-r--r--pico/search.c4
-rw-r--r--pico/utf8stub.c4
-rw-r--r--pico/window.c3
-rw-r--r--pico/word.c4
-rw-r--r--pith/abdlc.c6
-rw-r--r--pith/ablookup.c4
-rw-r--r--pith/addrbook.c4
-rw-r--r--pith/addrstring.c6
-rw-r--r--pith/adjtime.c4
-rw-r--r--pith/adrbklib.c6
-rw-r--r--pith/bldaddr.c6
-rw-r--r--pith/charconv/filesys.c4
-rw-r--r--pith/charconv/utf8.c6
-rw-r--r--pith/charset.c4
-rw-r--r--pith/color.c4
-rw-r--r--pith/conf.c7
-rw-r--r--pith/context.c6
-rw-r--r--pith/copyaddr.c4
-rw-r--r--pith/detach.c4
-rw-r--r--pith/detoken.c4
-rw-r--r--pith/editorial.c4
-rw-r--r--pith/escapes.c4
-rw-r--r--pith/filter.c7
-rw-r--r--pith/flag.c4
-rw-r--r--pith/folder.c4
-rw-r--r--pith/handle.c4
-rw-r--r--pith/help.c6
-rw-r--r--pith/helpindx.c6
-rw-r--r--pith/hist.c4
-rw-r--r--pith/icache.c4
-rw-r--r--pith/imap.c4
-rw-r--r--pith/init.c4
-rw-r--r--pith/keyword.c4
-rw-r--r--pith/ldap.c4
-rw-r--r--pith/list.c4
-rw-r--r--pith/mailcap.c4
-rw-r--r--pith/mailcmd.c4
-rw-r--r--pith/mailindx.c4
-rw-r--r--pith/maillist.c6
-rw-r--r--pith/mailview.c6
-rw-r--r--pith/margin.c4
-rw-r--r--pith/mimedesc.c4
-rw-r--r--pith/mimetype.c6
-rw-r--r--pith/msgno.c6
-rw-r--r--pith/newmail.c4
-rw-r--r--pith/news.c6
-rw-r--r--pith/osdep/bldpath.c4
-rw-r--r--pith/osdep/canaccess.c4
-rw-r--r--pith/osdep/canonicl.c4
-rw-r--r--pith/osdep/collate.c4
-rw-r--r--pith/osdep/color.c4
-rw-r--r--pith/osdep/coredump.c4
-rw-r--r--pith/osdep/creatdir.c4
-rw-r--r--pith/osdep/debugtime.c4
-rw-r--r--pith/osdep/domnames.c4
-rw-r--r--pith/osdep/err_desc.c4
-rw-r--r--pith/osdep/fgetpos.c4
-rw-r--r--pith/osdep/filesize.c4
-rw-r--r--pith/osdep/fnexpand.c4
-rw-r--r--pith/osdep/hostname.c4
-rw-r--r--pith/osdep/lstcmpnt.c4
-rw-r--r--pith/osdep/mimedisp.c6
-rw-r--r--pith/osdep/pipe.c6
-rw-r--r--pith/osdep/pw_stuff.c4
-rw-r--r--pith/osdep/rename.c4
-rw-r--r--pith/osdep/temp_nam.c6
-rw-r--r--pith/osdep/tempfile.c4
-rw-r--r--pith/osdep/writ_dir.c4
-rw-r--r--pith/pattern.c3
-rw-r--r--pith/pipe.c3
-rw-r--r--pith/readfile.c4
-rw-r--r--pith/remote.c4
-rw-r--r--pith/reply.c5
-rw-r--r--pith/rfc2231.c4
-rw-r--r--pith/save.c6
-rw-r--r--pith/search.c4
-rw-r--r--pith/send.c4
-rw-r--r--pith/sequence.c4
-rw-r--r--pith/smime.c6
-rw-r--r--pith/smkeys.c4
-rw-r--r--pith/sort.c4
-rw-r--r--pith/state.c4
-rw-r--r--pith/status.c4
-rw-r--r--pith/store.c4
-rw-r--r--pith/stream.c4
-rw-r--r--pith/string.c4
-rw-r--r--pith/strlst.c4
-rw-r--r--pith/takeaddr.c4
-rw-r--r--pith/tempfile.c4
-rw-r--r--pith/text.c4
-rw-r--r--pith/thread.c4
-rw-r--r--pith/url.c4
-rw-r--r--pith/util.c4
-rw-r--r--web/src/alpined.d/alpined.c4
-rw-r--r--web/src/alpined.d/alpineldap.c4
-rw-r--r--web/src/alpined.d/busy.c4
-rw-r--r--web/src/alpined.d/color.c4
-rw-r--r--web/src/alpined.d/debug.c4
-rw-r--r--web/src/alpined.d/imap.c4
-rw-r--r--web/src/alpined.d/ldap.c4
-rw-r--r--web/src/alpined.d/remote.c4
-rw-r--r--web/src/alpined.d/signal.c4
-rw-r--r--web/src/alpined.d/status.c4
-rw-r--r--web/src/alpined.d/stubs.c4
-rw-r--r--web/src/alpined.d/wpcomm.c4
190 files changed, 27 insertions, 786 deletions
diff --git a/alpine/addrbook.c b/alpine/addrbook.c
index 26f3ad1a..a52ff94e 100644
--- a/alpine/addrbook.c
+++ b/alpine/addrbook.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: addrbook.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2009 University of Washington
diff --git a/alpine/adrbkcmd.c b/alpine/adrbkcmd.c
index 649b31dc..c3472acc 100644
--- a/alpine/adrbkcmd.c
+++ b/alpine/adrbkcmd.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: adrbkcmd.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/after.c b/alpine/after.c
index e94c21b4..e871694c 100644
--- a/alpine/after.c
+++ b/alpine/after.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: after.c 138 2006-09-22 22:12:03Z mikes@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
* Copyright 2006-2007 University of Washington
diff --git a/alpine/alpine.c b/alpine/alpine.c
index 1523634e..157c0958 100644
--- a/alpine/alpine.c
+++ b/alpine/alpine.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: alpine.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/arg.c b/alpine/arg.c
index 90ce92da..8ac516a6 100644
--- a/alpine/arg.c
+++ b/alpine/arg.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: arg.c 900 2008-01-05 01:13:26Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/busy.c b/alpine/busy.c
index 72a00f52..cc057747 100644
--- a/alpine/busy.c
+++ b/alpine/busy.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: signal.c 138 2006-09-22 22:12:03Z mikes@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2007 University of Washington
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/colorconf.c b/alpine/colorconf.c
index 20947850..9b66e17b 100644
--- a/alpine/colorconf.c
+++ b/alpine/colorconf.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: colorconf.c 934 2008-02-23 00:44:29Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/confscroll.c b/alpine/confscroll.c
index 6a968a7d..ef0a2dd9 100644
--- a/alpine/confscroll.c
+++ b/alpine/confscroll.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: confscroll.c 1169 2008-08-27 06:42:06Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/context.c b/alpine/context.c
index acf2f4a5..c47592c7 100644
--- a/alpine/context.c
+++ b/alpine/context.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: context.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/alpine/dispfilt.c b/alpine/dispfilt.c
index ec208256..4f6df1ca 100644
--- a/alpine/dispfilt.c
+++ b/alpine/dispfilt.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: dispfilt.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/flagmaint.c b/alpine/flagmaint.c
index 9f8c6e73..288b5618 100644
--- a/alpine/flagmaint.c
+++ b/alpine/flagmaint.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: flagmaint.c 807 2007-11-09 01:21:33Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/alpine/folder.c b/alpine/folder.c
index 64e9d7d0..00b2f9e9 100644
--- a/alpine/folder.c
+++ b/alpine/folder.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: folder.c 1144 2008-08-14 16:53:34Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/help.c b/alpine/help.c
index cd755e3e..aa6dc822 100644
--- a/alpine/help.c
+++ b/alpine/help.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: help.c 1032 2008-04-11 00:30:04Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
@@ -139,8 +135,8 @@ helper_internal(HelpType text, char *frag, char *title, int flags)
int status, we_cancel = 0;
we_cancel = busy_cue(_("Retrieving help text"), NULL, 1);
- HTTPSTREAM *stream = http_open(*shown_text + 14);
- if(stream) help_text = http_get(stream, NULL);
+ HTTPSTREAM *stream = http_open((unsigned char *) (*shown_text + 14));
+ if(stream) help_text = (char *) http_get(stream, NULL);
status = stream && stream->status ? stream->status->code : -1;
if(stream) http_close(stream);
if(status != HTTP_OK){
@@ -377,7 +373,7 @@ helper_internal(HelpType text, char *frag, char *title, int flags)
while(cmd == MC_RESIZE);
if(external_text != NULL){
- for(rv = external_text; *rv != NULL; *rv++)
+ for(rv = external_text; *rv != NULL; rv++)
fs_give((void **) &*rv);
fs_give((void **) external_text);
}
diff --git a/alpine/init.c b/alpine/init.c
index d0513893..3f9a4a33 100644
--- a/alpine/init.c
+++ b/alpine/init.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: init.c 101 2006-08-10 22:53:04Z mikes@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/alpine/kblock.c b/alpine/kblock.c
index db65dda8..2464f7d8 100644
--- a/alpine/kblock.c
+++ b/alpine/kblock.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: kblock.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/keymenu.c b/alpine/keymenu.c
index b2b69a64..7d463021 100644
--- a/alpine/keymenu.c
+++ b/alpine/keymenu.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: keymenu.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/ldapconf.c b/alpine/ldapconf.c
index 42c6e034..fd0a4c24 100644
--- a/alpine/ldapconf.c
+++ b/alpine/ldapconf.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: ldapconf.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/listsel.c b/alpine/listsel.c
index f307ac82..3c11a8c6 100644
--- a/alpine/listsel.c
+++ b/alpine/listsel.c
@@ -1,6 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: listsel.c 918 2008-01-23 19:39:38Z hubert@u.washington.edu $";
-#endif
/* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
* Copyright 2006-2008 University of Washington
diff --git a/alpine/mailcmd.c b/alpine/mailcmd.c
index 979cc33f..128f813a 100644
--- a/alpine/mailcmd.c
+++ b/alpine/mailcmd.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: mailcmd.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
@@ -8279,7 +8275,7 @@ select_by_text(MAILSTREAM *stream, MSGNO_S *msgmap, long int msgno, SEARCHSET **
int not = 0, me = 0;
char sstring[512], tmp[128];
char *p, *sval = NULL;
- char buftmp[MAILTMPLEN], namehdr[80];
+ char namehdr[80];
ESCKEY_S ekey[8];
ENVELOPE *env = NULL;
HelpType help;
diff --git a/alpine/mailindx.c b/alpine/mailindx.c
index 1dbb1b41..e3174daf 100644
--- a/alpine/mailindx.c
+++ b/alpine/mailindx.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: mailindx.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/mailpart.c b/alpine/mailpart.c
index e6c2bec8..6c8bc650 100644
--- a/alpine/mailpart.c
+++ b/alpine/mailpart.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: mailpart.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
@@ -3082,14 +3078,14 @@ display_vevent_summary(long int msgno, ATTACH_S *a, int flags, int depth)
HANDLE_S *handles = NULL;
URL_HILITE_S uh;
gf_io_t gc, pc;
- char *errstr = NULL, tmp[MAILTMPLEN], *p;
+ char *errstr = NULL;
int cmd, i, k;
- b = mail_body(ps_global->mail_stream, msgno, a->number);
+ b = mail_body(ps_global->mail_stream, msgno, (unsigned char *) a->number);
if(b->sparep == NULL){
b64text = mail_fetch_body(ps_global->mail_stream, msgno, a->number, &callen, 0);
b64text[callen] = '\0'; /* chop off cookie */
- caltext = rfc822_base64(b64text, strlen(b64text), &callen);
+ caltext = rfc822_base64((unsigned char *)b64text, strlen(b64text), &callen);
vcal = ical_parse_text(caltext);
b->sparep = create_body_sparep(iCalType, (void *) vcal);
}
diff --git a/alpine/mailview.c b/alpine/mailview.c
index 11ca4af3..926f58b2 100644
--- a/alpine/mailview.c
+++ b/alpine/mailview.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: mailview.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/newmail.c b/alpine/newmail.c
index 0ba2e18a..3975f8ad 100644
--- a/alpine/newmail.c
+++ b/alpine/newmail.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: newmail.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/newuser.c b/alpine/newuser.c
index de03c289..c1b5d7f2 100644
--- a/alpine/newuser.c
+++ b/alpine/newuser.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: newuser.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/osdep/chnge_pw.c b/alpine/osdep/chnge_pw.c
index 1a83f827..9458b323 100644
--- a/alpine/osdep/chnge_pw.c
+++ b/alpine/osdep/chnge_pw.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: chnge_pw.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/alpine/osdep/debuging.c b/alpine/osdep/debuging.c
index 2ff0d7d3..8e7ce007 100644
--- a/alpine/osdep/debuging.c
+++ b/alpine/osdep/debuging.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: debuging.c 900 2008-01-05 01:13:26Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/osdep/diskquot.non.c b/alpine/osdep/diskquot.non.c
index 17465f63..2eb64638 100644
--- a/alpine/osdep/diskquot.non.c
+++ b/alpine/osdep/diskquot.non.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: diskquot.non.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006 University of Washington
diff --git a/alpine/osdep/execview.c b/alpine/osdep/execview.c
index 44d97266..0d155558 100644
--- a/alpine/osdep/execview.c
+++ b/alpine/osdep/execview.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: execview.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/osdep/fltrname.c b/alpine/osdep/fltrname.c
index 7af381eb..a2773d80 100644
--- a/alpine/osdep/fltrname.c
+++ b/alpine/osdep/fltrname.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: fltrname.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/alpine/osdep/jobcntrl.c b/alpine/osdep/jobcntrl.c
index e3d790df..d35a9ef9 100644
--- a/alpine/osdep/jobcntrl.c
+++ b/alpine/osdep/jobcntrl.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: jobcntrl.c 765 2007-10-23 23:51:37Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006 University of Washington
diff --git a/alpine/osdep/print.c b/alpine/osdep/print.c
index 3e5a81f4..e8fce15a 100644
--- a/alpine/osdep/print.c
+++ b/alpine/osdep/print.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: print.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/osdep/termin.gen.c b/alpine/osdep/termin.gen.c
index f6d0351a..d4682096 100644
--- a/alpine/osdep/termin.gen.c
+++ b/alpine/osdep/termin.gen.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: termin.gen.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/osdep/termin.unx.c b/alpine/osdep/termin.unx.c
index 589d7940..80c56209 100644
--- a/alpine/osdep/termin.unx.c
+++ b/alpine/osdep/termin.unx.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: termin.unx.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/osdep/termin.wnt.c b/alpine/osdep/termin.wnt.c
index 107a9594..3865c29d 100644
--- a/alpine/osdep/termin.wnt.c
+++ b/alpine/osdep/termin.wnt.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: termin.unx.c 193 2006-10-20 17:09:26Z mikes@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/osdep/termout.gen.c b/alpine/osdep/termout.gen.c
index 62f3deb4..95a60985 100644
--- a/alpine/osdep/termout.gen.c
+++ b/alpine/osdep/termout.gen.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: termout.gen.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/osdep/termout.unx.c b/alpine/osdep/termout.unx.c
index d906511e..ea122947 100644
--- a/alpine/osdep/termout.unx.c
+++ b/alpine/osdep/termout.unx.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: termout.unx.c 955 2008-03-06 23:52:36Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/osdep/termout.wnt.c b/alpine/osdep/termout.wnt.c
index 087ea5ae..4e29f288 100644
--- a/alpine/osdep/termout.wnt.c
+++ b/alpine/osdep/termout.wnt.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: termout.unx.c 159 2006-10-02 22:00:13Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/alpine/pattern.c b/alpine/pattern.c
index d3e4fde3..0d787c6a 100644
--- a/alpine/pattern.c
+++ b/alpine/pattern.c
@@ -1,6 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: pattern.c 169 2006-10-04 23:26:48Z hubert@u.washington.edu $";
-#endif
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/pine-use.c b/alpine/pine-use.c
index 7b49d2eb..a572c500 100644
--- a/alpine/pine-use.c
+++ b/alpine/pine-use.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: pine-use.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/pipe.c b/alpine/pipe.c
index 81f2ef59..e8213f86 100644
--- a/alpine/pipe.c
+++ b/alpine/pipe.c
@@ -1,6 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: pipe.c 155 2006-09-29 23:28:46Z hubert@u.washington.edu $";
-#endif
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/print.c b/alpine/print.c
index c9681d69..48152f3c 100644
--- a/alpine/print.c
+++ b/alpine/print.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: print.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/alpine/radio.c b/alpine/radio.c
index 8469b30d..8d875e39 100644
--- a/alpine/radio.c
+++ b/alpine/radio.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: radio.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/remote.c b/alpine/remote.c
index eaa2d584..79f89d70 100644
--- a/alpine/remote.c
+++ b/alpine/remote.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: remote.c 1032 2008-04-11 00:30:04Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/reply.c b/alpine/reply.c
index 42f5131d..9785901f 100644
--- a/alpine/reply.c
+++ b/alpine/reply.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: reply.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/roleconf.c b/alpine/roleconf.c
index 93540e87..f01571b6 100644
--- a/alpine/roleconf.c
+++ b/alpine/roleconf.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: roleconf.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/rpdump.c b/alpine/rpdump.c
index 7d74d626..bf237b88 100644
--- a/alpine/rpdump.c
+++ b/alpine/rpdump.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: rpdump.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/rpload.c b/alpine/rpload.c
index 7890e100..d56ce52c 100644
--- a/alpine/rpload.c
+++ b/alpine/rpload.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: rpload.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/send.c b/alpine/send.c
index 6209d644..5304d49d 100644
--- a/alpine/send.c
+++ b/alpine/send.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: send.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/setup.c b/alpine/setup.c
index 513353ce..5ef118c8 100644
--- a/alpine/setup.c
+++ b/alpine/setup.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: setup.c 918 2008-01-23 19:39:38Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/signal.c b/alpine/signal.c
index fee91c07..7aff23b0 100644
--- a/alpine/signal.c
+++ b/alpine/signal.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: signal.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2008 University of Washington
* Copyright 2013-2021 Eduardo Chappa
diff --git a/alpine/smime.c b/alpine/smime.c
index e831e5ed..9d6b7085 100644
--- a/alpine/smime.c
+++ b/alpine/smime.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: smime.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
@@ -1519,12 +1515,9 @@ void
smime_manage_password_file_certs_init(struct pine *ps, CONF_S **ctmp, CONF_S **first_line, int fline, int *state)
{
char tmp[200];
- char *ext;
CertList *cl;
int i;
void *pwdcert = NULL; /* this is our current password file */
- X509_LOOKUP *lookup = NULL;
- X509_STORE *store = NULL;
char filename[MAXPATH+1];
BIO *in = NULL;
EVP_PKEY *key = NULL;
diff --git a/alpine/status.c b/alpine/status.c
index 93147d53..114a8842 100644
--- a/alpine/status.c
+++ b/alpine/status.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: status.c 840 2007-12-01 01:34:49Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/alpine/takeaddr.c b/alpine/takeaddr.c
index b085851d..dbdd0724 100644
--- a/alpine/takeaddr.c
+++ b/alpine/takeaddr.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: takeaddr.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/alpine/titlebar.c b/alpine/titlebar.c
index 2e2e3032..1999c0e6 100644
--- a/alpine/titlebar.c
+++ b/alpine/titlebar.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: titlebar.c 1075 2008-06-04 00:19:39Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pico/attach.c b/pico/attach.c
index b05edb0c..f6e92a74 100644
--- a/pico/attach.c
+++ b/pico/attach.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: attach.c 1082 2008-06-12 18:39:50Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/pico/basic.c b/pico/basic.c
index 450063f2..c39001d5 100644
--- a/pico/basic.c
+++ b/pico/basic.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: basic.c 831 2007-11-27 01:04:19Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/bind.c b/pico/bind.c
index 7f25eb0f..23b68808 100644
--- a/pico/bind.c
+++ b/pico/bind.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: bind.c 857 2007-12-08 00:49:45Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/browse.c b/pico/browse.c
index f5fb1e79..792796d0 100644
--- a/pico/browse.c
+++ b/pico/browse.c
@@ -1,6 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: browse.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $";
-#endif
/*
* ========================================================================
diff --git a/pico/buffer.c b/pico/buffer.c
index a38bac21..de9e2cc0 100644
--- a/pico/buffer.c
+++ b/pico/buffer.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: buffer.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006 University of Washington
diff --git a/pico/composer.c b/pico/composer.c
index 5c538de1..67210ec4 100644
--- a/pico/composer.c
+++ b/pico/composer.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: composer.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2009 University of Washington
diff --git a/pico/display.c b/pico/display.c
index cde70b57..af839ef8 100644
--- a/pico/display.c
+++ b/pico/display.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: display.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/pico/file.c b/pico/file.c
index 9d561ec9..3f9956b0 100644
--- a/pico/file.c
+++ b/pico/file.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: file.c 1082 2008-06-12 18:39:50Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/fileio.c b/pico/fileio.c
index f0a3ddc2..2847a2d9 100644
--- a/pico/fileio.c
+++ b/pico/fileio.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: fileio.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006 University of Washington
diff --git a/pico/line.c b/pico/line.c
index a2289280..0ae0ecfd 100644
--- a/pico/line.c
+++ b/pico/line.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: line.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/main.c b/pico/main.c
index 11b8d8ba..a80ecb57 100644
--- a/pico/main.c
+++ b/pico/main.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: main.c 1184 2008-12-16 23:52:15Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/pico/osdep/altedit.c b/pico/osdep/altedit.c
index e8cc80c4..f3e5304c 100644
--- a/pico/osdep/altedit.c
+++ b/pico/osdep/altedit.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: altedit.c 854 2007-12-07 17:44:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/osdep/chkpoint.c b/pico/osdep/chkpoint.c
index 3ca8238d..a4b0a270 100644
--- a/pico/osdep/chkpoint.c
+++ b/pico/osdep/chkpoint.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: chkpoint.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/osdep/color.c b/pico/osdep/color.c
index 4dcb5881..f5191003 100644
--- a/pico/osdep/color.c
+++ b/pico/osdep/color.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: color.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/osdep/filesys.c b/pico/osdep/filesys.c
index 6ba669da..af08726b 100644
--- a/pico/osdep/filesys.c
+++ b/pico/osdep/filesys.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: filesys.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/osdep/getkey.c b/pico/osdep/getkey.c
index 6d1da2e3..29a30af3 100644
--- a/pico/osdep/getkey.c
+++ b/pico/osdep/getkey.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: getkey.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/osdep/mouse.c b/pico/osdep/mouse.c
index cefab90a..9d74d079 100644
--- a/pico/osdep/mouse.c
+++ b/pico/osdep/mouse.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: mouse.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/osdep/msdlg.c b/pico/osdep/msdlg.c
index 6fcbcfa1..7e7f492c 100644
--- a/pico/osdep/msdlg.c
+++ b/pico/osdep/msdlg.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: msdlg.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/pico/osdep/newmail.c b/pico/osdep/newmail.c
index ff71efa1..b61c37a6 100644
--- a/pico/osdep/newmail.c
+++ b/pico/osdep/newmail.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: newmail.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/osdep/popen.c b/pico/osdep/popen.c
index 575929a6..aa5090cb 100644
--- a/pico/osdep/popen.c
+++ b/pico/osdep/popen.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: popen.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006 University of Washington
diff --git a/pico/osdep/raw.c b/pico/osdep/raw.c
index 8a194f8f..96f630f3 100644
--- a/pico/osdep/raw.c
+++ b/pico/osdep/raw.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: raw.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006 University of Washington
diff --git a/pico/osdep/read.c b/pico/osdep/read.c
index 52fe92e5..ae09d5a7 100644
--- a/pico/osdep/read.c
+++ b/pico/osdep/read.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: read.c 763 2007-10-23 23:37:34Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006 University of Washington
diff --git a/pico/osdep/shell.c b/pico/osdep/shell.c
index 7554fdb8..50c86407 100644
--- a/pico/osdep/shell.c
+++ b/pico/osdep/shell.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: shell.c 807 2007-11-09 01:21:33Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/osdep/signals.c b/pico/osdep/signals.c
index 00a96902..16e676ff 100644
--- a/pico/osdep/signals.c
+++ b/pico/osdep/signals.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: signals.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/osdep/spell.c b/pico/osdep/spell.c
index 7988daad..3f95f639 100644
--- a/pico/osdep/spell.c
+++ b/pico/osdep/spell.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: spell.c 854 2007-12-07 17:44:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/osdep/terminal.c b/pico/osdep/terminal.c
index 36309520..d5a68ac2 100644
--- a/pico/osdep/terminal.c
+++ b/pico/osdep/terminal.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: terminal.c 921 2008-01-31 02:09:25Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/pico/osdep/tty.c b/pico/osdep/tty.c
index c24a8a55..bc70db38 100644
--- a/pico/osdep/tty.c
+++ b/pico/osdep/tty.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: tty.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/pico.c b/pico/pico.c
index 6639e0ee..b3416892 100644
--- a/pico/pico.c
+++ b/pico/pico.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: pico.c 921 2008-01-31 02:09:25Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/pico/pilot.c b/pico/pilot.c
index 1bd2c450..bb600654 100644
--- a/pico/pilot.c
+++ b/pico/pilot.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: pilot.c 1184 2008-12-16 23:52:15Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/pico/random.c b/pico/random.c
index e26cd653..493c88b2 100644
--- a/pico/random.c
+++ b/pico/random.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: random.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/region.c b/pico/region.c
index e1e65896..f0d8c09c 100644
--- a/pico/region.c
+++ b/pico/region.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: region.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006 University of Washington
diff --git a/pico/search.c b/pico/search.c
index 1f8b292f..64912229 100644
--- a/pico/search.c
+++ b/pico/search.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: search.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pico/utf8stub.c b/pico/utf8stub.c
index b1b89013..4f957f0e 100644
--- a/pico/utf8stub.c
+++ b/pico/utf8stub.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: utf8stub.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pico/window.c b/pico/window.c
index 7187e16f..0f9ac0b9 100644
--- a/pico/window.c
+++ b/pico/window.c
@@ -1,6 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: window.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
/*
* ========================================================================
* Copyright 2006 University of Washington
diff --git a/pico/word.c b/pico/word.c
index bb412b76..d1bbccdd 100644
--- a/pico/word.c
+++ b/pico/word.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: word.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/abdlc.c b/pith/abdlc.c
index f320c1c4..6be21b8e 100644
--- a/pith/abdlc.c
+++ b/pith/abdlc.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: abdlc.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2007 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2007 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/ablookup.c b/pith/ablookup.c
index fca00bfc..8444eeda 100644
--- a/pith/ablookup.c
+++ b/pith/ablookup.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: ablookup.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/addrbook.c b/pith/addrbook.c
index b52fe018..eee1526f 100644
--- a/pith/addrbook.c
+++ b/pith/addrbook.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: addrbook.c 90 2006-07-19 22:30:36Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/addrstring.c b/pith/addrstring.c
index 7eb844eb..ac325283 100644
--- a/pith/addrstring.c
+++ b/pith/addrstring.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: addrstring.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2007 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2007 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/adjtime.c b/pith/adjtime.c
index 759e8fb0..43608296 100644
--- a/pith/adjtime.c
+++ b/pith/adjtime.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: adjtime.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/adrbklib.c b/pith/adrbklib.c
index c743ae8d..5b768ee2 100644
--- a/pith/adrbklib.c
+++ b/pith/adrbklib.c
@@ -1,10 +1,6 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: adrbklib.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/* ========================================================================
- * Copyright 2006-2009 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2009 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/bldaddr.c b/pith/bldaddr.c
index 3d22f895..dc6a4cd2 100644
--- a/pith/bldaddr.c
+++ b/pith/bldaddr.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: bldaddr.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2007 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2007 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/charconv/filesys.c b/pith/charconv/filesys.c
index 3a9b5d91..e65824f1 100644
--- a/pith/charconv/filesys.c
+++ b/pith/charconv/filesys.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: filesys.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/charconv/utf8.c b/pith/charconv/utf8.c
index ee5ab852..1acc0be6 100644
--- a/pith/charconv/utf8.c
+++ b/pith/charconv/utf8.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: utf8.c 1184 2008-12-16 23:52:15Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
@@ -713,7 +709,7 @@ ucs4_to_utf8_n_cpystr(UCS *ucs4src, int retlen)
for(i = 0; ucs4src[i] && (len < retlen); i++){
oldlen = len;
writeptr = utf8_put(writeptr, (unsigned long) ucs4src[i]);
- len = strlen(ret);
+ len = strlen((char *)ret);
}
if(len > retlen){
ret[oldlen] = '\0';
diff --git a/pith/charset.c b/pith/charset.c
index a5daa3fb..9ffceb8e 100644
--- a/pith/charset.c
+++ b/pith/charset.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: charset.c 1032 2008-04-11 00:30:04Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/color.c b/pith/color.c
index 0b036529..bdb6280d 100644
--- a/pith/color.c
+++ b/pith/color.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: color.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/conf.c b/pith/conf.c
index 704c6911..b7f9b863 100644
--- a/pith/conf.c
+++ b/pith/conf.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: conf.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
@@ -5663,7 +5659,6 @@ write_pinerc(struct pine *ps, EditWhich which, int flags)
STORE_S *so = NULL;
#ifndef _WINDOWS
struct stat sbuf;
- char *slink = NULL;
#endif
#define MAXPLINESIZE 10000
@@ -8337,7 +8332,7 @@ get_supported_options(void)
AUTHENTICATOR *a;
char *title = _("Supported features in this Alpine");
char sbuf[MAX_SCREEN_COLS+1], tmp[128];
- int cnt, alcnt, len, cols, disabled, any_disabled = 0, i;
+ int cnt, alcnt, len, cols, disabled, any_disabled = 0;
/*
* Line count:
diff --git a/pith/context.c b/pith/context.c
index 3b368fef..bda1ebd4 100644
--- a/pith/context.c
+++ b/pith/context.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: context.c 1144 2008-08-14 16:53:34Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2007 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2007 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/copyaddr.c b/pith/copyaddr.c
index a89c9eca..a38882fb 100644
--- a/pith/copyaddr.c
+++ b/pith/copyaddr.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: copyaddr.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/detach.c b/pith/detach.c
index d664a112..b4ae27ba 100644
--- a/pith/detach.c
+++ b/pith/detach.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: detach.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/detoken.c b/pith/detoken.c
index 960876c8..ea814bdd 100644
--- a/pith/detoken.c
+++ b/pith/detoken.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: detoken.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/editorial.c b/pith/editorial.c
index dbbdbd0b..e523f72d 100644
--- a/pith/editorial.c
+++ b/pith/editorial.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: editorial.c 768 2007-10-24 00:10:03Z hubert@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
* Copyright 2006-2007 University of Washington
diff --git a/pith/escapes.c b/pith/escapes.c
index d6b7165a..9cd44fb3 100644
--- a/pith/escapes.c
+++ b/pith/escapes.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: escapes.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/filter.c b/pith/filter.c
index e4f72058..09f3be3c 100644
--- a/pith/filter.c
+++ b/pith/filter.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: filter.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
@@ -9059,7 +9055,7 @@ cid_tempfile_name(char *line, long n, int *is_cidp)
{
int f2 = 0;
int i, found;
- char *s, *t = NULL, *u, c;
+ char *s, *t = NULL, c;
char imgfile[1024];
char *extp = NULL;
@@ -9171,7 +9167,6 @@ gf_html_cid2file(FILTER_S *f, int cmd)
}
else if (state == 2){ /* collect all data */
if(ASCII_ISSPACE(c) || c == '>'){
- long n;
int is_cid;
if(f->n > 0){
char *s = cid_tempfile_name(f->line, f->n, &is_cid);
diff --git a/pith/flag.c b/pith/flag.c
index dab36cea..df9c2783 100644
--- a/pith/flag.c
+++ b/pith/flag.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: flag.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/folder.c b/pith/folder.c
index 8c286a42..62d7e45b 100644
--- a/pith/folder.c
+++ b/pith/folder.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: folder.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/handle.c b/pith/handle.c
index 321b14b1..01b9b4d8 100644
--- a/pith/handle.c
+++ b/pith/handle.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: handle.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/help.c b/pith/help.c
index 91907f20..be41b69b 100644
--- a/pith/help.c
+++ b/pith/help.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: help.c 900 2008-01-05 01:13:26Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2008 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2008 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/helpindx.c b/pith/helpindx.c
index e04459c4..0a8acd51 100644
--- a/pith/helpindx.c
+++ b/pith/helpindx.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: helpindx.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2007 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2007 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/hist.c b/pith/hist.c
index 24aa530c..21e184ae 100644
--- a/pith/hist.c
+++ b/pith/hist.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: hist.c 807 2007-11-09 01:21:33Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/icache.c b/pith/icache.c
index 4de55387..95d5e78d 100644
--- a/pith/icache.c
+++ b/pith/icache.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: icache.c 874 2007-12-15 02:51:06Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/imap.c b/pith/imap.c
index 7c74efaf..cde97ccf 100644
--- a/pith/imap.c
+++ b/pith/imap.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: imap.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/init.c b/pith/init.c
index 4180f45d..64822fb3 100644
--- a/pith/init.c
+++ b/pith/init.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: init.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/keyword.c b/pith/keyword.c
index 006304bf..b7874d5b 100644
--- a/pith/keyword.c
+++ b/pith/keyword.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: keyword.c 807 2007-11-09 01:21:33Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/ldap.c b/pith/ldap.c
index a091fc26..c2f2a78c 100644
--- a/pith/ldap.c
+++ b/pith/ldap.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: ldap.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/list.c b/pith/list.c
index e93ae256..f56260c0 100644
--- a/pith/list.c
+++ b/pith/list.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: list.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pith/mailcap.c b/pith/mailcap.c
index 486bd578..fac448f4 100644
--- a/pith/mailcap.c
+++ b/pith/mailcap.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: mailcap.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/mailcmd.c b/pith/mailcmd.c
index 2c2b07d9..e5e70e02 100644
--- a/pith/mailcmd.c
+++ b/pith/mailcmd.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: mailcmd.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/mailindx.c b/pith/mailindx.c
index 918b3ddb..f9a4532c 100644
--- a/pith/mailindx.c
+++ b/pith/mailindx.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: mailindx.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
* Copyright 2006-2008 University of Washington
diff --git a/pith/maillist.c b/pith/maillist.c
index c8b7f728..55445d74 100644
--- a/pith/maillist.c
+++ b/pith/maillist.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: maillist.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2007 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2007 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/mailview.c b/pith/mailview.c
index dc0c49b1..cc8edc2c 100644
--- a/pith/mailview.c
+++ b/pith/mailview.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: mailview.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2009 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2009 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/margin.c b/pith/margin.c
index d49b8801..86f669a6 100644
--- a/pith/margin.c
+++ b/pith/margin.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: margin.c 1032 2008-04-11 00:30:04Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/mimedesc.c b/pith/mimedesc.c
index 95b5712e..cd9a3a5e 100644
--- a/pith/mimedesc.c
+++ b/pith/mimedesc.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: mimedesc.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/mimetype.c b/pith/mimetype.c
index 65ca946a..63da79f8 100644
--- a/pith/mimetype.c
+++ b/pith/mimetype.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: mimetype.c 955 2008-03-06 23:52:36Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2008 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2008 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/msgno.c b/pith/msgno.c
index d4a4e7b7..6f4d6b02 100644
--- a/pith/msgno.c
+++ b/pith/msgno.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: msgno.c 854 2007-12-07 17:44:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2007 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2007 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/newmail.c b/pith/newmail.c
index ca29df89..518c112c 100644
--- a/pith/newmail.c
+++ b/pith/newmail.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: newmail.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/news.c b/pith/news.c
index c24e8014..6727b368 100644
--- a/pith/news.c
+++ b/pith/news.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: news.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2007 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2007 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/osdep/bldpath.c b/pith/osdep/bldpath.c
index 1f4ed6af..a78bda83 100644
--- a/pith/osdep/bldpath.c
+++ b/pith/osdep/bldpath.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: bldpath.c 934 2008-02-23 00:44:29Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/canaccess.c b/pith/osdep/canaccess.c
index 2b10d58a..38058310 100644
--- a/pith/osdep/canaccess.c
+++ b/pith/osdep/canaccess.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: canaccess.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/canonicl.c b/pith/osdep/canonicl.c
index bad655cf..2ba5b7b7 100644
--- a/pith/osdep/canonicl.c
+++ b/pith/osdep/canonicl.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: canonicl.c 764 2007-10-23 23:44:49Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/collate.c b/pith/osdep/collate.c
index fc631d65..1b4ed077 100644
--- a/pith/osdep/collate.c
+++ b/pith/osdep/collate.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: collate.c 766 2007-10-23 23:59:00Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/color.c b/pith/osdep/color.c
index fe65898d..0914da1c 100644
--- a/pith/osdep/color.c
+++ b/pith/osdep/color.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: color.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/coredump.c b/pith/osdep/coredump.c
index c668ffad..cec5369d 100644
--- a/pith/osdep/coredump.c
+++ b/pith/osdep/coredump.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: coredump.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/creatdir.c b/pith/osdep/creatdir.c
index 4d0f6d9b..1c3a115e 100644
--- a/pith/osdep/creatdir.c
+++ b/pith/osdep/creatdir.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: creatdir.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pith/osdep/debugtime.c b/pith/osdep/debugtime.c
index 0cd3123f..0cb04ed8 100644
--- a/pith/osdep/debugtime.c
+++ b/pith/osdep/debugtime.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: debugtime.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/domnames.c b/pith/osdep/domnames.c
index aa2d917f..d244d9f5 100644
--- a/pith/osdep/domnames.c
+++ b/pith/osdep/domnames.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: domnames.c 1176 2008-09-29 21:16:42Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/err_desc.c b/pith/osdep/err_desc.c
index 9f24720d..cf798138 100644
--- a/pith/osdep/err_desc.c
+++ b/pith/osdep/err_desc.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: err_desc.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/fgetpos.c b/pith/osdep/fgetpos.c
index ba433e95..0d84db91 100644
--- a/pith/osdep/fgetpos.c
+++ b/pith/osdep/fgetpos.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: fgetpos.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/filesize.c b/pith/osdep/filesize.c
index abb747c6..1995c566 100644
--- a/pith/osdep/filesize.c
+++ b/pith/osdep/filesize.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: filesize.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/fnexpand.c b/pith/osdep/fnexpand.c
index 8c5a52fd..4b6b42f9 100644
--- a/pith/osdep/fnexpand.c
+++ b/pith/osdep/fnexpand.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: fnexpand.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/hostname.c b/pith/osdep/hostname.c
index 3549932a..8bf08d7b 100644
--- a/pith/osdep/hostname.c
+++ b/pith/osdep/hostname.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: hostname.c 1176 2008-09-29 21:16:42Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/lstcmpnt.c b/pith/osdep/lstcmpnt.c
index a7297c5b..bcb3d1b6 100644
--- a/pith/osdep/lstcmpnt.c
+++ b/pith/osdep/lstcmpnt.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: lstcmpnt.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/pith/osdep/mimedisp.c b/pith/osdep/mimedisp.c
index 8fec4eb6..80b48c92 100644
--- a/pith/osdep/mimedisp.c
+++ b/pith/osdep/mimedisp.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: mimedisp.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2008 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2008 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/osdep/pipe.c b/pith/osdep/pipe.c
index 1e47e83f..10b050d7 100644
--- a/pith/osdep/pipe.c
+++ b/pith/osdep/pipe.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: pipe.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2008 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2008 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/osdep/pw_stuff.c b/pith/osdep/pw_stuff.c
index dfbfe3a5..73faeeb6 100644
--- a/pith/osdep/pw_stuff.c
+++ b/pith/osdep/pw_stuff.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: pw_stuff.c 763 2007-10-23 23:37:34Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/rename.c b/pith/osdep/rename.c
index 74cfbb2f..28921e07 100644
--- a/pith/osdep/rename.c
+++ b/pith/osdep/rename.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: rename.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/osdep/temp_nam.c b/pith/osdep/temp_nam.c
index 21aa0f26..ef295efe 100644
--- a/pith/osdep/temp_nam.c
+++ b/pith/osdep/temp_nam.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: temp_nam.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2008 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2008 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/osdep/tempfile.c b/pith/osdep/tempfile.c
index 1a4ab999..80445553 100644
--- a/pith/osdep/tempfile.c
+++ b/pith/osdep/tempfile.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: tempfile.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2008 University of Washington
diff --git a/pith/osdep/writ_dir.c b/pith/osdep/writ_dir.c
index 0a2cd78b..63f3f32e 100644
--- a/pith/osdep/writ_dir.c
+++ b/pith/osdep/writ_dir.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: writ_dir.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/pattern.c b/pith/pattern.c
index d5efae86..0a113fbf 100644
--- a/pith/pattern.c
+++ b/pith/pattern.c
@@ -1,6 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: pattern.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $";
-#endif
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/pipe.c b/pith/pipe.c
index 4d7e6149..601a142d 100644
--- a/pith/pipe.c
+++ b/pith/pipe.c
@@ -1,6 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: pipe.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/readfile.c b/pith/readfile.c
index 443953d4..f0bc76a9 100644
--- a/pith/readfile.c
+++ b/pith/readfile.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: readfile.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/remote.c b/pith/remote.c
index 3345e84a..e66f5eaa 100644
--- a/pith/remote.c
+++ b/pith/remote.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: remote.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/reply.c b/pith/reply.c
index deffc6fe..cc884ce3 100644
--- a/pith/reply.c
+++ b/pith/reply.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: reply.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
@@ -3701,7 +3697,6 @@ forward_multi_alt_mixed(MAILSTREAM *stream, ENVELOPE *env, struct mail_bodystruc
BODY *body = NULL, *text_body = NULL;
PART *part = NULL;
char prefix_buf[FWDTMPLEN];
- char *new_charset = NULL;
int partnum;
char *section, sect_buf[256];
int forward_raw_body = 0;
diff --git a/pith/rfc2231.c b/pith/rfc2231.c
index 29806039..c8a1834a 100644
--- a/pith/rfc2231.c
+++ b/pith/rfc2231.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: rfc2231.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/save.c b/pith/save.c
index 96a8d989..c4fccb9b 100644
--- a/pith/save.c
+++ b/pith/save.c
@@ -1,11 +1,7 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: save.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
- * Copyright 2006-2009 University of Washington
* Copyright 2013-2021 Eduardo Chappa
+ * Copyright 2006-2009 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pith/search.c b/pith/search.c
index 617f4bce..711363de 100644
--- a/pith/search.c
+++ b/pith/search.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: search.c 854 2007-12-07 17:44:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/send.c b/pith/send.c
index d026e856..e4948ab9 100644
--- a/pith/send.c
+++ b/pith/send.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: send.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/sequence.c b/pith/sequence.c
index b0e4d290..95b3eb71 100644
--- a/pith/sequence.c
+++ b/pith/sequence.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: sequence.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/smime.c b/pith/smime.c
index e6f207f9..3412670b 100644
--- a/pith/smime.c
+++ b/pith/smime.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: smime.c 1176 2008-09-29 21:16:42Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
@@ -664,7 +660,7 @@ import_certificate(WhichCerts ctype, PERSONAL_CERT *p_cert, char *fname)
if(key != NULL
|| (key = load_pkey_with_prompt(full_filename, NULL, prompt, NULL)) != NULL){
BIO *ins = NULL;
- X509 *cert = p_cert ? p_cert->cert : NULL, *cert2;
+ X509 *cert = p_cert ? p_cert->cert : NULL;
strncpy(full_name_key, full_filename, sizeof(full_filename));
full_name_key[sizeof(full_name_key)-1] = '\0';
diff --git a/pith/smkeys.c b/pith/smkeys.c
index e4402c24..2911eaf6 100644
--- a/pith/smkeys.c
+++ b/pith/smkeys.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: smkeys.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/sort.c b/pith/sort.c
index 8ac6aa25..c7fb1abf 100644
--- a/pith/sort.c
+++ b/pith/sort.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: sort.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/state.c b/pith/state.c
index 2918116a..7cf92efa 100644
--- a/pith/state.c
+++ b/pith/state.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: state.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/status.c b/pith/status.c
index b0927be3..c3f681ce 100644
--- a/pith/status.c
+++ b/pith/status.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: status.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/store.c b/pith/store.c
index 9051b8a4..73fce46f 100644
--- a/pith/store.c
+++ b/pith/store.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: store.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/stream.c b/pith/stream.c
index 16dfedd0..e73efd1d 100644
--- a/pith/stream.c
+++ b/pith/stream.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: stream.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/string.c b/pith/string.c
index fe35857c..d7f5c256 100644
--- a/pith/string.c
+++ b/pith/string.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: string.c 910 2008-01-14 22:28:38Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/strlst.c b/pith/strlst.c
index 789b045a..a7dea975 100644
--- a/pith/strlst.c
+++ b/pith/strlst.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: strlst.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/takeaddr.c b/pith/takeaddr.c
index 447a12e3..5dcef90a 100644
--- a/pith/takeaddr.c
+++ b/pith/takeaddr.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: takeaddr.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pith/tempfile.c b/pith/tempfile.c
index 96cf8256..168e46ed 100644
--- a/pith/tempfile.c
+++ b/pith/tempfile.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: tempfile.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pith/text.c b/pith/text.c
index 1d3f1d90..578e0d1b 100644
--- a/pith/text.c
+++ b/pith/text.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: text.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/thread.c b/pith/thread.c
index fedd5906..e5fb712d 100644
--- a/pith/thread.c
+++ b/pith/thread.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: thread.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/pith/url.c b/pith/url.c
index 41405b0b..e8daa270 100644
--- a/pith/url.c
+++ b/pith/url.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: url.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2006-2007 University of Washington
diff --git a/pith/util.c b/pith/util.c
index 2f097591..e95ecf1d 100644
--- a/pith/util.c
+++ b/pith/util.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: util.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
-#endif
-
/*
* ========================================================================
* Copyright 2013-2021 Eduardo Chappa
diff --git a/web/src/alpined.d/alpined.c b/web/src/alpined.d/alpined.c
index 7865863f..ad05aa9a 100644
--- a/web/src/alpined.d/alpined.c
+++ b/web/src/alpined.d/alpined.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: alpined.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2008 University of Washington
*
diff --git a/web/src/alpined.d/alpineldap.c b/web/src/alpined.d/alpineldap.c
index 4438d887..23d4f12f 100644
--- a/web/src/alpined.d/alpineldap.c
+++ b/web/src/alpined.d/alpineldap.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: alpineldap.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2007 University of Washington
*
diff --git a/web/src/alpined.d/busy.c b/web/src/alpined.d/busy.c
index 6f10fa7f..36e55f3e 100644
--- a/web/src/alpined.d/busy.c
+++ b/web/src/alpined.d/busy.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: signal.c 91 2006-07-28 19:02:07Z mikes@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2007 University of Washington
*
diff --git a/web/src/alpined.d/color.c b/web/src/alpined.d/color.c
index e8d0af86..517212f1 100644
--- a/web/src/alpined.d/color.c
+++ b/web/src/alpined.d/color.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: color.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2007 University of Washington
*
diff --git a/web/src/alpined.d/debug.c b/web/src/alpined.d/debug.c
index d3c4d2b7..c6e000ad 100644
--- a/web/src/alpined.d/debug.c
+++ b/web/src/alpined.d/debug.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: wimap.c 73 2006-06-13 16:46:59Z hubert@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2007 University of Washington
*
diff --git a/web/src/alpined.d/imap.c b/web/src/alpined.d/imap.c
index 19d1672a..a1e709d9 100644
--- a/web/src/alpined.d/imap.c
+++ b/web/src/alpined.d/imap.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: imap.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2007 University of Washington
*
diff --git a/web/src/alpined.d/ldap.c b/web/src/alpined.d/ldap.c
index 4107b375..347283fa 100644
--- a/web/src/alpined.d/ldap.c
+++ b/web/src/alpined.d/ldap.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: ldap.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2008 University of Washington
*
diff --git a/web/src/alpined.d/remote.c b/web/src/alpined.d/remote.c
index 3269a978..73d594fe 100644
--- a/web/src/alpined.d/remote.c
+++ b/web/src/alpined.d/remote.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: remote.c 101 2006-08-10 22:53:04Z mikes@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2007 University of Washington
*
diff --git a/web/src/alpined.d/signal.c b/web/src/alpined.d/signal.c
index 2f914fab..d36a6ec1 100644
--- a/web/src/alpined.d/signal.c
+++ b/web/src/alpined.d/signal.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: signal.c 91 2006-07-28 19:02:07Z mikes@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2008 University of Washington
*
diff --git a/web/src/alpined.d/status.c b/web/src/alpined.d/status.c
index 3c546d6f..c7398f02 100644
--- a/web/src/alpined.d/status.c
+++ b/web/src/alpined.d/status.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: status.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2007 University of Washington
*
diff --git a/web/src/alpined.d/stubs.c b/web/src/alpined.d/stubs.c
index c25b305e..55436216 100644
--- a/web/src/alpined.d/stubs.c
+++ b/web/src/alpined.d/stubs.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: stubs.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2007 University of Washington
*
diff --git a/web/src/alpined.d/wpcomm.c b/web/src/alpined.d/wpcomm.c
index a115a8c3..57458be5 100644
--- a/web/src/alpined.d/wpcomm.c
+++ b/web/src/alpined.d/wpcomm.c
@@ -1,7 +1,3 @@
-#if !defined(lint) && !defined(DOS)
-static char rcsid[] = "$Id: wpcomm.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
-#endif
-
/* ========================================================================
* Copyright 2006-2007 University of Washington
*