[nco] 04/05: Add patch to fix spelling errors.

Bas Couwenberg sebastic at debian.org
Sun Aug 7 11:00:51 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository nco.

commit 77734e338ddce58d40681c114c5b01743546940c
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Aug 7 12:51:08 2016 +0200

    Add patch to fix spelling errors.
---
 debian/changelog                     |  1 +
 debian/patches/series                |  1 +
 debian/patches/spelling-errors.patch | 28 ++++++++++++++++++++++++++++
 3 files changed, 30 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e894cb3..8313133 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 nco (4.6.1-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Add patch to fix spelling errors.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 07 Aug 2016 12:37:32 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..38edaa7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling-errors.patch
diff --git a/debian/patches/spelling-errors.patch b/debian/patches/spelling-errors.patch
new file mode 100644
index 0000000..0bf58f9
--- /dev/null
+++ b/debian/patches/spelling-errors.patch
@@ -0,0 +1,28 @@
+Description: Fix spelling errors.
+ rquested    -> requested
+ specifiying -> specifying
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/nco/nco/pull/26
+
+--- a/src/nco++/fmc_gsl_cls.cc
++++ b/src/nco++/fmc_gsl_cls.cc
+@@ -2887,7 +2887,7 @@ var_sct *gsl_cls::hnd_fnc_uerx(bool& is_
+           if( ui64p[idx]>INT_MAX ) {
+ 	    // bomb out if necessary  
+             ostringstream os; 
+-            os<<"Possible integer overflow. You have rquested the generation of integers up to the value of " <<ui64p[idx]<<" .This is greater than "<<INT_MAX<<" - the maximum value that can be stored in the netcdf datatype NC_INT. Consider using another random number generator e.g., ran0,fishman18 or knuthran. Consult the GSL manual for details. Alternatively recompile nco for netcdf4 and set the compile flag NCO_TYP_GSL_UINT=NC_UINT\n"; 
++            os<<"Possible integer overflow. You have requested the generation of integers up to the value of " <<ui64p[idx]<<" .This is greater than "<<INT_MAX<<" - the maximum value that can be stored in the netcdf datatype NC_INT. Consider using another random number generator e.g., ran0,fishman18 or knuthran. Consult the GSL manual for details. Alternatively recompile nco for netcdf4 and set the compile flag NCO_TYP_GSL_UINT=NC_UINT\n"; 
+             err_prn(sfnm,os.str());
+           }
+           
+--- a/src/nco/nco_omp.c
++++ b/src/nco/nco_omp.c
+@@ -77,7 +77,7 @@ nco_openmp_ini /* [fnc] Initialize OpenM
+ 
+   if(thr_nbr == 0)
+     if(nco_dbg_lvl_get() >= nco_dbg_scl && nco_dbg_lvl_get() != nco_dbg_dev )
+-      (void)fprintf(fp_stderr,"%s: INFO User did not specify thread request > 0 on command line. NCO will automatically assign threads based on OMP_NUM_THREADS environment and machine capabilities.\nHINT: Not specifiying any --thr_nbr (or specifying --thr_nbr=0) causes NCO to try to pick the optimal thread number. Specifying --thr_nbr=1 tells NCO to execute in Uni-Processor (UP) (i.e., single-threaded) mode.\n",nco_prg_nm_get());
++      (void)fprintf(fp_stderr,"%s: INFO User did not specify thread request > 0 on command line. NCO will automatically assign threads based on OMP_NUM_THREADS environment and machine capabilities.\nHINT: Not specifying any --thr_nbr (or specifying --thr_nbr=0) causes NCO to try to pick the optimal thread number. Specifying --thr_nbr=1 tells NCO to execute in Uni-Processor (UP) (i.e., single-threaded) mode.\n",nco_prg_nm_get());
+ 
+   if(thr_nbr > 0) USR_SPC_THR_RQS=True;
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/nco.git



More information about the Pkg-grass-devel mailing list