Attachment Details
Not logged in
Overview

Artifact ID: f585b563353bd19a62719e19af6efd029739d608
Ticket: a659e233cd79a0d4ecfe4d382c942ca0a59f32ed
Date: 2011-04-24 15:46:48
User: anonymous
Artifact Attached: bf4cb6e1969914ac37280042eba5bb50b1f80d6f
Filename:freebsd-patch-checkin.c
Description:Move Glob declaration to make it compile on FreeBSD
Content Appended
     1  checkout:     8ae917362c692d816c1f94f5d72e31deb0d77a4e 2011-04-15 11:57:02 UTC
     2  Index: src/checkin.c
     3  ===================================================================
     4  --- src/checkin.c
     5  +++ src/checkin.c
     6  @@ -276,14 +276,14 @@
     7     int dotfilesFlag;
     8     const char *zIgnoreFlag;
     9     Blob path, repo;
    10     Stmt q;
    11     int n;
    12  +  Glob *pIgnore;
    13     allFlag = find_option("force","f",0)!=0;
    14     dotfilesFlag = find_option("dotfiles",0,0)!=0;
    15     zIgnoreFlag = find_option("ignore",0,1);
    16  -  Glob *pIgnore;
    17   
    18     db_must_be_within_tree();
    19     if( zIgnoreFlag==0 ){
    20       zIgnoreFlag = db_get("ignore-glob", 0);
    21     }
    22