Changeset 4876


Ignore:
Timestamp:
May 16, 2014, 6:48:56 PM (6 years ago)
Author:
Sam Hocevar
Message:

misc: some source code cleanup.

Location:
libcaca/trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/bootstrap

    r4859 r4876  
    3737# Check for automake
    3838amvers="no"
    39 for v in 13 12 11 10 9 8 7 6 5; do
     39v=5
     40tries=0
     41while : ; do
    4042  if automake-1.${v} --version >/dev/null 2>&1; then
    4143    amvers="-1.${v}"
    42     break
     44    tries=0
    4345  elif automake1.${v} --version >/dev/null 2>&1; then
    4446    amvers="1.${v}"
     47    tries=0
     48  fi
     49  if [ "$tries" = 20 ]; then
    4550    break
    4651  fi
     52  v="$((v + 1))"
     53  tries="$((tries + 1))"
    4754done
    4855
  • libcaca/trunk/caca/attr.c

    r4867 r4876  
    11/*
    22 *  libcaca       Colour ASCII-Art library
    3  *  Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
     3 *  Copyright (c) 2002-2014 Sam Hocevar <sam@hocevar.net>
    44 *                All Rights Reserved
    55 *
  • libcaca/trunk/caca/codec/codec.h

    r4865 r4876  
    11/*
    22 *  libcaca       Colour ASCII-Art library
    3  *  Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
     3 *  Copyright (c) 2002-2014 Sam Hocevar <sam@hocevar.net>
    44 *                2006 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
  • libcaca/trunk/caca/codec/import.c

    r4865 r4876  
    11/*
    22 *  libcaca       Colour ASCII-Art library
    3  *  Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
     3 *  Copyright (c) 2002-2014 Sam Hocevar <sam@hocevar.net>
    44 *                All Rights Reserved
    55 *
  • libcaca/trunk/caca/codec/text.c

    r4864 r4876  
    11/*
    22 *  libcaca       Colour ASCII-Art library
    3  *  Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
     3 *  Copyright (c) 2002-2014 Sam Hocevar <sam@hocevar.net>
    44 *                2006 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                All Rights Reserved
  • libcaca/trunk/caca/driver/ncurses.c

    r4863 r4876  
    11/*
    22 *  libcaca       Colour ASCII-Art library
    3  *  Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
     3 *  Copyright (c) 2002-2014 Sam Hocevar <sam@hocevar.net>
    44 *                2007 Ben Wiley Sittler <bsittler@gmail.com>
    55 *                All Rights Reserved
  • libcaca/trunk/caca/driver/x11.c

    r4862 r4876  
    11/*
    22 *  libcaca       Colour ASCII-Art library
    3  *  Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
     3 *  Copyright (c) 2002-2014 Sam Hocevar <sam@hocevar.net>
    44 *                2007 Ben Wiley Sittler <bsittler@gmail.com>
    55 *                All Rights Reserved
  • libcaca/trunk/configure.ac

    r4859 r4876  
    66dnl  We cannot use subdir-objects because of a bug that will eg. remove
    77dnl  ../src/.deps upon distclean when a file from ../src/ is used.
    8 AM_INIT_AUTOMAKE([no-define tar-ustar silent-rules])
     8AM_INIT_AUTOMAKE([no-define tar-ustar silent-rules subdir-objects])
    99dnl AM_MAINTAINER_MODE
    1010AM_DEFAULT_VERBOSITY=0
  • libcaca/trunk/examples/conio.c

    r4871 r4876  
    1717
    1818/*Ported to libcaca
    19  *Copyright (c) 2009-2010 Sam Hocevar <sam@hocevar.net>
     19 *Copyright (c) 2009-2014 Sam Hocevar <sam@hocevar.net>
    2020*/
    2121
  • libcaca/trunk/ruby/caca-canvas.c

    r4872 r4876  
    11/*
    22 *  libcaca Ruby bindings
    3  *  Copyright (c) 2007-2012 Pascal Terjan <pterjan@linuxfr.org>
     3 *  Copyright (c) 2007-2014 Pascal Terjan <pterjan@linuxfr.org>
    44 *
    55 *  This library is free software. It comes without any warranty, to
  • libcaca/trunk/src/cacaserver.c

    r4869 r4876  
    22 *  cacaserver    Colour ASCII-Art library
    33 *  Copyright (c) 2006 Jean-Yves Lamoureux <jylam@lnxscene.org>
    4  *                2006-2012 Sam Hocevar <sam@hocevar.net>
     4 *                2006-2014 Sam Hocevar <sam@hocevar.net>
    55 *                All Rights Reserved
    66 *
     
    322322        server->clients = malloc(sizeof(struct client));
    323323        if(server->clients == NULL)
    324         {
     324        {
    325325            close(fd);
    326326            return;
    327         }
     327        }
    328328    }
    329329    else
  • libcaca/trunk/tools/sortchars.c

    r4870 r4876  
    11/*
    22 *  sortchars     analyse ASCII characters
    3  *  Copyright (c) 2007-2012 Sam Hocevar <sam@hocevar.net>
     3 *  Copyright (c) 2007-2014 Sam Hocevar <sam@hocevar.net>
    44 *                All Rights Reserved
    55 *
Note: See TracChangeset for help on using the changeset viewer.