This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RENAME with different disk units


Dear Sr.

I send a sample of FORTRAN with a problem with RENAME 
routine. 

C
C FOR DOS DJGPP, THE SAMPLE WORKS IF BOTH UNITS 
C ARE THE SAME AS THE COMMENTED LINE
C
C I TRIED THE SAME SOURCE WITH LINUX: THE SAME RESULT
C OK IF THE SAME DISK, NOT WORKS IF DIFFERENT DISKS.
C
C WITH MINGW32 VERSION, THE ROUTINE WORKS OK WITH 
C DIFFERENT DISK UNITS
C
C UNTIL NOW I AM USING THE MV (LINUX) AND MV.EXE
C (DOS-WIN32) TO MOVE THE FILES, VIA CALL SYSTEM
C
C
      CHARACTER*60 FILE1,FILE2
      FILE1='D:\\LLL'
C      FILE2='D:\\HEVIA.DBG'
      FILE2='C:\\HEVIA.DBG'
      CALL RENAME(FILE1,FILE2)
      STOP
      END

I don't know if this is a bug, or if this problem can be 
solved.

Regards,

OPH. 20-7-2000 9:29

Ing. Orlando P. Hevia   
heviaop@ssdfe.com.ar
Santa Fe-Argentina
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  renam.f
     Date:  20 Jul 2000, 9:23
     Size:  561 bytes.
     Type:  Unknown

renam.f


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]