mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
Import wiredtiger: 350fecbfc787cae88cb8b785a30780408fd78e1e from branch mongodb-master
ref: 2c5dfec509..350fecbfc7 for: 6.1.0-rc0 WT-9296 Portability fix for the new paired typo checker in s_style
This commit is contained in:
parent
00ff8bc78c
commit
6fb8f59c47
6
src/third_party/wiredtiger/dist/s_style
vendored
6
src/third_party/wiredtiger/dist/s_style
vendored
@ -59,11 +59,11 @@ else
|
||||
|
||||
# Finding paired typos in the comments of different file types and excluding invalid edge cases.
|
||||
if [ "${fname##*.}" = "py" ]; then
|
||||
egrep '#.*\s\b([a-zA-Z]+)\s\b\1[[:space:]\.]' $f > $t
|
||||
egrep '#.*[[:space:]]\b([a-zA-Z]+)[[:space:]]\b\1[[:space:]\.]' $f > $t
|
||||
elif [ "${fname##*.}" = "c" ] || [ "${fname##*.}" = "h" ]; then
|
||||
egrep '/?\*.*\s\b([a-zA-Z]+)\s\b\1[[:space:]\.]' $f | egrep -v -e "@" -e "long long" > $t
|
||||
egrep '/?\*.*[[:space:]]\b([a-zA-Z]+)[[:space:]]\b\1[[:space:]\.]' $f | egrep -v -e "@" -e "long long" > $t
|
||||
else
|
||||
egrep '\s\b([a-zA-Z]+)\s\b\1[[:space:]\.]' $f | egrep -v -e "@" -e "^\(" > $t
|
||||
egrep '[[:space:]]\b([a-zA-Z]+)[[:space:]]\b\1[[:space:]\.]' $f | egrep -v -e "@" -e "^\(" > $t
|
||||
fi
|
||||
|
||||
test -s $t && {
|
||||
|
2
src/third_party/wiredtiger/import.data
vendored
2
src/third_party/wiredtiger/import.data
vendored
@ -2,5 +2,5 @@
|
||||
"vendor": "wiredtiger",
|
||||
"github": "wiredtiger/wiredtiger.git",
|
||||
"branch": "mongodb-master",
|
||||
"commit": "2c5dfec5090faaffdf2cc397ca7f9c0332466992"
|
||||
"commit": "350fecbfc787cae88cb8b785a30780408fd78e1e"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user