-# Makefile for Sherlock Build Tools
+# Makefile for LibUCW Build Tools
DIRS+=build
/*
- * Sherlock Library -- Charset Conversion Wrapper for Fast Buffered I/O
+ * UCW Library -- Charset Conversion Wrapper for Fast Buffered I/O
*
* (c) 2003--2005 Martin Mares <mj@ucw.cz>
*
/*
- * Sherlock Library -- Charset Conversion Wrapper for Fast Buffered I/O
+ * UCW Library -- Charset Conversion Wrapper for Fast Buffered I/O
*
* (c) 2003--2005 Martin Mares <mj@ucw.cz>
*
/*
- * Sherlock Library -- Character Conversion with Allocation on a Memory Pool
+ * UCW Library -- Character Conversion with Allocation on a Memory Pool
*
* (c) 2006 Pavel Charvat <pchar@ucw.cz>
*
/*
- * Sherlock Library -- Character Conversion with Allocation on a Memory Pool
+ * UCW Library -- Character Conversion with Allocation on a Memory Pool
*
* (c) 2006 Pavel Charvat <pchar@ucw.cz>
*
/*
- * Sherlock Library -- Character Conversion with Allocation on the Stack
+ * UCW Library -- Character Conversion with Allocation on the Stack
*
* (c) 2006 Pavel Charvat <pchar@ucw.cz>
*
/*
- * Sherlock Library -- Character Conversion with Allocation on the Stack
+ * UCW Library -- Character Conversion with Allocation on the Stack
*
* (c) 2006 Pavel Charvat <pchar@ucw.cz>
*
They are distributed under the GNU LGPL.
All files are exact copies of the original distribution with very
-few exceptions commented with `// SHERLOCK' prefix.
+few exceptions commented with `// UCW' prefix.
I only provided my own getopt-sh.c, getopt-sh.h and Makefile.
Pavel Charvat, 2007
#if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2
# include <gnu-versions.h>
# if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION
-//# define ELIDE_CODE // SHERLOCK: disabled
+//# define ELIDE_CODE // UCW: disabled
# endif
#endif
#ifdef _LIBC
# include <libintl.h>
#else
-//# include "gettext.h" // SHERLOCK: replaced by <libintl.h>
+//# include "gettext.h" // UCW: replaced by <libintl.h>
# include <libintl.h>
# define _(msgid) gettext (msgid)
#endif
#if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2
#include <gnu-versions.h>
#if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION
-//#define ELIDE_CODE // SHERLOCK: disabled
+//#define ELIDE_CODE // UCW: disabled
#endif
#endif
MANIFEST
Fcntllock.pm
Fcntllock.xs
-lib/Sherlock/.exists
+lib/UCW/.exists
-# Perl module for parsing Sherlock configuration files (using the config utility)
+# Perl module for parsing LibUCW configuration files (using the ucw-config utility)
#
# (c) 2002--2005 Martin Mares <mj@ucw.cz>
#
MANIFEST
Ulimit.pm
Ulimit.xs
-lib/Sherlock/.exists
+lib/UCW/.exists
#!/bin/bash
-# An utility for tuning the Sherlock's radix sorter
+# An utility for tuning the LibUCW radix sorter
# (c) 2007 Martin Mares <mj@ucw.cz>
set -e
UCW_PROGNAME="$0"
. lib/libucw.sh
-# Path to Sherlock build directory
+# Path to LibUCW build directory
[ -n "$BUILD" ] || BUILD=..
-[ -f "$BUILD/ucw/sorter/sorter.h" ] || die "BUILD does not point to Sherlock build directory"
+[ -f "$BUILD/ucw/sorter/sorter.h" ] || die "BUILD does not point to LibUCW build directory"
# Find out sort buffer size
parse-config 'Sorter{##SortBuffer}'
#!/bin/bash
-# An utility for tuning the Sherlock's radix sorter threshold
+# An utility for tuning the LibUCW radix sorter threshold
# (c) 2007 Martin Mares <mj@ucw.cz>
set -e
UCW_PROGNAME="$0"
. lib/libucw.sh
-# Path to Sherlock build directory
+# Path to LibUCW build directory
[ -n "$BUILD" ] || BUILD=..
-[ -f "$BUILD/ucw/sorter/sorter.h" ] || die "BUILD does not point to Sherlock build directory"
+[ -f "$BUILD/ucw/sorter/sorter.h" ] || die "BUILD does not point to LibUCW build directory"
# Find out sort buffer size
parse-config 'Sorter{##SortBuffer}'
log "Detected sort buffer size $SORTBUF"
# Find out radix-sorter width
-[ -f "$BUILD/obj/config.mk" ] || die "Sherlock source not configured"
+[ -f "$BUILD/obj/config.mk" ] || die "LibUCW source not configured"
WIDTH=`sed <$BUILD/obj/config.mk 's/^CONFIG_UCW_RADIX_SORTER_BITS=\(.*\)/\1/;t;d'`
[ -n "$WIDTH" ] || die "CONFIG_UCW_RADIX_SORTER_BITS not set (!?)"
log "Detected radix-sorter width $WIDTH"
#!/usr/bin/perl
-# Rotate Sherlock logs
+# LibUCW Utilities -- Rotate logs
# (c) 2001--2002 Martin Mares <mj@ucw.cz>
use File::stat;
/*
- * Sherlock Utilities -- URL Handling Tool
+ * LibUCW Utilities -- URL Handling Tool
*
* (c) 2004 Martin Mares <mj@ucw.cz>
*/
/*
- * Sherlock Library -- A simple XML parser
+ * UCW Library -- A simple XML parser
*
* (c) 2007 Pavel Charvat <pchar@ucw.cz>
*
/*
- * Sherlock Library -- A simple XML parser
+ * UCW Library -- A simple XML parser
*
* (c) 2007--2008 Pavel Charvat <pchar@ucw.cz>
*
/*
- * Sherlock Library -- A simple XML parser
+ * UCW Library -- A simple XML parser
*
* (c) 2007--2008 Pavel Charvat <pchar@ucw.cz>
*
* of the GNU Lesser General Public License.
*/
-#ifndef _SHERLOCK_XML_DTD_H
-#define _SHERLOCK_XML_DTD_H
+#ifndef _UCW_XML_DTD_H
+#define _UCW_XML_DTD_H
#include <xml/xml.h>
/*
- * Sherlock Library -- A simple XML parser
+ * UCW Library -- A simple XML parser
*
* (c) 2007--2008 Pavel Charvat <pchar@ucw.cz>
*
* of the GNU Lesser General Public License.
*/
-#ifndef _SHERLOCK_XML_INTERNALS_H
-#define _SHERLOCK_XML_INTERNALS_H
+#ifndef _UCW_XML_INTERNALS_H
+#define _UCW_XML_INTERNALS_H
#include <xml/xml.h>
#include <xml/dtd.h>
/*
- * Sherlock Library -- A simple XML parser
+ * UCW Library -- A simple XML parser
*
* (c) 2007--2008 Pavel Charvat <pchar@ucw.cz>
*
/*
- * Sherlock Library -- A simple XML parser
+ * UCW Library -- A simple XML parser
*
* (c) 2007--2008 Pavel Charvat <pchar@ucw.cz>
*
/*
- * Sherlock Library -- A simple XML parser
+ * UCW Library -- A simple XML parser
*
* (c) 2007--2008 Pavel Charvat <pchar@ucw.cz>
*
/*
- * Sherlock Library -- A simple XML parser
+ * UCW Library -- A simple XML parser
*
* (c) 2007--2008 Pavel Charvat <pchar@ucw.cz>
*
* of the GNU Lesser General Public License.
*/
-#ifndef _SHERLOCK_XML_XML_H
-#define _SHERLOCK_XML_XML_H
+#ifndef _UCW_XML_XML_H
+#define _UCW_XML_XML_H
#include <ucw/clists.h>
#include <ucw/slists.h>