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

Re: [PATCH] minor api change

From: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2003-10-28 18:24:55 CET

kfogel@collab.net wrote:
> "Russell Yanofsky" <rey4@columbia.edu> writes:
>> Log Message:
>>
>> Minor api change to allow the libsvn_subr library to be built as a
>> dll.
>>
>> * subversion/include/svn_md5.h
>> * libsvn_subr/md5.c
>> (svn_md5_empty_string_digest):
>> convert this from an extern global into a function that can be
>> exported by extractor.py
>>
>> * subversion/libsvn_fs/reps-strings.c
>> (svn_fs__get_mutable_rep, rep_contents_clear):
>> update references to svn_md5_empty_string_digest
>
> Pardon my ignorance, but what is the cause of the problem?

This is the only place in the subversion api where a global variable is
exported from a library. Windows DLLs don't support exported data very well
(they require users to prefix declarations with __declspec(dllimport)).

- Russ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 28 18:22:16 2003

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.