Alien-CFITSIO

 view release on metacpan or  search on metacpan

patch/cfitsio-4.6.2.patch  view on Meta::CPAN

          if (nelem < (LONGLONG)INT32_MAX) {
--- 394,400 ----
         format in a temporary buffer that has been allocated for this purpose.
      */
      if (scale == 1. && zero == 0. && 
!        CFITSIO_MACHINE == NATIVE && tcode == TLONG && LONGSIZE == 32)
      {
          writeraw = 1;
          if (nelem < (LONGLONG)INT32_MAX) {
***************
*** 1398,1404 ****
         format in a temporary buffer that has been allocated for this purpose.
      */
      if (scale == 1. && zero == 0. && 
!        MACHINE == NATIVE && tcode == TLONGLONG)
      {
          writeraw = 1;
          if (nelem < (LONGLONG)INT32_MAX/8) {
--- 1398,1404 ----
         format in a temporary buffer that has been allocated for this purpose.
      */
      if (scale == 1. && zero == 0. && 
!        CFITSIO_MACHINE == NATIVE && tcode == TLONGLONG)
      {
          writeraw = 1;
          if (nelem < (LONGLONG)INT32_MAX/8) {
diff -rc cfitsio-4.6.2.orig/putcolk.c cfitsio-4.6.2/putcolk.c
*** cfitsio-4.6.2.orig/putcolk.c	2025-03-26 14:19:36.000000000 -0400
--- cfitsio-4.6.2/putcolk.c	2025-04-22 22:20:10.900556883 -0400



( run in 1.237 second using v1.01-cache-2.11-cpan-39bf76dae61 )