Fossil

Check-in [e06e65bb]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Change search_init() to be a file-scope symbol so that it does not conflict with a function of the same name in libel.so.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e06e65bbf2b7a28579128da97a582d8a5e23c3e9
User & Date: drh 2015-05-13 22:40:46.436
References
2015-05-13
21:55
rename search_init() -> fossil_search_init() to avoid name collision w/ libedit (patch sumbmitted by Warren Young)

closed -- see simpler fix @ [e06e65bbf2] ... (Closed-Leaf check-in: 947369c1 user: bch tags: trunk)

Context
2015-05-14
15:31
On the generated "repository list" page when running "fossil ui DIR", include a title and make all hyperlinks appear in a new window or tab. ... (check-in: e561cfd4 user: drh tags: trunk)
2015-05-13
22:40
Change search_init() to be a file-scope symbol so that it does not conflict with a function of the same name in libel.so. ... (check-in: e06e65bb user: drh tags: trunk)
2015-05-12
17:58
Add documentation for customizing the timeline graph. ... (check-in: 42e77333 user: joel tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/search.c.
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
    if( p!=&gSearch ) fossil_free(p);
  }
}

/*
** Compile a search pattern
*/
Search *search_init(
  const char *zPattern,       /* The search pattern */
  const char *zMarkBegin,     /* Start of a match */
  const char *zMarkEnd,       /* End of a match */
  const char *zMarkGap,       /* A gap between two matches */
  unsigned fSrchFlg           /* Flags */
){
  Search *p;







|







100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
    if( p!=&gSearch ) fossil_free(p);
  }
}

/*
** Compile a search pattern
*/
static Search *search_init(
  const char *zPattern,       /* The search pattern */
  const char *zMarkBegin,     /* Start of a match */
  const char *zMarkEnd,       /* End of a match */
  const char *zMarkGap,       /* A gap between two matches */
  unsigned fSrchFlg           /* Flags */
){
  Search *p;