gnu-misc-discuss
[Top][All Lists]
Advanced

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

Controlling file order when comparing directories


From: Grant
Subject: Controlling file order when comparing directories
Date: 13 Feb 2007 09:44:43 -0800
User-agent: G2/1.0

Hello,
    I'm having a problem that I'm hoping there is a simple solution
to.  I work under several build environments SunOS, Linux, and
Cygwin.  As part of the process, we are controlling a patch file
against OpenSSL.  Until recently, I hadn't tried to generate the patch
under anything but SunOS.  When I generate it under Linux, I get the
files within the directories in a different order.  Here's a list of
the files output from SunOS, Linux and Cygwin, respectively.

+++ openssl-0.9.8d/crypto/asn1/a_gentm.c    2007-02-06
09:51:12.000000000 -0800
+++ openssl-0.9.8d/crypto/asn1/a_mbstr.c    2007-02-06
09:51:12.000000000 -0800
+++ openssl-0.9.8d/crypto/asn1/a_utctm.c    2007-02-09
16:37:06.262050000 -0800
+++ openssl-0.9.8d/crypto/asn1/asn1_lib.c   2007-02-06
09:51:12.000000000 -0800

+++ openssl-0.9.8d/crypto/asn1/a_gentm.c    2007-02-13
09:08:36.960752000 -0800
+++ openssl-0.9.8d/crypto/asn1/a_mbstr.c    2007-02-13
09:08:36.969648000 -0800
+++ openssl-0.9.8d/crypto/asn1/asn1_lib.c   2007-02-13
09:08:36.985705000 -0800
+++ openssl-0.9.8d/crypto/asn1/a_utctm.c    2007-02-13
09:08:36.977863000 -0800

+++ openssl-0.9.8d/crypto/asn1/a_gentm.c    2007-02-13
09:37:39.814731300 -0800
+++ openssl-0.9.8d/crypto/asn1/a_mbstr.c    2007-02-13
09:37:39.814731300 -0800
+++ openssl-0.9.8d/crypto/asn1/a_utctm.c    2007-02-13
09:37:39.830356200 -0800
+++ openssl-0.9.8d/crypto/asn1/asn1_lib.c   2007-02-13
09:37:39.830356200 -0800

So ideally, I'd like to figure out how to get the same order out of
the Linux environment.  I'm hoping for something like an environment
variable, or diff option.

Any help would be appreciated.  Thanks in advance.


Grant



reply via email to

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