Hello sr,
Got the desired output of file compression, my rlog file and the output are given below.
output:- size=11
i=10
she laonr
file: ./fileio1.c,v
Working file: fileio1.c
head: 1.15
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 15; selected revisions: 15
description:
there area some syntax error
—————————-
revision 1.15
date: 2013/05/14 16:10:35; author: ritesh; state: Exp; lines: +2 -2
make j=0 for every iteration
—————————-
revision 1.14
date: 2013/05/14 16:07:31; author: ritesh; state: Exp; lines: +2 -2
decleared flag outside the for loop
—————————-
revision 1.13
date: 2013/05/14 16:01:58; author: ritesh; state: Exp; lines: +1 -1
defined masterarray in realloc
—————————-
revision 1.12
date: 2013/05/14 16:00:11; author: ritesh; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.11
date: 2013/05/14 15:51:21; author: ritesh; state: Exp; lines: +2 -2
define size,j
—————————-
revision 1.10
date: 2013/05/14 15:49:14; author: ritesh; state: Exp; lines: +32 -7
using realloc function
—————————-
revision 1.9
date: 2013/05/14 11:03:25; author: ritesh; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.8
date: 2013/05/14 11:01:04; author: ritesh; state: Exp; lines: +1 -1
decreased the size of masterarray.
—————————-
revision 1.7
date: 2013/05/14 10:58:45; author: ritesh; state: Exp; lines: +7 -3
use malloc function
—————————-
revision 1.6
date: 2013/05/14 10:13:04; author: ritesh; state: Exp; lines: +1 -1
removed syntex error.
—————————-
revision 1.5
date: 2013/05/14 10:03:52; author: ritesh; state: Exp; lines: +1 -1
forget to use the close command
—————————-
revision 1.4
date: 2013/05/14 09:59:13; author: ritesh; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.3
date: 2013/05/14 09:58:13; author: ritesh; state: Exp; lines: +15 -11
*** empty log message ***
—————————-
revision 1.2
date: 2013/05/14 09:55:31; author: ritesh; state: Exp; lines: +1 -1
syntax error
—————————-
revision 1.1
date: 2013/05/14 09:54:47; author: ritesh; state: Exp;
Initial revision