Thursday, May 22, 2008

Patch Utils

Utilities to work with patches are patchutils. The utilities are :
  1. combinediff : create a single patch from two incremental patches
  2. filterdiff : filters or excludes diffs from a diff file
  3. fixcvsdiff : fixes the diff files created by cvs that patch misinterprets
  4. grepdiff : shows which files are modified by a patch matching a regex
  5. interdiff :shows differences between two unified diff files
  6. lsdiff :shows which files are modified by a particular patch
  7. rediff : fixes offsets and counts of a handedited diff
  8. splitdiff : seperates out two incremental patches

Wednesday, May 21, 2008

CVSps

CVSps is a program for generating patchset information from the cvs repository. Patchset is a list of changes made to a set of files for a single cvs commit command. This gives the bigger picture of evolution of a cvs project.

History of committed patch sets can be viewed in terms of author, date of commit, files affected , branches affected.

There can be a diff taken for a particular patchset. It is equivalent to tagging before and after each commit

Tuesday, May 13, 2008

Big Endian and Little Endian

In Big Endian system the most significant value is stored first in memory i.e in the lower order memory address.

In Little Endian system the least significant value is stored first i.e in the lower order memory address.

It occurs at byte level and can also extend to bit level within each byte.

Wednesday, May 7, 2008

Shared Memory Concept

In Hardware :
A single RAM is shared by many CPU's in a multi processing environment.


In Software :
Shared Memory in software is a method of interprocess communication. This is a method of exchanging data between different processes. One process will create an area in RAM which other processes can access.Both the processes can access the same memory in the same way as they access regular memory, it is faster.