~grubng-dev/grubng/tools-urlsdb

« back to all changes in this revision

Viewing changes to Files.cs

  • Committer: thindil
  • Date: 2011-06-02 09:20:50 UTC
  • Revision ID: thindil2@gmail.com-20110602092050-hdjatnl4vfru8089
fixed bug with compressing backup files

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
                                                };
122
122
                                                encoder.SetCoderProperties(propIDs, properties);
123
123
                                                encoder.WriteCoderProperties(workunit);
 
124
                                                length = file.Length;
124
125
                                                for (int i = 0; i < 8; i++)
125
126
                                                {
126
127
                                                        workunit.WriteByte((Byte)(length >> (8 * i)));