~ubuntu-branches/ubuntu/wily/ruby-ferret/wily-proposed

« back to all changes in this revision

Viewing changes to ext/ferret.c

  • Committer: Package Import Robot
  • Author(s): Antonio Terceiro
  • Date: 2015-07-14 18:35:31 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20150714183531-364jc4pemywyi4cz
Tags: 0.11.8.6-1
* New upstream release
  - ported to ruby2.2
* debian/copyright: add Files-Excluded to remove embedded copy of bzlib
* debian/rules: stop removing embedded copy fo bzlib which won't exist
  anymore (Closes: #743909)

Show diffs side-by-side

added added

removed removed

Lines of Context:
245
245
    char buf[FRT_BUF_SIZ];
246
246
    size_t so_far = 0;
247
247
#ifdef FRT_HAS_VARARGS
248
 
    snprintf(buf, FRT_BUF_SIZ, "%s occured at <%s>:%d in %s\n",
 
248
    snprintf(buf, FRT_BUF_SIZ, "%s occurred at <%s>:%d in %s\n",
249
249
            err_type, file, line_num, func);
250
250
#else
251
 
    snprintf(buf, FRT_BUF_SIZ, "%s occured:\n", err_type);
 
251
    snprintf(buf, FRT_BUF_SIZ, "%s occurred:\n", err_type);
252
252
#endif
253
253
    so_far = strlen(buf);
254
254
    vsnprintf(buf + so_far, FRT_BUF_SIZ - so_far, fmt, args);