tiger-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tiger-devel] [PATCH] difflog doesn't recognize '#else /*TIGERCHANGES */


From: Nicolas François
Subject: [Tiger-devel] [PATCH] difflog doesn't recognize '#else /*TIGERCHANGES */' on linux
Date: Tue, 16 Sep 2003 19:45:08 +0200
User-agent: Mutt/1.5.4i

Hello,

difflog can fail to recognize OLD and NEW lines.

-- 21_difflogs_diff_differ_between_linux_and_solaris.patch -------------
output of diff -D${SPC}TIGERCHANGES changes between Linux and SunOS

Note 1: diff output on linux and solaris:
   echo 1 > test1; echo 2 > test2
   diff -D TIGERCHANGES test1 test2

   debian sid:
     #ifndef TIGERCHANGES
     1
     #else /* TIGERCHANGES */
     2
     #endif /* TIGERCHANGES */

   on solaris:
     #ifndef TIGERCHANGES
     1
     #else TIGERCHANGES
     2
     #endif TIGERCHANGES
Note 2: example of difflogs' output
   OLD: --WARN-- ...
   #else /* TIGERCHANGES */
   OLD: --FAIL-- ...

instead of:
   OLD: --WARN-- ...
   NEW: --FAIL-- ...

Note 3: diff --old-line-format="OLD: %L" and --new-line-format="OLD: %L"
could be used, but it's probably not portable.
------------------------------------------------------------------------

Regards,
-- 
Nekral

Attachment: 21_difflogs_diff_differ_between_linux_and_solaris.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]