Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Commit

Permalink
release to 1.0.15
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//depot/fIcy/main/": change = 1067]
  • Loading branch information
wavexx committed Nov 9, 2005
1 parent fd0f75e commit d4c1bc5
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 3 deletions.
9 changes: 9 additions & 0 deletions NEWS
@@ -1,3 +1,12 @@
fIcy 1.0.15: Wed Nov 09 CET 2005

* Relaxed redirection checks.

* Exit with success after recording time is elapsed.

* Some code cleanup.


fIcy 1.0.14: Thu Sep 01 CEST 2005

* Basic HTTP authentication support was implemented (-a).
Expand Down
2 changes: 1 addition & 1 deletion fIcy.hh
Expand Up @@ -11,7 +11,7 @@
#include <locale>

// some defines
#define FICY_VERSION "1.0.14"
#define FICY_VERSION "1.0.15"


// some constants
Expand Down
53 changes: 53 additions & 0 deletions gendist
@@ -0,0 +1,53 @@
#!/bin/sh
# generate, tests and submits a fIcy beta distribution

# basic data
VERSION="$1"
DATE="`date '+%Y%m%d'`"
CATALOG="
Makefile AUTHORS COPYING NEWS README TODO FAQ
copy.cc copy.hh fIcy.cc fIcy.hh fResync.cc hdrparse.cc hdrparse.hh
http.cc http.hh icy.cc icy.hh match.cc match.hh mpeg.cc mpeg.hh
msg.cc msg.hh resolver.cc resolver.hh sanitize.cc sanitize.hh
socket.cc socket.hh urlencode.cc urlencode.hh urlparse.cc urlparse.hh
fPls.cc plsparse.hh plsparse.cc rewrite.hh rewrite.cc base64.cc
base64.hh tmparse.cc tmparse.hh htfollow.cc htfollow.hh
authparse.cc authparse.hh
"


# trap errors
set -e


# suffix and version
SUFFIX="${VERSION:-$DATE}"
CHECK="${VERSION:-beta}"
DIST="fIcy-`echo \"$SUFFIX\" | tr . _`"

# check ancillary files
echo "1: checking files"
grep -q "FICY_VERSION.*$CHECK\"" fIcy.hh


# creating distribution
echo "2: creating distribution"
mkdir "$DIST"
cp -p $CATALOG "$DIST"
tar cf - "$DIST" | gzip -9 > "$DIST.tar.gz"
rm -rf "$DIST"


# check
echo "3: checking distribution"
gzip -dc "$DIST.tar.gz" | tar xf -
cd "$DIST"
pmake || make
test -x fIcy -a -x fResync -a -x fPls
cd ..
rm -rf "$DIST"


# ok
echo "= generated $DIST:"
gzip -dc "$DIST.tar.gz" | tar tvf -
2 changes: 1 addition & 1 deletion match.cc
@@ -1,6 +1,6 @@
/*
* match - match/filter a string according regex rules - implementation
* Copyright(c) 2004 of wave++ (Yuri D'Elia)
* Copyright(c) 2004-2005 of wave++ (Yuri D'Elia)
* Distributed under GNU LGPL without ANY warranty.
*/

Expand Down
2 changes: 1 addition & 1 deletion socket.cc
Expand Up @@ -150,7 +150,7 @@ Socket::gets(char* buffer, const size_t lenght,
size_t
Socket::write(const char* buffer, const size_t lenght)
{
ssize_t b(::send(fd, buffer, lenght, 0));
ssize_t b = ::send(fd, buffer, lenght, 0);
if(b == -1)
throw std::runtime_error(strerror(errno));

Expand Down

0 comments on commit d4c1bc5

Please sign in to comment.