"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "fposval.c" between
calc-2.12.7.2.tar.bz2 and calc-2.12.7.6.tar.bz2

About: Calc is a C-style arbitrary precision calculator.

fposval.c  (calc-2.12.7.2.tar.bz2):fposval.c  (calc-2.12.7.6.tar.bz2)
skipping to change at line 127 skipping to change at line 127
*/ */
#if defined(HAVE_FILEPOS_SCALAR) #if defined(HAVE_FILEPOS_SCALAR)
printf("#define SWAP_HALF_IN_FILEPOS(dest, src)\t\t%s\n", printf("#define SWAP_HALF_IN_FILEPOS(dest, src)\t\t%s\n",
"(*(dest) = *(src))"); "(*(dest) = *(src))");
#else /* HAVE_FILEPOS_SCALAR */ #else /* HAVE_FILEPOS_SCALAR */
/* /*
* Normally a "(*(dest) = *(src))" would do, but on some * Normally a "(*(dest) = *(src))" would do, but on some
* systems a FILEPOS is not a scalar hince we must memcpy. * systems a FILEPOS is not a scalar hince we must memcpy.
*/ */
printf("#define SWAP_HALF_IN_FILEPOS(dest, src)\t%s\n", printf("#define SWAP_HALF_IN_FILEPOS(dest, src)\t%s\n",
"memcpy((void *)(dest), (void *)(src), sizeof(FPOS_POS_LEN))"); "\\\n\tmemcpy((void *)(dest), (void *)(src), "
"sizeof(FPOS_POS_LEN))");
#endif /* HAVE_FILEPOS_SCALAR */ #endif /* HAVE_FILEPOS_SCALAR */
#endif /* CALC_BYTE_ORDER == BIG_ENDIAN */ #endif /* CALC_BYTE_ORDER == BIG_ENDIAN */
putchar('\n'); putchar('\n');
/* /*
* print the stat file size information * print the stat file size information
*/ */
#if defined(OFF_T_BITS) #if defined(OFF_T_BITS)
stsizelen = OFF_T_BITS; stsizelen = OFF_T_BITS;
#else #else
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)