aboutsummaryrefslogtreecommitdiffstats
path: root/news/tin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1999-04-10 21:43:53 +0800
committerache <ache@FreeBSD.org>1999-04-10 21:43:53 +0800
commit85089c7a631bb29fe2593cbeddbb9900cc285a3e (patch)
tree15d8ac4e6fa749be1e406ebbea3b645e2bf947ee /news/tin
parent64b16b5683aa5d2bc9ce18ef892f6315471d95a1 (diff)
downloadfreebsd-ports-gnome-85089c7a631bb29fe2593cbeddbb9900cc285a3e.tar.gz
freebsd-ports-gnome-85089c7a631bb29fe2593cbeddbb9900cc285a3e.tar.zst
freebsd-ports-gnome-85089c7a631bb29fe2593cbeddbb9900cc285a3e.zip
don't include realname from passwd to Sender field, can contain illegal chars
Diffstat (limited to 'news/tin')
-rw-r--r--news/tin/files/patch-ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/news/tin/files/patch-ac b/news/tin/files/patch-ac
new file mode 100644
index 000000000000..55509a63ecf2
--- /dev/null
+++ b/news/tin/files/patch-ac
@@ -0,0 +1,15 @@
+--- src/header.c.bak Mon Jan 25 16:49:49 1999
++++ src/header.c Sat Apr 10 17:30:31 1999
+@@ -338,10 +338,10 @@
+ static char sender[8192];
+
+ sender[0] = '\0';
+-
++#if 0 /* passwd name may contain illegal chars */
+ if ((ptr = get_full_name()))
+ sprintf(sender, "%s ", ptr);
+-
++#endif
+ if ((ptr = get_user_name())) {
+ strcat(sender, "<");
+ strcat(sender, ptr);