httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/dav/fs repos.c
Date Wed, 14 Mar 2001 02:32:03 GMT
trawick     01/03/13 18:32:03

  Modified:    modules/dav/fs repos.c
  Log:
  fix a sprintf() format string; use APR_OFF_T_FMT for apr_off_t as %ld
  doesn't work everywhere (e.g., FreeBSD)
  
  Revision  Changes    Path
  1.53      +1 -1      httpd-2.0/modules/dav/fs/repos.c
  
  Index: repos.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/dav/fs/repos.c,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- repos.c	2001/02/23 10:15:08	1.52
  +++ repos.c	2001/03/14 02:32:03	1.53
  @@ -1775,7 +1775,7 @@
   	if (resource->collection)
   	    return DAV_PROP_INSERT_NOTDEF;
   
  -	(void) sprintf(buf, "%ld", resource->info->finfo.size);
  +	(void) sprintf(buf, "%" APR_OFF_T_FMT, resource->info->finfo.size);
   	value = buf;
   	break;
   
  
  
  

Mime
View raw message