Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fixed an off-by-one error affecting "fossil grep" when the final argument was left off. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f6502e8caec3e7a109dc08f78ccede03 |
User & Date: | wyoung 2018-10-04 07:13:02.396 |
Context
2018-10-04
| ||
07:36 | Avoided a crash in Fossil > Admin > Notification > Send Announcement triggered when no subscribers are set up, causing it to fail on Submit if you tell it to send the announcement to all subscribers. The check also guards against sending such things before email alerts are set up. In either case, the "Send Announcmeent" page gives an error pointing you to the docs, rather than a form that cannot be successfully submitted. ... (check-in: ea646955 user: wyoung tags: trunk) | |
07:13 | Fixed an off-by-one error affecting "fossil grep" when the final argument was left off. ... (check-in: f6502e8c user: wyoung tags: trunk) | |
06:20 | Commented out the -lm option added to Makefile.classic recently: libm doesn't exist on all platforms. ... (check-in: 729360ec user: wyoung tags: trunk) | |
Changes
Changes to src/regexp.c.
︙ | ︙ | |||
813 814 815 816 817 818 819 | Blob fullName; if( find_option("ignore-case","i",0)!=0 ) ignoreCase = 1; if( find_option("files-with-matches","l",0)!=0 ) flags |= GREP_EXISTS; if( find_option("verbose","v",0)!=0 ) bVerbose = 1; db_find_and_open_repository(0, 0); verify_all_options(); | | | 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 | Blob fullName; if( find_option("ignore-case","i",0)!=0 ) ignoreCase = 1; if( find_option("files-with-matches","l",0)!=0 ) flags |= GREP_EXISTS; if( find_option("verbose","v",0)!=0 ) bVerbose = 1; db_find_and_open_repository(0, 0); verify_all_options(); if( g.argc<4 ){ usage("REGEXP FILENAME"); } zErr = re_compile(&pRe, g.argv[2], ignoreCase); if( zErr ) fossil_fatal("%s", zErr); if( file_tree_name(g.argv[3], &fullName, 0, 0) ){ int fnid = db_int(0, "SELECT fnid FROM filename WHERE name=%Q", |
︙ | ︙ |