httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@apache.org>
Subject Re: cvs commit: httpd-test/specweb99/specweb99-2.0 mod_specweb99.c
Date Tue, 14 Jan 2003 15:39:32 GMT
gregames@apache.org wrote:

>   --- mod_specweb99.c	31 Oct 2002 19:39:04 -0000	1.16
>   +++ mod_specweb99.c	14 Jan 2003 15:02:00 -0000	1.17
>   @@ -765,8 +765,9 @@
>    
>    	line = apr_psprintf(r->pool, "%10d\n", 0);
>    
>   -	if (apr_file_write_full(f, line, strlen(line), NULL) != APR_SUCCESS) {
>   -	    ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
>   +        rv = apr_file_write_full(f, line, strlen(line), NULL);
>   +        if (rv != APR_SUCCESS) {
>   +            ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
>    			 "Could not write to post.log '%s'", _my->log_path);

Does anyone have a perl script etc. to automatically convert all leading tabs to 
n blanks?  I was thinking of manually de-tabifying in the vicinity of this fix, 
but it would be better to do the whole thing if I can get my hands on such a tool.

Greg


Mime
View raw message