All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nft: Removed ^L characters
@ 2016-03-15  3:13 Piyush Pangtey
  2016-03-15  8:49 ` Jan Engelhardt
  0 siblings, 1 reply; 2+ messages in thread
From: Piyush Pangtey @ 2016-03-15  3:13 UTC (permalink / raw)
  To: netfilter-devel

Unnecessary line-feed characters removed.

Signed-off-by: Piyush Pangtey <gokuvsvegita@gmail.com>
---
 COPYING        |  8 ++++----
 src/mini-gmp.c | 25 ++++++-------------------
 2 files changed, 10 insertions(+), 23 deletions(-)

diff --git a/COPYING b/COPYING
index bf7f06e..b9e45a5 100644
--- a/COPYING
+++ b/COPYING
@@ -63,7 +63,7 @@ patent must be licensed for everyone's free use or not licensed at all.
 
   The precise terms and conditions for copying, distribution and
 modification follow.
-\f

+
 		    GNU GENERAL PUBLIC LICENSE
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
@@ -118,7 +118,7 @@ above, provided that you also meet all of these conditions:
     License.  (Exception: if the Program itself is interactive but
     does not normally print such an announcement, your work based on
     the Program is not required to print an announcement.)
-\f

+
 These requirements apply to the modified work as a whole.  If
 identifiable sections of that work are not derived from the Program,
 and can be reasonably considered independent and separate works in
@@ -176,7 +176,7 @@ access to copy from a designated place, then offering equivalent
 access to copy the source code from the same place counts as
 distribution of the source code, even though third parties are not
 compelled to copy the source along with the object code.
-\f

+
   4. You may not copy, modify, sublicense, or distribute the Program
 except as expressly provided under this License.  Any attempt
 otherwise to copy, modify, sublicense or distribute the Program is
@@ -233,7 +233,7 @@ impose that choice.
 
 This section is intended to make thoroughly clear what is believed to
 be a consequence of the rest of this License.
-\f

+
   8. If the distribution and/or use of the Program is restricted in
 certain countries either by patents or by copyrighted interfaces, the
 original copyright holder who places the Program under this License
diff --git a/src/mini-gmp.c b/src/mini-gmp.c
index acbe1be..1a679a0 100644
--- a/src/mini-gmp.c
+++ b/src/mini-gmp.c
@@ -50,7 +50,6 @@ see https://www.gnu.org/licenses/.  */
 
 #include "mini-gmp.h"
 
-\f

 /* Macros */
 #define GMP_LIMB_BITS (sizeof(mp_limb_t) * CHAR_BIT)
 
@@ -238,7 +237,6 @@ see https://www.gnu.org/licenses/.  */
 
 const int mp_bits_per_limb = GMP_LIMB_BITS;
 
-\f

 /* Memory allocation and other helper functions. */
 static void
 gmp_die (const char *msg)
@@ -332,7 +330,6 @@ gmp_xrealloc_limbs (mp_ptr old, mp_size_t size)
   return (*gmp_reallocate_func) (old, 0, size * sizeof (mp_limb_t));
 }
 
-\f

 /* MPN interface */
 
 void
@@ -702,7 +699,6 @@ mpn_scan0 (mp_srcptr ptr, mp_bitcnt_t bit)
 			  i, ptr, i, GMP_LIMB_MAX);
 }
 
-\f

 /* MPN division interface. */
 mp_limb_t
 mpn_invert_3by2 (mp_limb_t u1, mp_limb_t u0)
@@ -1102,7 +1098,6 @@ mpn_div_qr (mp_ptr qp, mp_ptr np, mp_size_t nn, mp_srcptr dp, mp_size_t dn)
     gmp_free (tp);
 }
 
-\f

 /* MPN base conversion. */
 static unsigned
 mpn_base_power_of_two_p (unsigned b)
@@ -1357,7 +1352,6 @@ mpn_set_str (mp_ptr rp, const unsigned char *sp, size_t sn, int base)
     }
 }
 
-\f

 /* MPZ interface */
 void
 mpz_init (mpz_t r)
@@ -1406,7 +1400,7 @@ mpz_realloc (mpz_t r, mp_size_t size)
 #define MPZ_REALLOC(z,n) ((n) > (z)->_mp_alloc			\
 			  ? mpz_realloc(z,n)			\
 			  : (z)->_mp_d)
-\f

+
 /* MPZ assignment and basic conversions. */
 void
 mpz_set_si (mpz_t r, signed long int x)
@@ -1569,7 +1563,6 @@ mpz_roinit_n (mpz_t x, mp_srcptr xp, mp_size_t xs)
   return x;
 }
 
-\f

 /* Conversions and comparison to double. */
 void
 mpz_set_d (mpz_t r, double x)
@@ -1711,7 +1704,6 @@ mpz_cmp_d (const mpz_t x, double d)
     }
 }
 
-\f

 /* MPZ comparisons and the like. */
 int
 mpz_sgn (const mpz_t u)
@@ -1819,7 +1811,6 @@ mpz_swap (mpz_t u, mpz_t v)
   MP_PTR_SWAP (u->_mp_d, v->_mp_d);
 }
 
-\f

 /* MPZ addition and subtraction */
 
 /* Adds to the absolute value. Returns new size, but doesn't store it. */
@@ -1971,7 +1962,6 @@ mpz_sub (mpz_t r, const mpz_t a, const mpz_t b)
   r->_mp_size = a->_mp_size >= 0 ? rn : - rn;
 }
 
-\f

 /* MPZ multiplication */
 void
 mpz_mul_si (mpz_t r, const mpz_t u, long int v)
@@ -2123,7 +2113,6 @@ mpz_submul (mpz_t r, const mpz_t u, const mpz_t v)
   mpz_clear (t);
 }
 
-\f

 /* MPZ division */
 enum mpz_div_round_mode { GMP_DIV_FLOOR, GMP_DIV_CEIL, GMP_DIV_TRUNC };
 
@@ -2652,7 +2641,6 @@ mpz_divisible_ui_p (const mpz_t n, unsigned long d)
   return mpz_div_qr_ui (NULL, NULL, n, d, GMP_DIV_TRUNC) == 0;
 }
 
-\f

 /* GCD */
 static mp_limb_t
 mpn_gcd_11 (mp_limb_t u, mp_limb_t v)
@@ -3046,7 +3034,6 @@ mpz_invert (mpz_t r, const mpz_t u, const mpz_t m)
   return invertible;
 }
 
-\f

 /* Higher level operations (sqrt, pow and root) */
 
 void
@@ -3326,7 +3313,7 @@ mpn_sqrtrem (mp_ptr sp, mp_ptr rp, mp_srcptr p, mp_size_t n)
   mpz_clear (r);
   return res;
 }
-\f

+
 /* Combinatorics */
 
 void
@@ -3357,7 +3344,7 @@ mpz_bin_uiui (mpz_t r, unsigned long n, unsigned long k)
   mpz_clear (t);
 }
 
-\f

+
 /* Primality testing */
 static int
 gmp_millerrabin (const mpz_t n, const mpz_t nm1, mpz_t y,
@@ -3453,7 +3440,7 @@ mpz_probab_prime_p (const mpz_t n, int reps)
   return is_prime;
 }
 
-\f

+
 /* Logical operations and bit manipulation. */
 
 /* Numbers are treated as if represented in two's complement (and
@@ -3985,7 +3972,7 @@ mpz_scan0 (const mpz_t u, mp_bitcnt_t starting_bit)
   return mpn_common_scan (limb, i, up, un, ux);
 }
 
-\f

+
 /* MPZ base conversion. */
 
 size_t
@@ -4218,7 +4205,7 @@ mpz_out_str (FILE *stream, int base, const mpz_t x)
   return len;
 }
 
-\f

+
 static int
 gmp_detect_endian (void)
 {
-- 
1.9.1


-- 

With regards,
Piyush Pangtey <gokuvsvegita@gmail.com>

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] nft: Removed ^L characters
  2016-03-15  3:13 [PATCH] nft: Removed ^L characters Piyush Pangtey
@ 2016-03-15  8:49 ` Jan Engelhardt
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Engelhardt @ 2016-03-15  8:49 UTC (permalink / raw)
  To: Piyush Pangtey; +Cc: netfilter-devel

On Tuesday 2016-03-15 04:13, Piyush Pangtey wrote:

>Unnecessary line-feed characters removed.
>
>Signed-off-by: Piyush Pangtey <gokuvsvegita@gmail.com>
>---
> COPYING        |  8 ++++----
>
>diff --git a/COPYING b/COPYING
>index bf7f06e..b9e45a5 100644
>--- a/COPYING
>+++ b/COPYING
>@@ -63,7 +63,7 @@ patent must be licensed for everyone's free use or not licensed at all.
> 
>   The precise terms and conditions for copying, distribution and
> modification follow.
>-\f

>+
> 		    GNU GENERAL PUBLIC LICENSE
>    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
> 

This is a pointless exercise. The file (files) are copied verbatim from 
upstream. For the license file, you also just disabled filesystem level 
deduplication via hardlink because its contents are now needlessy 
different from other redundant copies installed by other software.

^L has its purposes, namely it indicates where to make a page break, 
should you consider sending the file to a line printer, or opening it a 
program equal to understanding the same (like LibreOffice).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-15  8:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-15  3:13 [PATCH] nft: Removed ^L characters Piyush Pangtey
2016-03-15  8:49 ` Jan Engelhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.