[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Fix format of strlen() data in the new transactionless reporter.

From: Ben Reser <ben_at_reser.org>
Date: 2004-02-29 20:00:45 CET

strlen returns size_t which can be a long on some platforms. So using
%d as the format is wrong. Use APR_SIZE_T_FMT instead. On all
platforms apr_size_t is just a size_t so the format should be correct.

* subversion/libsvn_repos/reporter.c
  (write_path_info): Use the correct format for the size_t returned from


Ben Reser <ben@reser.org>
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sun Feb 29 19:59:55 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.