Deleted Added
full compact
diff.c (107487) diff.c (109660)
1/*
2 * Copyright (c) 1992, Brian Berliner and Jeff Polk
3 * Copyright (c) 1989-1992, Brian Berliner
4 *
5 * You may distribute under the terms of the GNU General Public License as
6 * specified in the README file that comes with the CVS source distribution.
7 *
8 * Difference
9 *
10 * Run diff against versions in the repository. Options that are specified are
11 * passed on directly to "rcsdiff".
12 *
13 * Without any file arguments, runs diff against all the currently modified
14 * files.
15 *
1/*
2 * Copyright (c) 1992, Brian Berliner and Jeff Polk
3 * Copyright (c) 1989-1992, Brian Berliner
4 *
5 * You may distribute under the terms of the GNU General Public License as
6 * specified in the README file that comes with the CVS source distribution.
7 *
8 * Difference
9 *
10 * Run diff against versions in the repository. Options that are specified are
11 * passed on directly to "rcsdiff".
12 *
13 * Without any file arguments, runs diff against all the currently modified
14 * files.
15 *
16 * $FreeBSD: head/contrib/cvs/src/diff.c 107487 2002-12-02 03:17:49Z peter $
16 * $FreeBSD: head/contrib/cvs/src/diff.c 109660 2003-01-21 22:01:38Z peter $
17 */
18
19#include "cvs.h"
20
21enum diff_file
22{
23 DIFF_ERROR,
24 DIFF_ADDED,

--- 420 unchanged lines hidden (view full) ---

445 if (diff_rev1 != NULL || diff_date1 != NULL)
446 which |= W_REPOS | W_ATTIC;
447
448 wrap_setup ();
449
450 /* start the recursion processor */
451 err = start_recursion (diff_fileproc, diff_filesdoneproc, diff_dirproc,
452 diff_dirleaveproc, NULL, argc, argv, local,
17 */
18
19#include "cvs.h"
20
21enum diff_file
22{
23 DIFF_ERROR,
24 DIFF_ADDED,

--- 420 unchanged lines hidden (view full) ---

445 if (diff_rev1 != NULL || diff_date1 != NULL)
446 which |= W_REPOS | W_ATTIC;
447
448 wrap_setup ();
449
450 /* start the recursion processor */
451 err = start_recursion (diff_fileproc, diff_filesdoneproc, diff_dirproc,
452 diff_dirleaveproc, NULL, argc, argv, local,
453 which, 0, LOCK_READ, (char *) NULL, 1);
453 which, 0, CVS_LOCK_READ, (char *) NULL, 1);
454 }
455
456 /* clean up */
457 free (options);
458 options = NULL;
459
460 if (diff_date1 != NULL)
461 free (diff_date1);

--- 617 unchanged lines hidden ---
454 }
455
456 /* clean up */
457 free (options);
458 options = NULL;
459
460 if (diff_date1 != NULL)
461 free (diff_date1);

--- 617 unchanged lines hidden ---