httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <...@covalent.net>
Subject RE: [Patch] htpasswd doesn't add a newline to the end of an entry
Date Tue, 02 Jul 2002 19:49:25 GMT
Committed, thanks.

Ryan

----------------------------------------------
Ryan Bloom                  rbb@covalent.net
645 Howard St.              rbb@apache.org
San Francisco, CA 

> -----Original Message-----
> From: Thom May [mailto:thom@planetarytramp.net]
> Sent: Tuesday, July 02, 2002 10:49 AM
> To: HTTPD Dev List
> Subject: [Patch] htpasswd doesn't add a newline to the end of an entry
> 
> 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