Skip to content

Commit

Permalink
fix receiving files from last position after abort, not from begin.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepan Pologov committed Jun 8, 2004
1 parent 5b55f11 commit 81ec7cc
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 12 deletions.
13 changes: 13 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
2004-06-07 22:50 sisoft

* Changes, Makefile.am, README, autogen.sh, configure.in,
qico.spec, debian/Makefile.am, debian/changelog, src/Makefile.am,
src/binkp.c, src/daemon.c, src/log.c, src/main.c, src/perl.c,
src/qconf.x, stuff/test.pl, stuff/freebsd/Makefile:

change version to 0.55si.
release 0.54si (cvs tag - stbl54).
add 'make deb' target for make debian packages.
begin write perl support code.
add configure option --enable-perl and keyword 'perlfile'.

2004-06-05 10:49 sisoft

* Changes, qico.conf.sample, src/aso.c, src/config.c, src/daemon.c,
Expand Down
4 changes: 3 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Version 0.55si
Version 0.54si
~~~~~~~~~~~~~~
- ���������� ������.
- bugfix: �� �������� ������� ������.
- ��� �� CVS: stbl54.

Version 0.53si
Expand Down Expand Up @@ -41,6 +42,7 @@ Version 0.53si
- bugfix: qcc ������� ����������� ��������� ������� ���������.
- bugfix: ������� `h' � qcc ������� �������� � ������� ������ 255.
- bugfix: �� binkp ����� ������ �� ������������������ � �� ���������������.
- ��� �� CVS: qico53

Version 0.52si
~~~~~~~~~~~~~~
Expand Down Expand Up @@ -383,4 +385,4 @@ Version 0.49.8
~~~~~~~~~~~~~~
truncated.

/* $Id: Changes,v 1.60 2004/06/07 18:50:51 sisoft Exp $ */
/* $Id: Changes,v 1.61 2004/06/08 11:11:44 sisoft Exp $ */
12 changes: 5 additions & 7 deletions TodayFixes
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
/* $Id: TodayFixes,v 1.79 2004/06/07 18:50:51 sisoft Exp $ */
/* $Id: TodayFixes,v 1.80 2004/06/08 11:11:44 sisoft Exp $ */
---
fix receiving files from last position after abort, not from begin.
.
previous:
---
change version to 0.55si.
release 0.54si (cvs tag - stbl54).
add 'make deb' target for make debian packages.
begin write perl support code.
add configure option --enable-perl and keyword 'perlfile'.
.
previous:
---
fix sending *.req if ASO used.
add if-expressions 'mailer' and 'exec'.
other small changes.
.
2 changes: 1 addition & 1 deletion qico.conf.sample
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###############################################################################
######################## qico configuration file ############################
###############################################################################
#for 0.53si $Id: qico.conf.sample,v 1.37 2004/06/05 06:49:13 sisoft Exp $
#for 0.55si $Id: qico.conf.sample,v 1.38 2004/06/08 11:11:44 sisoft Exp $
#
# config structure:
# ~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion src/cvsdate.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
char cvsdate[]="2004-06-07 22:47";
char cvsdate[]="2004-06-08 15:08";
4 changes: 2 additions & 2 deletions src/protfm.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/******************************************************************
* common protocols' file management
* $Id: protfm.c,v 1.23 2004/06/05 06:49:13 sisoft Exp $
* $Id: protfm.c,v 1.24 2004/06/08 11:11:45 sisoft Exp $
******************************************************************/
#include "headers.h"
#ifdef HAVE_UTIME_H
Expand Down Expand Up @@ -118,7 +118,7 @@ int rxopen(char *name, time_t rtime, size_t rsize, FILE **f)
snprintf(p, MAX_PATH, "%s/tmp/%s", ccs, bn);

if(!stat(p, &sb)) {
if(sb.st_size<rsize && sb.st_mtime==rtime) {
if(sb.st_size<rsize && sb.st_mtime==recvf.mtime) {
*f=fopen(p, "ab");
if(!*f) {
write_log("can't open file %s for writing: %s", p,strerror(errno));
Expand Down
1 change: 1 addition & 0 deletions stuff/test.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# test and info perl script for qicosi.
# $Id: test.pl,v 1.2 2004/06/08 11:11:46 sisoft Exp $

# available qico functions:
# sub wlog(string): write string to log.
Expand Down

0 comments on commit 81ec7cc

Please sign in to comment.