~ubuntu-branches/ubuntu/quantal/ruby-ferret/quantal

« back to all changes in this revision

Viewing changes to ext/posh.c

  • Committer: Package Import Robot
  • Author(s): Cédric Boutillier
  • Date: 2012-06-14 23:04:48 UTC
  • mfrom: (2.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20120614230448-wd5se4ia1yz7dvms
Tags: 0.11.8.4+debian-1
* New upstream version from a new source
  + the new code fixes format security issues (Closes: #672069)
  + change homepage to https://github.com/jkraemer/ferret/
* Build for all Ruby versions (Closes: #655636)
  + change depends accordingly
  + do not set shebang of bin/ferret to ruby1.8
* Repack source to remove convenience copy of bzlib
  + build-dep on libbz2-dev
  + dversionmangle in debian/watch
  + add debian/README.source explaining how to clean the source
* debian/patches:
  + disable_load_path_manipulation.patch: do not override $LOAD_PATH
  + disable_test_causing_segfault.patch: temporarily disable a test known to
    cause segfaults
  + fix_compatibility_with_minitest.patch: fix a failing test with Ruby1.9
  + use_system_bzlib.patch: adapt the source to use system libbz2
  + fix_typos_in_source_code.patch: correct some spelling errors in the
    source code
  + block_variables_have_local_scopes.patch: fix syntax in
    bin/ferret-browser
* Override dh_auto_clean to remove test/temp when cleaning
* Bump Standards-Version to 3.9.3 (no changes needed)
* Set priority of transitional packages to extra
* Add myself to Uploaders:
* Update copyright to DEP-5 copyright-format/1.0
* Add TUTORIAL and debian/README.source to documents
* Override lintian warnings about duplicate descriptions of transitional
  packages

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
const char *
201
201
s_testEndianess( void )
202
202
{
203
 
   /* check endianess */
 
203
   /* check endianness */
204
204
   if ( s_testBigEndian() != IS_BIG_ENDIAN )
205
205
   {
206
 
      return "*ERROR: POSH compile time endianess does not match run-time endianess verification.  Please report this to poshlib@poshlib.org!\n";
 
206
      return "*ERROR: POSH compile time endianness does not match run-time endianness verification.  Please report this to poshlib@poshlib.org!\n";
207
207
   }
208
208
 
209
209
   /* make sure our endian swap routines work */
212
212
        ( NATIVE16( 0x1234 ) != 0x1234 ) ||
213
213
        ( FOREIGN16( 0x1234 ) != 0x3412 ) )
214
214
   {
215
 
      return "*ERROR: POSH endianess macro selection failed.  Please report this to poshlib@poshlib.org!\n";
 
215
      return "*ERROR: POSH endianness macro selection failed.  Please report this to poshlib@poshlib.org!\n";
216
216
   }
217
217
 
218
218
   /* test serialization routines */
245
245
                   "floating point..."POSH_FLOAT_STRING"\n"
246
246
                   "compiler........."POSH_COMPILER_STRING"\n";
247
247
 
248
 
   /* test endianess */
 
248
   /* test endianness */
249
249
   err = s_testEndianess();
250
250
 
251
251
   if ( err != 0 )