Merge r7442 from trunk

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7695 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-04 04:28:28 +00:00
parent 2e86cc70aa
commit 46eab13d33
5 changed files with 50 additions and 29 deletions

View File

@@ -587,7 +587,7 @@ BEGIN {
config_scst_proc_undefined = 0
# Variable initialization.
is_c_source = 0
process_file = 0
reset_hunk_state_variables()
}
@@ -599,10 +599,11 @@ BEGIN {
# Start of new file.
dump_lines()
reset_hunk_state_variables()
is_c_source = match(filename[1], "\\.[ch]$") != 0
process_file = match(filename[1], "\\.[ch]$") != 0 &&
match(filename[1], "drivers/scsi/qla2xxx/") == 0
}
if (!is_c_source)
if (!process_file)
{
print
next