Menu ▾ ▴

#117 GCSORT 1.05.00 fails to parse command line

contrib
closed
gcsort (2)
5 - default
3 days ago
3 days ago
No

Hi @smenna,

Version 1.05.00 introduced a bug, making it impossible to parse instructions from the command line - we can only use TAKE files.

The fix is easy. In job.c around line 659 :

         if ((globalJob->nStatistics > 1) && (globalJob->nStatistics != 5) && (gcMultiThreadIsFirst == 0))
             fprintf(stdout, "%s\n", buffprt);
     }

+    else {
+        returnCode = 0;
+    }

     if (returnCode == 0) {
         job_SetCmdLine(job, buffer);

Best regards,

  • David

Discussion

  • Sauro Menna

    Sauro Menna - 3 days ago

    Hi David,
    Thank you for reporting the issue.
    Tonight, I'll release an update to GCSort that will also include the patches you reported for AIX.

    Thank you.
    Best regards,
    Sauro

     
  • Sauro Menna

    Sauro Menna - 3 days ago
    • assigned_to: Sauro Menna
     
  • Simon Sobisch

    Simon Sobisch - 3 days ago
    • labels: --> gcsort
    • status: open --> closed
     
  • Simon Sobisch

    Simon Sobisch - 3 days ago

    Included in [contrib:r1185].

     

    Related

    Commit: [r1185]


    Last edit: Simon Sobisch 2 days ago

Log in to post a comment.