Skip to content
This repository was archived by the owner on Oct 16, 2023. It is now read-only.

Commit 343af8e

Browse files
committed
7901397: Flag -b is ignored in webrev
Reviewed-by: dfuchs, dcubed
1 parent 7d6f03f commit 343af8e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

webrev.ksh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# Documentation is available via 'webrev -h'.
2828
#
2929

30-
WEBREV_UPDATED=25.7-hg+openjdk.java.net
30+
WEBREV_UPDATED=25.8-hg+openjdk.java.net
3131

3232
HTML='<?xml version="1.0"?>
3333
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
@@ -299,7 +299,7 @@ prev_index_next_html()
299299
#
300300
sdiff_to_html()
301301
{
302-
diff -b $1 $2 > /tmp/$$.diffs
302+
diff $DIFFOPTS $1 $2 > /tmp/$$.diffs
303303

304304
TNAME=$3
305305
TPATH=$4
@@ -2403,12 +2403,12 @@ do
24032403

24042404
if [[ -f $ofile && -f $nfile && -z $mv_but_nodiff ]]; then
24052405

2406-
${CDIFFCMD:-diff -bt -C 5} $ofile.lst $nfile.lst > $WDIR/$DIR/$F.cdiff
2406+
${CDIFFCMD:-diff $DIFFOPTS -C 5} $ofile.lst $nfile.lst > $WDIR/$DIR/$F.cdiff
24072407
diff_to_html $F $DIR/$F "C" "$COMM" "$RELROOT" "$PREVIOUS_FILE" "$NEXT_FILE" < $WDIR/$DIR/$F.cdiff \
24082408
> $WDIR/$DIR/$F.cdiff.html
24092409
print " cdiffs\c"
24102410

2411-
${UDIFFCMD:-diff -bt -U 5} $ofile.lst $nfile.lst > $WDIR/$DIR/$F.udiff
2411+
${UDIFFCMD:-diff $DIFFOPTS -U 5} $ofile.lst $nfile.lst > $WDIR/$DIR/$F.udiff
24122412
diff_to_html $F $DIR/$F "U" "$COMM" "$RELROOT" "$PREVIOUS_FILE" "$NEXT_FILE" < $WDIR/$DIR/$F.udiff \
24132413
> $WDIR/$DIR/$F.udiff.html
24142414

@@ -2503,12 +2503,12 @@ do
25032503

25042504
if [[ -f $ofile && -f $nfile && -z $mv_but_nodiff ]]; then
25052505

2506-
${CDIFFCMD:-diff -bt -C 5} $ofile $nfile > $WDIR/$DIR/$F.cdiff
2506+
${CDIFFCMD:-diff $DIFFOPTS -C 5} $ofile $nfile > $WDIR/$DIR/$F.cdiff
25072507
diff_to_html $F $DIR/$F "C" "$COMM" "$RELROOT" "$PREVIOUS_FILE" "$NEXT_FILE" < $WDIR/$DIR/$F.cdiff \
25082508
> $WDIR/$DIR/$F.cdiff.html
25092509
print " cdiffs\c"
25102510

2511-
${UDIFFCMD:-diff -bt -U 5} $ofile $nfile > $WDIR/$DIR/$F.udiff
2511+
${UDIFFCMD:-diff $DIFFOPTS -U 5} $ofile $nfile > $WDIR/$DIR/$F.udiff
25122512
diff_to_html $F $DIR/$F "U" "$COMM" "$RELROOT" "$PREVIOUS_FILE" "$NEXT_FILE" < $WDIR/$DIR/$F.udiff \
25132513
> $WDIR/$DIR/$F.udiff.html
25142514

0 commit comments

Comments
 (0)