httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom May <t...@planetarytramp.net>
Subject [Patch] htpasswd doesn't add a newline to the end of an entry
Date Tue, 02 Jul 2002 17:49:29 GMT
Uh, as the title really. I guess this is a bug - it certainly isn't the old
behaviour, as far as I can tell.
Cheers,
-Thom
-- 
Thom May -> thom@planetarytramp.net

<aj> *sigh* you'd think a distribution composed of 6000
packages distributed across 13 different architectures (in various stages
between pre-alpha and release quality), maintained by 700 amateurs with often
conflicting goals who're globally distributed and have rarely met each other
-- you'd think a distribution like that would be simpler...

Index: htpasswd.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/support/htpasswd.c,v
retrieving revision 1.49
diff -u -u -r1.49 htpasswd.c
--- htpasswd.c  19 Jun 2002 17:31:19 -0000      1.49
+++ htpasswd.c  2 Jul 2002 17:51:14 -0000
@@ -236,6 +236,7 @@
     strcpy(record, user);
     strcat(record, ":");
     strcat(record, cpw);
+    strcat(record, "\n");
     return 0;
 }
 


Mime
View raw message