lib/trim.c


Log

Author Commit Date CI Message
Paul Eggert 51e801f2 2012-01-05T23:53:49 In commentary, do not use ` to quote.
Jim Meyering 1602f0af 2012-01-01T10:04:58 maint: update all copyright year number ranges Run "make update-copyright".
Jim Meyering 44019e14 2011-05-29T23:15:36 trim: remove three superfluous assignments * lib/trim.c (trim2): Remove three superfluous assignments and correct brace positioning.
Jim Meyering 24490680 2011-05-28T16:00:20 trim: avoid a warning from -O2 -Wstrict-overflow * lib/trim.c (trim2): Declare local to be "unsigned int", not "int".
Jim Meyering d60f3b0c 2011-01-01T20:17:23 maint: update almost all copyright ranges to include 2011 Run the new "make update-copyright" rule.
Bruno Haible aeb898d8 2010-03-25T07:48:14 Minor formatting changes.
Jim Meyering b2e2010c 2010-01-01T10:31:12 update nearly all FSF copyright year lists to include 2010 Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
Jim Meyering 3030c5b5 2009-12-28T10:50:36 update nearly all FSF copyright year lists to include 2009 The files named by the following are exempted: grep -v '^#' config/srclist.txt|grep -v '^$' \ | while read src dst; do test -f "$dst" && { echo "$dst"; continue; } test -d "$dst" || continue echo "$dst"/$(basename "$src") done > exempt git ls-files tests/unictype >> exempt In the remaining files, convert to all-interval notation if - there is already at least one year interval like 2000-2003 - the file is maintained by me - the file is in lib/uni*/, where that style already prevails Otherwise, use update-copyright's default.
Bruno Haible 441aa304 2009-12-10T20:28:30 Use spaces for indentation, not tabs.
Bruno Haible 4eda4ba5 2008-12-22T12:11:44 Remove HAVE_MBRTOWC conditionals. Use mbrtowc unconditionally.
Bruno Haible f19c2f15 2008-05-20T00:16:32 Remove trailing spaces.
Jim Meyering cfc551f7 2008-05-19T18:10:38 avoid a warning from gcc * lib/trim.c (IF_LINT): Define. (trim2): Use it to void a "may be used uninitialized" warning.
Bruno Haible da7ca7f1 2008-04-16T03:26:46 Fix use of isspace() function.
Bruno Haible 457a1aa1 2008-04-12T00:24:39 Fix compilation error with IRIX 6.5 cc.
Bruno Haible cb22a9e1 2007-10-18T12:57:57 Fix various issues with the 'trim' module.
Bruno Haible 57fdfd3f 2007-10-07T19:14:58 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible 0631ee73 2006-09-05T12:32:42 New 'trim' module, from Davide Angelocola <davide.angelocola@tiscali.it>.