Dear Jeff,

There was absolutely nothing wrong with the initial patch that you sent
out. What i requested was when you take the difference, store the output in
a patch file and then send across. Just do the simple step:
1) diff -uprN "file-1" "file-2" > "your-patch-file-name.patch"
##Redirecting to a file
2) Attach the file "your-patch-file-name.patch" with the mail and then
shoot across to the mailing lists.

Sometimes the various alignment(s), and characters of the patch gets
corrupted or changed to different form(s) when you paste the PATCH in the
mail body. So, i requested you to save the patch in a file and then attach
the file to the mail you want to send. Anyway i will try to apply the patch
that is pasted in the mail. Do kindly send patches in a file in future.

Regards & Thanks--
Subrata Modak,
====================================
====================================




                                                                           
             Jeff Burke                                                    
             <[EMAIL PROTECTED]                                             
             m>                                                         To 
             Sent by:                  Subrata Modak1/India/[EMAIL PROTECTED]   
   
             ltp-list-bounces@                                          cc 
             lists.sourceforge         [email protected]      
             .net                                                  Subject 
                                       Re: [LTP] Change to runltp. Make    
                                       tmp directory writable for user     
             04/04/07 09:12 PM         nobody                              
                                                                           
                                                                           
             Please respond to                                             
             [EMAIL PROTECTED]                                             
                                                                           
                                                                           




Subrata Modak1 wrote:
> Dear Jeff,
>
> Request you to kindly put the result of "diff -uprN" into a "
> <patch-file-name>.patch" and send across for this issue too.
>
>
> Regards & Thanks--
> Subrata Modak,
> ====================================
> ====================================

Subrata,
             I have done what you requested. Here is the patch.

Thanks,
Jeff
--- ltp-full-20070228/runltp.orig          2007-04-04 10:50:34.000000000
-0400
+++ ltp-full-20070228/runltp         2007-04-04 10:50:59.000000000 -0400
@@ -32,7 +32,7 @@
 #
 #               Oct 08 2003 - Modified - Manoj Iyer
 #               - fixed bug in creating results directory
-#               - all checks should be enlclosed in  " " to avoid bash
error
+#               - all checks should be enlclosed in " " to avoid bash
error
 #               - exit with error if pan is not found in pan directory


@@ -65,8 +65,8 @@ setup()

 version_of_ltp()
 {
-head -n 1  $LTPROOT/ChangeLog
-exit 0
+    head -n 1  $LTPROOT/ChangeLog
+    exit 0
 }

 usage()
@@ -91,7 +91,7 @@ usage()
     -p              Human readable format logfiles.
     -q              Print less verbose output to screen.
     -r LTPROOT      Fully qualified path where testsuite is installed.
-    -s PATTERN       Only run test cases which match PATTERN.
+    -s PATTERN      Only run test cases which match PATTERN.
     -t DURATION     Execute the testsuite for given duration. Examples:
                       -t 60s = 60 seconds
                       -t 45m = 45 minutes
@@ -107,7 +107,6 @@ usage()
 exit 0
 }

-
 main()
 {
     local CMDFILE=""
@@ -156,7 +155,6 @@ main()
             GENLOAD=1 ;;

         l)
-
             echo "INFO: creating $LTPROOT/results directory"
             [ ! -d $LTPROOT/results ] && \
             {
@@ -227,8 +225,10 @@ main()
                 exit 1
             fi
     fi
-
-    mkdir -p $TMP || \
+
+    # Added -m 777 for tests that call tst_tmpdir() and try to
+    #  write to it as user nobody
+    mkdir -m 777 -p $TMP || \
     {
         echo "FATAL: Unable to make temporary directory $TMP"
         exit 1
@@ -352,8 +352,6 @@ main()
         echo "WARNING: required users and groups not present"
         echo "WARNING: some test cases may fail"
     }
-
-

     # display versions of installed software
     [ -z "$QUIET_MODE" ] && \
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to