Explorar el Código

misc: some source code cleanup.

tags/v0.99.beta20
Sam Hocevar sam hace 10 años
padre
commit
44317430a1
Se han modificado 12 ficheros con 22 adiciones y 15 borrados
  1. +9
    -2
      bootstrap
  2. +1
    -1
      caca/attr.c
  3. +1
    -1
      caca/codec/codec.h
  4. +1
    -1
      caca/codec/import.c
  5. +1
    -1
      caca/codec/text.c
  6. +1
    -1
      caca/driver/ncurses.c
  7. +1
    -1
      caca/driver/x11.c
  8. +1
    -1
      configure.ac
  9. +1
    -1
      examples/conio.c
  10. +1
    -1
      ruby/caca-canvas.c
  11. +3
    -3
      src/cacaserver.c
  12. +1
    -1
      tools/sortchars.c

+ 9
- 2
bootstrap Ver fichero

@@ -36,14 +36,21 @@ aclocalflags="`sed -ne 's/^[ \t]*ACLOCAL_AMFLAGS[ \t]*=//p' Makefile.am 2>/dev/n

# Check for automake
amvers="no"
for v in 13 12 11 10 9 8 7 6 5; do
v=5
tries=0
while : ; do
if automake-1.${v} --version >/dev/null 2>&1; then
amvers="-1.${v}"
break
tries=0
elif automake1.${v} --version >/dev/null 2>&1; then
amvers="1.${v}"
tries=0
fi
if [ "$tries" = 20 ]; then
break
fi
v="$((v + 1))"
tries="$((tries + 1))"
done

if test "${amvers}" = "no" && automake --version > /dev/null 2>&1; then


+ 1
- 1
caca/attr.c Ver fichero

@@ -1,6 +1,6 @@
/*
* libcaca Colour ASCII-Art library
* Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
* Copyright (c) 2002-2014 Sam Hocevar <sam@hocevar.net>
* All Rights Reserved
*
* This library is free software. It comes without any warranty, to


+ 1
- 1
caca/codec/codec.h Ver fichero

@@ -1,6 +1,6 @@
/*
* libcaca Colour ASCII-Art library
* Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
* Copyright (c) 2002-2014 Sam Hocevar <sam@hocevar.net>
* 2006 Jean-Yves Lamoureux <jylam@lnxscene.org>
* All Rights Reserved
*


+ 1
- 1
caca/codec/import.c Ver fichero

@@ -1,6 +1,6 @@
/*
* libcaca Colour ASCII-Art library
* Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
* Copyright (c) 2002-2014 Sam Hocevar <sam@hocevar.net>
* All Rights Reserved
*
* This library is free software. It comes without any warranty, to


+ 1
- 1
caca/codec/text.c Ver fichero

@@ -1,6 +1,6 @@
/*
* libcaca Colour ASCII-Art library
* Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
* Copyright (c) 2002-2014 Sam Hocevar <sam@hocevar.net>
* 2006 Jean-Yves Lamoureux <jylam@lnxscene.org>
* All Rights Reserved
*


+ 1
- 1
caca/driver/ncurses.c Ver fichero

@@ -1,6 +1,6 @@
/*
* libcaca Colour ASCII-Art library
* Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
* Copyright (c) 2002-2014 Sam Hocevar <sam@hocevar.net>
* 2007 Ben Wiley Sittler <bsittler@gmail.com>
* All Rights Reserved
*


+ 1
- 1
caca/driver/x11.c Ver fichero

@@ -1,6 +1,6 @@
/*
* libcaca Colour ASCII-Art library
* Copyright (c) 2002-2012 Sam Hocevar <sam@hocevar.net>
* Copyright (c) 2002-2014 Sam Hocevar <sam@hocevar.net>
* 2007 Ben Wiley Sittler <bsittler@gmail.com>
* All Rights Reserved
*


+ 1
- 1
configure.ac Ver fichero

@@ -5,7 +5,7 @@ AC_CONFIG_AUX_DIR(.auto)
AC_CANONICAL_SYSTEM
dnl We cannot use subdir-objects because of a bug that will eg. remove
dnl ../src/.deps upon distclean when a file from ../src/ is used.
AM_INIT_AUTOMAKE([no-define tar-ustar silent-rules])
AM_INIT_AUTOMAKE([no-define tar-ustar silent-rules subdir-objects])
dnl AM_MAINTAINER_MODE
AM_DEFAULT_VERBOSITY=0



+ 1
- 1
examples/conio.c Ver fichero

@@ -16,7 +16,7 @@
*/

/*Ported to libcaca
*Copyright (c) 2009-2010 Sam Hocevar <sam@hocevar.net>
*Copyright (c) 2009-2014 Sam Hocevar <sam@hocevar.net>
*/

#include "config.h"


+ 1
- 1
ruby/caca-canvas.c Ver fichero

@@ -1,6 +1,6 @@
/*
* libcaca Ruby bindings
* Copyright (c) 2007-2012 Pascal Terjan <pterjan@linuxfr.org>
* Copyright (c) 2007-2014 Pascal Terjan <pterjan@linuxfr.org>
*
* This library is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it


+ 3
- 3
src/cacaserver.c Ver fichero

@@ -1,7 +1,7 @@
/*
* cacaserver Colour ASCII-Art library
* Copyright (c) 2006 Jean-Yves Lamoureux <jylam@lnxscene.org>
* 2006-2012 Sam Hocevar <sam@hocevar.net>
* 2006-2014 Sam Hocevar <sam@hocevar.net>
* All Rights Reserved
*
* This program is free software. It comes without any warranty, to
@@ -321,10 +321,10 @@ static void manage_connections(struct server *server)
{
server->clients = malloc(sizeof(struct client));
if(server->clients == NULL)
{
{
close(fd);
return;
}
}
}
else
{


+ 1
- 1
tools/sortchars.c Ver fichero

@@ -1,6 +1,6 @@
/*
* sortchars analyse ASCII characters
* Copyright (c) 2007-2012 Sam Hocevar <sam@hocevar.net>
* Copyright (c) 2007-2014 Sam Hocevar <sam@hocevar.net>
* All Rights Reserved
*
*


Cargando…
Cancelar
Guardar