/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/_patiencediff_c.c

  • Committer: John Arbash Meinel
  • Date: 2011-04-20 12:27:33 UTC
  • mfrom: (4379.5.7 faster-dirstate-save)
  • mto: This revision was merged to the branch mainline in revision 5836.
  • Revision ID: john@arbash-meinel.com-20110420122733-xh83w1u6nadvf637
Merge Ian's work on faster dirstate operations (not writing out new dirstate for uninteresting changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
 
48
48
 
49
49
/* malloc returns NULL on some platforms if you try to allocate nothing,
50
 
 * causing <https://bugs.edge.launchpad.net/bzr/+bug/511267> and
51
 
 * <https://bugs.edge.launchpad.net/bzr/+bug/331095>.  On glibc it passes, but
 
50
 * causing <https://bugs.launchpad.net/bzr/+bug/511267> and
 
51
 * <https://bugs.launchpad.net/bzr/+bug/331095>.  On glibc it passes, but
52
52
 * let's make it fail to aid testing. */
53
53
#define guarded_malloc(x) ( (x) ? malloc(x) : NULL )
54
54