www.delorie.com/djgpp/bugs/show.cgi   search  
Bug 000117

When Created: 10/25/1996 09:01:00
Against DJGPP version: 2.01
By whom: wegscd@whirlpool.com
Abstract: ar says 'invalid operation' creating archive with Win95/LFN=Y
C:\TEMP>erase libfoo.a

C:\TEMP>set lfn=n

C:\TEMP>ar rcu libfoo.a a.o

C:\TEMP>erase libfoo.a

C:\TEMP>set lfn=y

C:\TEMP>ar rcu libfoo.a a.o
c:/a/djgpp201/bin/ar.exe: libfoo.a: Invalid operation

it seems to be OK when adding to an existing archive with either LFN=Y or LFN=N

----

C:\TEMP>ar -V
GNU c:/a/djgpp201/bin/ar.exe version 2.7

C:\TEMP>dir c:\djgpp201inr.exe

 Volume in drive C is C @ WORK
 Volume Serial Number is 16D3-1278
 Directory of C:\A\djgpp201in

AR       EXE       208,384  10-19-96 11:27a ar.exe
         1 file(s)        208,384 bytes
         0 dir(s)      51,290,112 bytes free

C:\TEMP>ver

Windows 95. [Version 4.00.950]

Note added: 11/05/1996 12:10:00
By whom: eliz@is.elta.co.il
I think this is fixed in the DJGPP v2.01 dated 31 Oct 96 or later.
There was a bug in the library function `_rename' which caused
problems like this.

Solution added: 04/13/1999 08:00:22
By whom: eliz@is.elta.co.il
Upgrade to a later DJGPP version.

Fixed in version on 04/13/1999 08:00:57
By whom: eliz@is.elta.co.il



  webmaster     delorie software   privacy  
  Copyright © 2010   by DJ Delorie     Updated Jul 2010