File: 02-fix-getarg.patch

package info (click to toggle)
pmx 2.6.18-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,940 kB
  • sloc: makefile: 132; sh: 109
file content (24 lines) | stat: -rw-r--r-- 892 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: pmx-2.6.17/src/pmxab.for
===================================================================
--- pmx-2.6.17.orig/src/pmxab.for	2012-02-19 15:24:07.000000000 +0100
+++ pmx-2.6.17/src/pmxab.for	2012-02-19 15:28:29.000000000 +0100
@@ -750,8 +750,7 @@
         read(*,'(a)')jobname
         numargs = 1
       else 
-        call getarg(1,jobname,idum) ! May need to replace this w/ next line 
-c        call getarg(1,jobname) 
+        call getarg(1,jobname) 
       end if
 10    ljob = lenstr(jobname,44)
       if (ljob .gt. 44) then
@@ -763,8 +762,7 @@
       else if (numargs .eq. 2) then
         if (ljob.eq.2 .and. jobname(1:2).eq.'-o') then
           optimize = .true.
-          call getarg(2,jobname,idum) ! May need to replace this w/ next line 
-c          call getarg(2,jobname) 
+          call getarg(2,jobname) 
           numargs = 1 
           go to 10
         else