diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2000-06-08 11:25:05 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2000-06-08 11:25:05 +0000 |
commit | a2d92aa4d36553d9c1f759c101b7cd56e2e976f0 (patch) | |
tree | cc69134bae0eee636155c799b41f7b23a8e52940 /mail | |
parent | 3b7efb698c675b88adaf071f1300ff80727df994 (diff) | |
download | pkgsrc-a2d92aa4d36553d9c1f759c101b7cd56e2e976f0.tar.gz |
This patch is no longer needed (has been integrated into elm).
Thanks to Thomas Klausner for pointing out
Diffstat (limited to 'mail')
-rw-r--r-- | mail/elm/patches/patch-ae | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/mail/elm/patches/patch-ae b/mail/elm/patches/patch-ae deleted file mode 100644 index 16d8ebfd410..00000000000 --- a/mail/elm/patches/patch-ae +++ /dev/null @@ -1,35 +0,0 @@ -$NetBSD: patch-ae,v 1.1 2000/05/02 17:11:49 kim Exp $ - ---- lib/gcos_name.c.orig Mon Mar 15 01:32:34 1999 -+++ lib/gcos_name.c Tue May 2 13:03:14 2000 -@@ -26,20 +26,26 @@ - - static char fullname[SLEN]; - register char *fncp, *gcoscp, *lncp, *end; -+ int first; - - - /* full name is all chars up to first ',' (or whole gcos, if no ',') */ -- /* replace any & with logname in upper case */ -+ /* replace any & with logname capitalized */ - - for(fncp = fullname, gcoscp= gcos_field, end = fullname + sizeof fullname - 1; - (*gcoscp != ',' && *gcoscp != '\0' && fncp < end); - gcoscp++) { - - if(*gcoscp == '&') { -- for(lncp = logname; * -- lncp && fncp < end; -+ first = 1; -+ for(lncp = logname; -+ *lncp && fncp < end; - fncp++, lncp++) -- *fncp = toupper(*lncp); -+ if (first) { -+ first = 0; -+ *fncp = toupper(*lncp); -+ } else -+ *fncp = *lncp; - } else { - *fncp++ = *gcoscp; - } |