1) Rebased to 1.24.4

2) Reverted to stock zmdc.pl.in and zmwatch.pl.in because the bugs are fixed
3) Updated configure and Makefile files
This commit is contained in:
Kfir Itzhak committed 2012-02-01 07:33:20 +02:00
1 parent eeaed7ccd3
commit 2fd6e99ec5
4 files changed
+4 -11056

No files matched your search

Vendored
-11047
View File
File diff suppressed because it is too large. Load diff
-3
View File
@@ -128,9 +128,6 @@ foreach my $arg ( @ARGV )
}
}
# Create the directory first if it doesn't exist
mkdir(ZM_PATH_SOCKS);
socket( CLIENT, PF_UNIX, SOCK_STREAM, 0 ) or Fatal( "Can't open socket: $!" );
my $saddr = sockaddr_un( SOCK_FILE );
+3 -5
View File
@@ -87,7 +87,6 @@ while( 1 )
{
# Check we have got an image recently
my $image_time = zmGetLastWriteTime( $monitor );
zmMemInvalidate( $monitor );
next if ( !defined($image_time) ); # Can't read from shared data
next if ( !$image_time ); # We can't get the last capture time so can't be sure it's died.
@@ -96,9 +95,9 @@ while( 1 )
Debug( "Monitor $monitor->{Id} last captured $image_delay seconds ago, max is $max_image_delay\n" );
if ( $image_delay > $max_image_delay )
{
Info( "Restarting capture daemon for ".$monitor->{Name}.", time since last capture $image_delay seconds ($now-$image_time)\n" );
$restart = 1;
}
Info( "Restarting capture daemon for ".$monitor->{Name}.", time since last capture $image_delay seconds ($now-$image_time)\n" );
$restart = 1;
}
}
else
{
@@ -125,7 +124,6 @@ while( 1 )
{
# Check we have got an image recently
my $image_time = zmGetLastReadTime( $monitor );
zmMemInvalidate( $monitor );
next if ( !defined($image_time) ); # Can't read from shared data
next if ( !$image_time ); # We can't get the last capture time so can't be sure it's died.
+1 -1
View File
@@ -242,7 +242,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = gnu
AM_CPPFLAGS = @MYSQL_CFLAGS@ @FFMPEG_CFLAGS@ -Wall -Wno-sign-compare -fno-inline
AM_CPPFLAGS = @MYSQL_CFLAGS@ @FFMPEG_CFLAGS@ -Wall -Wno-sign-compare -finline-functions
#AM_CXXFLAGS = -frepo
CLEANFILES = *.rpo