diff options
author | Lehua Ding <lehua.ding@rivai.ai> | 2023-07-18 18:08:47 +0800 |
---|---|---|
committer | Lehua Ding <lehua.ding@rivai.ai> | 2023-08-29 09:36:52 +0800 |
commit | ebffc840f50112196d0d55a384a2c29b08964319 (patch) | |
tree | c4c31177aded05bf43cdd83da583126e7b0e8350 /contrib/unused_functions.py | |
parent | 88ae53a3852dac73fdecb9cfcee2c5100cee832f (diff) | |
download | gcc-ebffc840f50112196d0d55a384a2c29b08964319.zip gcc-ebffc840f50112196d0d55a384a2c29b08964319.tar.gz gcc-ebffc840f50112196d0d55a384a2c29b08964319.tar.bz2 |
mklog: fix bugs of --append option
This little patch fix two bugs of mklog.py with --append option.
The first bug is that the regexp used is not accurate enough to
determine the top of diff area. The second bug is that if `---`
is not a true start, it needs to be added back to the patch file.
And with additional fix Python code format error, which Martin reported.
contrib/ChangeLog:
* mklog.py: Fix bugs.
Diffstat (limited to 'contrib/unused_functions.py')
0 files changed, 0 insertions, 0 deletions