Am 19.11.2013 18:36, schrieb Heiko Hund:
> Get the temporary path from the system as UCS-2 and convert it to
> UTF-8 and return that for internal use.
> 
> Signed-off-by: Heiko Hund <heiko.h...@sophos.com>


> +      msg (M_WARN, "Could not find a suitable temporary directory."
> +          " (GetTempPath() failed).  Consider to use --tmp-dir");
> +      return NULL;
> +    }
> +
> +  if (WideCharToMultiByte (CP_UTF8, 0, wtmpdir, -1, NULL, 0, NULL, NULL) > 
> sizeof (tmpdir))
> +    {
> +      msg (M_WARN, "Could not get temporary directory. Path is too long."
> +          "  Consider to use --tmp-dir");

I think when touching the code, we ought to change all occurrences to
"Consider using --tmp-dir".

Native speakers or linguists correct me, but since most usage references
I found were "consider + object" (object often a noun), the -ing form
would have to be used here.

The closest I found is on
<http://www.merriam-webster.com/dictionary/consider> which has "He
seriously considered changing careers." (under Examples), among lots of
"consider + noun" patterns.


Reply via email to