This too is also included.
Regards--
Subrata.

Subrata Modak wrote:
Will take care of this too.
Regards--
Subrata

Carmelo AMOROSO wrote:
Hi Subrata,
another part of a patch missed on LTP 20070531.

It fixes the case in which we pass a wrong the option -s XXX to mmap1 test.

Best regards,
Carmelo
------------------------------------------------------------------------

--- ./ltp-full-20070531/testcases/kernel/mem/mtest06/mmap1.c    2007-05-31 
13:41:54.931151000 +0200
+++ ./ltp-full-20070531-st/testcases/kernel/mem/mtest06/mmap1.c 2007-05-31 
13:42:19.191264000 +0200
@@ -545,9 +545,10 @@ main(int  argc,            /* number of input para
                break;
            case 's':
                if ((file_size = atoi(optarg)) == 0)
- file_size = 1024; - else
                    OPT_MISSING(argv[0], optopt);
+        else
+               if (file_size < 0)
+                               fprintf(stdout,"WARNING: bad argument. Using default 
%d\n", (file_size = 1024));
                break;
            case 'v':
                verbose_print = TRUE;
------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to