From 3889fc11af15b5dd60394640962ac5b5bd3b1459 Mon Sep 17 00:00:00 2001 From: Matt Ullman Date: Wed, 23 Mar 2016 20:07:21 -0400 Subject: [PATCH 1/2] authd: Change str_isnumber() to bool --- authd/getaddrinfo.c | 8 ++++---- authd/getaddrinfo.h | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/authd/getaddrinfo.c b/authd/getaddrinfo.c index f7642875..e1c7ba6c 100644 --- a/authd/getaddrinfo.c +++ b/authd/getaddrinfo.c @@ -94,7 +94,7 @@ static const struct explore explore[] = { #define PTON_MAX 16 -static int str_isnumber(const char *); +static bool str_isnumber(const char *); static int explore_null(const struct rb_addrinfo *, const char *, struct rb_addrinfo **); static int explore_numeric(const struct rb_addrinfo *, const char *, @@ -183,7 +183,7 @@ rb_freeaddrinfo(struct rb_addrinfo *ai) } while (ai); } -static int +static bool str_isnumber(const char *p) { char *ep; @@ -194,9 +194,9 @@ str_isnumber(const char *p) errno = 0; (void)strtoul(p, &ep, 10); if (errno == 0 && ep && *ep == '\0') - return YES; + return true; else - return NO; + return false; } int diff --git a/authd/getaddrinfo.h b/authd/getaddrinfo.h index 746db142..290abd53 100644 --- a/authd/getaddrinfo.h +++ b/authd/getaddrinfo.h @@ -94,8 +94,6 @@ void rb_freeaddrinfo(struct rb_addrinfo *ai); #define SUCCESS 0 #define ANY 0 -#define YES 1 -#define NO 0 #undef EAI_ADDRFAMILY #undef EAI_AGAIN From c056dba2330c08a4b71bf0586750f6ff77e2a49d Mon Sep 17 00:00:00 2001 From: Matt Ullman Date: Wed, 23 Mar 2016 20:10:44 -0400 Subject: [PATCH 2/2] Remove the rest of the SVN id tags --- authd/getaddrinfo.c | 6 ++---- authd/getaddrinfo.h | 1 - authd/getnameinfo.c | 2 -- authd/getnameinfo.h | 1 - librb/acinclude.m4 | 19 +++++++++---------- librb/include/commio-int.h | 1 - librb/include/commio-ssl.h | 1 - librb/include/event-int.h | 1 - librb/include/rb_balloc.h | 1 - librb/include/rb_commio.h | 1 - librb/include/rb_event.h | 1 - librb/include/rb_helper.h | 1 - librb/include/rb_linebuf.h | 1 - librb/include/rb_memory.h | 1 - librb/include/rb_patricia.h | 1 - librb/include/rb_rawbuf.h | 1 - librb/include/rb_tools.h | 1 - librb/src/Makefile.am | 1 - librb/src/arc4random.c | 1 - librb/src/balloc.c | 1 - librb/src/commio.c | 2 +- librb/src/devpoll.c | 2 +- librb/src/epoll.c | 2 +- librb/src/event.c | 1 - librb/src/gnutls.c | 1 - librb/src/helper.c | 2 +- librb/src/kqueue.c | 1 - librb/src/linebuf.c | 1 - librb/src/mbedtls.c | 1 - librb/src/nossl.c | 1 - librb/src/openssl.c | 1 - librb/src/patricia.c | 1 - librb/src/poll.c | 1 - librb/src/ports.c | 1 - librb/src/rawbuf.c | 1 - librb/src/rb_lib.c | 1 - librb/src/rb_memory.c | 1 - librb/src/select.c | 2 +- librb/src/sigio.c | 1 - librb/src/tools.c | 2 +- librb/src/unix.c | 2 +- librb/src/version.c.SH | 5 ++--- librb/src/win32.c | 1 - 43 files changed, 20 insertions(+), 58 deletions(-) diff --git a/authd/getaddrinfo.c b/authd/getaddrinfo.c index e1c7ba6c..e0524b35 100644 --- a/authd/getaddrinfo.c +++ b/authd/getaddrinfo.c @@ -31,8 +31,6 @@ #include #include "getaddrinfo.h" -/* $Id$ */ - static const char in_addrany[] = { 0, 0, 0, 0 }; static const char in_loopback[] = { 127, 0, 0, 1 }; static const char in6_addrany[] = { @@ -497,7 +495,7 @@ get_ai(const struct rb_addrinfo *pai, const struct afd *afd, const char *addr) { char *p; struct rb_addrinfo *ai; - + ai = (struct rb_addrinfo *)rb_malloc(sizeof(struct rb_addrinfo) + (afd->a_socklen)); if (ai == NULL) @@ -517,7 +515,7 @@ static int get_portmatch(const struct rb_addrinfo *ai, const char *servname) { struct rb_addrinfo xai; - memcpy(&xai, ai, sizeof(struct rb_addrinfo)); + memcpy(&xai, ai, sizeof(struct rb_addrinfo)); return(get_port(&xai, servname, 1)); } diff --git a/authd/getaddrinfo.h b/authd/getaddrinfo.h index 290abd53..9916629b 100644 --- a/authd/getaddrinfo.h +++ b/authd/getaddrinfo.h @@ -26,7 +26,6 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ */ struct rb_addrinfo { diff --git a/authd/getnameinfo.c b/authd/getnameinfo.c index f34fffcf..39e296af 100644 --- a/authd/getnameinfo.c +++ b/authd/getnameinfo.c @@ -46,8 +46,6 @@ #include "getaddrinfo.h" #include "getnameinfo.h" -/* $Id$ */ - static const struct afd { int a_af; int a_addrlen; diff --git a/authd/getnameinfo.h b/authd/getnameinfo.h index 26b965ab..d7a919a4 100644 --- a/authd/getnameinfo.h +++ b/authd/getnameinfo.h @@ -26,7 +26,6 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ */ int rb_getnameinfo(const struct sockaddr *sa, rb_socklen_t salen, char *host, diff --git a/librb/acinclude.m4 b/librb/acinclude.m4 index e0474339..eaa270e0 100644 --- a/librb/acinclude.m4 +++ b/librb/acinclude.m4 @@ -1,4 +1,3 @@ -# $Id: acinclude.m4 23020 2006-09-01 18:20:19Z androsyn $ - aclocal.m4 - Autoconf fun... AC_DEFUN([AC_DEFINE_DIR], [ test "x$prefix" = xNONE && prefix="$ac_default_prefix" test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' @@ -34,7 +33,7 @@ AC_DEFUN([AC_SUBST_DIR], [ dnl IPv6 support macros..pretty much swiped from wget dnl RB_PROTO_INET6 - + AC_DEFUN([RB_PROTO_INET6],[ AC_CACHE_CHECK([for INET6 protocol support], [rb_cv_proto_inet6],[ AC_TRY_CPP([ @@ -57,14 +56,14 @@ AC_DEFUN([RB_PROTO_INET6],[ ],[ rb_cv_proto_inet6=no ]) - ]) + ]) if test "X$rb_cv_proto_inet6" = "Xyes"; then : $1 else : - $2 - fi -]) + $2 + fi +]) AC_DEFUN([RB_TYPE_STRUCT_SOCKADDR_IN6],[ @@ -93,7 +92,7 @@ AC_DEFUN([RB_TYPE_STRUCT_SOCKADDR_IN6],[ AC_DEFUN([RB_CHECK_TIMER_CREATE], - [AC_CACHE_CHECK([for a working timer_create(CLOCK_REALTIME)], + [AC_CACHE_CHECK([for a working timer_create(CLOCK_REALTIME)], [rb__cv_timer_create_works], [AC_TRY_RUN([ #ifdef HAVE_TIME_H @@ -126,7 +125,7 @@ int main(int argc, char *argv[]) [rb__cv_timer_create_works=no]) ]) case $rb__cv_timer_create_works in - yes) AC_DEFINE([USE_TIMER_CREATE], 1, + yes) AC_DEFINE([USE_TIMER_CREATE], 1, [Define to 1 if we can use timer_create(CLOCK_REALTIME,...)]);; esac ]) @@ -134,7 +133,7 @@ esac AC_DEFUN([RB_CHECK_TIMERFD_CREATE], - [AC_CACHE_CHECK([for a working timerfd_create(CLOCK_REALTIME)], + [AC_CACHE_CHECK([for a working timerfd_create(CLOCK_REALTIME)], [rb__cv_timerfd_create_works], [AC_TRY_RUN([ #ifdef HAVE_TIME_H @@ -166,7 +165,7 @@ int main(int argc, char *argv[]) [rb__cv_timerfd_create_works=no]) ]) case $rb__cv_timerfd_create_works in - yes) AC_DEFINE([USE_TIMERFD_CREATE], 1, + yes) AC_DEFINE([USE_TIMERFD_CREATE], 1, [Define to 1 if we can use timerfd_create(CLOCK_REALTIME,...)]);; esac ]) diff --git a/librb/include/commio-int.h b/librb/include/commio-int.h index 6a4bfb87..da2833a4 100644 --- a/librb/include/commio-int.h +++ b/librb/include/commio-int.h @@ -21,7 +21,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: commio.h 24059 2007-07-24 17:25:41Z androsyn $ */ #ifndef _COMMIO_INT_H diff --git a/librb/include/commio-ssl.h b/librb/include/commio-ssl.h index 6e2bd69f..adcce1ae 100644 --- a/librb/include/commio-ssl.h +++ b/librb/include/commio-ssl.h @@ -19,7 +19,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: commio-ssl.h 26280 2008-12-10 20:25:29Z androsyn $ */ #ifndef _COMMIO_SSL_H diff --git a/librb/include/event-int.h b/librb/include/event-int.h index 993a78d0..4cabd316 100644 --- a/librb/include/event-int.h +++ b/librb/include/event-int.h @@ -20,7 +20,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: event-int.h 26272 2008-12-10 05:55:10Z androsyn $ */ struct ev_entry diff --git a/librb/include/rb_balloc.h b/librb/include/rb_balloc.h index 7ca7857d..ff665200 100644 --- a/librb/include/rb_balloc.h +++ b/librb/include/rb_balloc.h @@ -21,7 +21,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: rb_balloc.h 26092 2008-09-19 15:13:52Z androsyn $ */ #ifndef RB_LIB_H diff --git a/librb/include/rb_commio.h b/librb/include/rb_commio.h index 09317ce9..f51e04b1 100644 --- a/librb/include/rb_commio.h +++ b/librb/include/rb_commio.h @@ -21,7 +21,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: rb_commio.h 26092 2008-09-19 15:13:52Z androsyn $ */ #ifndef RB_LIB_H diff --git a/librb/include/rb_event.h b/librb/include/rb_event.h index 61b6efae..84d9d172 100644 --- a/librb/include/rb_event.h +++ b/librb/include/rb_event.h @@ -21,7 +21,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: rb_event.h 26092 2008-09-19 15:13:52Z androsyn $ */ #ifndef RB_LIB_H diff --git a/librb/include/rb_helper.h b/librb/include/rb_helper.h index 3287e8d9..0b4a9086 100644 --- a/librb/include/rb_helper.h +++ b/librb/include/rb_helper.h @@ -19,7 +19,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: rb_helper.h 26092 2008-09-19 15:13:52Z androsyn $ */ #ifndef RB_LIB_H diff --git a/librb/include/rb_linebuf.h b/librb/include/rb_linebuf.h index b1d8c847..d0e0b988 100644 --- a/librb/include/rb_linebuf.h +++ b/librb/include/rb_linebuf.h @@ -21,7 +21,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: rb_linebuf.h 26092 2008-09-19 15:13:52Z androsyn $ */ #ifndef RB_LIB_H diff --git a/librb/include/rb_memory.h b/librb/include/rb_memory.h index d4dd6f0c..1bc7af09 100644 --- a/librb/include/rb_memory.h +++ b/librb/include/rb_memory.h @@ -21,7 +21,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: rb_memory.h 26092 2008-09-19 15:13:52Z androsyn $ */ #ifndef RB_LIB_H diff --git a/librb/include/rb_patricia.h b/librb/include/rb_patricia.h index 6ea803a9..6f2753af 100644 --- a/librb/include/rb_patricia.h +++ b/librb/include/rb_patricia.h @@ -1,5 +1,4 @@ /* - * $Id: patricia.h 23020 2006-09-01 18:20:19Z androsyn $ * Dave Plonka * * This product includes software developed by the University of Michigan, diff --git a/librb/include/rb_rawbuf.h b/librb/include/rb_rawbuf.h index 523a17b1..91242e82 100644 --- a/librb/include/rb_rawbuf.h +++ b/librb/include/rb_rawbuf.h @@ -20,7 +20,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id$ */ #ifndef RB_LIB_H diff --git a/librb/include/rb_tools.h b/librb/include/rb_tools.h index 31edb9f1..c60a483c 100644 --- a/librb/include/rb_tools.h +++ b/librb/include/rb_tools.h @@ -21,7 +21,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: rb_tools.h 26170 2008-10-26 20:59:07Z androsyn $ */ #ifndef RB_LIB_H diff --git a/librb/src/Makefile.am b/librb/src/Makefile.am index 7e1acd69..cd13ff69 100644 --- a/librb/src/Makefile.am +++ b/librb/src/Makefile.am @@ -1,4 +1,3 @@ -# $Id: Makefile.am 26046 2008-09-09 16:37:30Z androsyn $ AUTOMAKE_OPTIONS = foreign diff --git a/librb/src/arc4random.c b/librb/src/arc4random.c index f65bab1b..f6f53c76 100644 --- a/librb/src/arc4random.c +++ b/librb/src/arc4random.c @@ -1,4 +1,3 @@ -/* $Id: arc4random.c 26092 2008-09-19 15:13:52Z androsyn $ */ /* $$$: arc4random.c 2005/02/08 robert */ /* $NetBSD: arc4random.c,v 1.5.2.1 2004/03/26 22:52:50 jmc Exp $ */ /* $OpenBSD: arc4random.c,v 1.6 2001/06/05 05:05:38 pvalchev Exp $ */ diff --git a/librb/src/balloc.c b/librb/src/balloc.c index b7b03644..71b36cab 100644 --- a/librb/src/balloc.c +++ b/librb/src/balloc.c @@ -28,7 +28,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: balloc.c 26100 2008-09-20 01:27:19Z androsyn $ */ /* diff --git a/librb/src/commio.c b/librb/src/commio.c index 1029d1ca..9fe8689c 100644 --- a/librb/src/commio.c +++ b/librb/src/commio.c @@ -21,8 +21,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: commio.c 26254 2008-12-10 04:04:38Z androsyn $ */ + #include #include #include diff --git a/librb/src/devpoll.c b/librb/src/devpoll.c index 2e99c092..06d34ec0 100644 --- a/librb/src/devpoll.c +++ b/librb/src/devpoll.c @@ -22,8 +22,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: devpoll.c 26254 2008-12-10 04:04:38Z androsyn $ */ + #include #include #include diff --git a/librb/src/epoll.c b/librb/src/epoll.c index ac7c6be5..1d4d6272 100644 --- a/librb/src/epoll.c +++ b/librb/src/epoll.c @@ -23,8 +23,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: epoll.c 26294 2008-12-13 03:01:19Z androsyn $ */ + #define _GNU_SOURCE 1 #include diff --git a/librb/src/event.c b/librb/src/event.c index 1e124830..cdf41474 100644 --- a/librb/src/event.c +++ b/librb/src/event.c @@ -39,7 +39,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: event.c 26272 2008-12-10 05:55:10Z androsyn $ */ #include diff --git a/librb/src/gnutls.c b/librb/src/gnutls.c index 3bd65f80..4038dc3d 100644 --- a/librb/src/gnutls.c +++ b/librb/src/gnutls.c @@ -20,7 +20,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: gnutls.c 26296 2008-12-13 03:36:00Z androsyn $ */ #include diff --git a/librb/src/helper.c b/librb/src/helper.c index 0e653dea..a8dabf3d 100644 --- a/librb/src/helper.c +++ b/librb/src/helper.c @@ -19,8 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: helper.c 26092 2008-09-19 15:13:52Z androsyn $ */ + #include #include #include diff --git a/librb/src/kqueue.c b/librb/src/kqueue.c index 7ab9cd72..98e286b7 100644 --- a/librb/src/kqueue.c +++ b/librb/src/kqueue.c @@ -22,7 +22,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: kqueue.c 26092 2008-09-19 15:13:52Z androsyn $ */ #include diff --git a/librb/src/linebuf.c b/librb/src/linebuf.c index 51c97cd9..f14d4a98 100644 --- a/librb/src/linebuf.c +++ b/librb/src/linebuf.c @@ -21,7 +21,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: linebuf.c 26092 2008-09-19 15:13:52Z androsyn $ */ #include diff --git a/librb/src/mbedtls.c b/librb/src/mbedtls.c index a31b12e8..0cf4330e 100644 --- a/librb/src/mbedtls.c +++ b/librb/src/mbedtls.c @@ -21,7 +21,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id$ */ #include diff --git a/librb/src/nossl.c b/librb/src/nossl.c index 4cc9a06e..e97843b9 100644 --- a/librb/src/nossl.c +++ b/librb/src/nossl.c @@ -20,7 +20,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: commio.c 24808 2008-01-02 08:17:05Z androsyn $ */ diff --git a/librb/src/openssl.c b/librb/src/openssl.c index eea76c6f..a8d998c4 100644 --- a/librb/src/openssl.c +++ b/librb/src/openssl.c @@ -20,7 +20,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: commio.c 24808 2008-01-02 08:17:05Z androsyn $ */ #include diff --git a/librb/src/patricia.c b/librb/src/patricia.c index 88f22077..9db07138 100644 --- a/librb/src/patricia.c +++ b/librb/src/patricia.c @@ -4,7 +4,6 @@ * This was then yanked out of the ratbox/devel/src tree and stuffed into * librb and had function names changed, but otherwise not really altered. * - * $Id: patricia.c 24244 2007-08-22 19:04:55Z androsyn $ * Dave Plonka * * This product includes software developed by the University of Michigan, diff --git a/librb/src/poll.c b/librb/src/poll.c index f53851b5..0356776c 100644 --- a/librb/src/poll.c +++ b/librb/src/poll.c @@ -22,7 +22,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: poll.c 26092 2008-09-19 15:13:52Z androsyn $ */ #include #include diff --git a/librb/src/ports.c b/librb/src/ports.c index 2963aef0..1527a915 100644 --- a/librb/src/ports.c +++ b/librb/src/ports.c @@ -23,7 +23,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: ports.c 26286 2008-12-10 23:28:53Z androsyn $ */ #include diff --git a/librb/src/rawbuf.c b/librb/src/rawbuf.c index 29b06fbf..4e83270b 100644 --- a/librb/src/rawbuf.c +++ b/librb/src/rawbuf.c @@ -20,7 +20,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id$ */ #include #include diff --git a/librb/src/rb_lib.c b/librb/src/rb_lib.c index 54fe3bf5..041200f9 100644 --- a/librb/src/rb_lib.c +++ b/librb/src/rb_lib.c @@ -20,7 +20,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: rb_lib.c 26282 2008-12-10 20:33:21Z androsyn $ */ #include diff --git a/librb/src/rb_memory.c b/librb/src/rb_memory.c index 3caa06ca..32b2689a 100644 --- a/librb/src/rb_memory.c +++ b/librb/src/rb_memory.c @@ -21,7 +21,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: rb_memory.c 26092 2008-09-19 15:13:52Z androsyn $ */ #include #include diff --git a/librb/src/select.c b/librb/src/select.c index 6425e49d..61d464a4 100644 --- a/librb/src/select.c +++ b/librb/src/select.c @@ -22,8 +22,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: select.c 26092 2008-09-19 15:13:52Z androsyn $ */ + #define FD_SETSIZE 65535 #include #include diff --git a/librb/src/sigio.c b/librb/src/sigio.c index b847d0b0..d5faa171 100644 --- a/librb/src/sigio.c +++ b/librb/src/sigio.c @@ -23,7 +23,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: sigio.c 26092 2008-09-19 15:13:52Z androsyn $ */ #ifndef _GNU_SOURCE diff --git a/librb/src/tools.c b/librb/src/tools.c index 03dd632e..b42fdbaa 100644 --- a/librb/src/tools.c +++ b/librb/src/tools.c @@ -20,7 +20,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: tools.c 26170 2008-10-26 20:59:07Z androsyn $ * * Here is the original header: * @@ -32,6 +31,7 @@ * defined, tools.h will build inlined versions of the functions * on supported compilers */ + #define _GNU_SOURCE 1 #include #include diff --git a/librb/src/unix.c b/librb/src/unix.c index d1ae702e..521f5329 100644 --- a/librb/src/unix.c +++ b/librb/src/unix.c @@ -21,8 +21,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * USA * - * $Id: unix.c 26180 2008-11-11 00:00:12Z androsyn $ */ + #include #include diff --git a/librb/src/version.c.SH b/librb/src/version.c.SH index 6d0bf442..22cb63f2 100644 --- a/librb/src/version.c.SH +++ b/librb/src/version.c.SH @@ -1,6 +1,5 @@ #!/bin/sh -# $Id: version.c.SH 24870 2008-01-10 16:51:01Z androsyn $ spitshell=cat package=librb @@ -21,7 +20,7 @@ $spitshell >version.c <