1Changes for the 5.31 release (the cctools-823 release): 2- Remove the buggy code that added the -e option. Radar bug #10843929. 3 4Changes for the 5.30 release (the cctools-820 release): 5- Removed creating the vers.c file from the Makefile. Added the -e option to 6 ar.c to print the version that uses the new apple_version[] from libstuff. 7 Radar bug #10596469. 8 9Changes for the 5.28 release (the cctools-787 release): 10- Added testing the environment variable ZERO_AR_DATE to set the ar date to 11 zero to allow testing and comparing things for exact binary equality. 12 The change was in put_arobj() archive.c . Radar bug #7919021. 13 14Changes for the 5.28 release (the cctools-777 release): 15- Changed the Makefile to use -Os for OFLAG. Radar bug #7475093. 16 17Changes for the 5.27 release (the cctools-762 release): 18- Changed the Makefile to set CC when when SDKROOT is set. Radar bug #7078805. 19 20Changes for the 5.27 release (the cctools-759 release): 21- Changed the Makefile to add -isysroot $(SDKROOT) to compile and link lines 22 when SDKROOT is set. Radar bug #6965029. 23 24Changes for the 5.26 release (the cctools-757 release): 25- Changed open_archive() in archive.c to skip the call to flock() if the archive 26 is opened in read-only mode. Radar bug #6900552. 27 28Changes for the 5.26 release (the cctools-756 release): 29- Changed main() in ar.c to use a prefix on ranlib that it runs so it runs one 30 from the same place as ar(1) if used in an SDK. Radar bug #6821441. 31 32Changes for the 5.26 release (the cctools-752 release): 33- Ported to build with clang. 34 - Changed Makefile to work around bug 6761248. 35 36Changes for the 5.26 release (the cctools-722 release): 37- Changed open_archive() in archive.c after the call to flock() to check for an 38 return value of -1 and errno value of EAGAIN. And added a loop that sleeps 39 for a second and tries up to 10 times. Radar bug #6085183. 40 41Changes for the 5.26 release (the cctools-705 release): 42- Changed two uses of unsigned long in archive.c to uint32_t for reading the 43 fat magic number. Radar bug #6022298. 44 45Changes for the 5.19 release (the cctools-590.4 release): 46- Added the S switch to not run ranlib on the archive. The change is in main() 47 in main.c and the man page ar.1 . Radar bug #4130034. 48 49Changes for the 5.18 release (the cctools-583 release): 50- Changed the Makefile so that when RC_XBS is set to YES then the compiler 51 options -MD and -dependency-file as well as the md(1) program are not used. 52 Radar bug #4029936. 53 54Changes for the 5.12 release (the cctools-552 release): 55- Changed ar(1) to update or add a table of contents when in UNIX standard 56 conformance mode (the default). To do this and not hose archives with fat 57 object turning them into fat files that ar(1) will not operate on a new 58 ranlib(1) option -q is used. This only updates the table of contents when 59 the output would not be a fat file. 60 - Changed archive.[ch] to have a new global variable 61 archive_opened_for_writing which is set to 1 in open_archive() if the 62 file is open(2)'ed with the mode O_RDWR. 63 - Changed main() in ar.c to run ranlib(1) when in UNIX standard conformance 64 mode and archive_opened_for_writing is set using the new -q ranlib(1) 65 option. 66 67Changes for the 5.12 release (the cctools-464 release): 68- Made changes to build cleanly with gcc3.3 69 - Removed -Wno-precomp from the Makefile 70 - Fixed warning for "comparison between signed and unsigned" in archive.c 71 72Changes for the 5.12 release (the cctools-450 release): 73- Added a switch statement for the errno value after the flock() call in 74 archive.c to deal with the fact that NFS can now do locking. Radar bug 75 #3105943. 76 77Changes for the 5.10 release (the cctools-396 release): 78- Added support for the -s option from freebsd which is: 79 s Write an object-file index into the archive, or up- 80 date an existing one, even if no other change is 81 made to the archive. You may use this modifier 82 flag either with any operation, or alone. Running 83 `ar s' on an archive is equivalent to running `ran- 84 lib' on it. 85 this is done by just running ranlib to ease porting. When this is done the 86 new ranlib(1) flag -f will be used to generate a warning when a fat archive 87 is created as a result of the ranlib operation and the resulting file will 88 not work with ar(1). 89 - Added the AR_S constant to archive.h 90 - Added the code to parse out -s and -V in main() in ar.c 91 - Updated the usage() lines in ar.c 92 - Added the code to execute ranlib in main() in ar.c 93 - Update the ar(1) man page with the -s option. 94 Radar bug #2814831. 95 96- Changed the Makefile to not use the -dependency-file with gcc as well as 97 mwccppc. 98 99Changes for the 5.5 release (the cctools-307 release): 100- Removed the reference to Rhapsody in the ar.5 man page. Radar bug #2399338. 101 102Changes for the 5.3 release (the cctools-283 release): 103- The change from ts_sec to tv_sec was picked up for MacOS X (see below). 104 105Changes for the 5.3 release (the cctools-282.1 release): 106- In the stat struct (non-Openstep) there are three struct timespec's 107 (defined in sys/time.h). The field name ts_sec was change to tv_sec 108 to match Posix (Radar bug #2005170). So in ar/archive.c the use of the 109 field ts_sec was changed to tv_sec. Three places (Radar bug #2284290). 110 111Changes for the 5.3 release, MacOS X bringup (the cctools-282 release): 112- Change it so the ar sources are included with the installMWsrc target in the 113 Makefile. 114- Changed the Makefile to allow for RC_OS=macos for MacOS X builds. 115 116Changes for the 5.2 release (the cctools-267 release): 117- Removed -Dlint from the Makefile to allow precomps to be used. Radar bug 118 #2227732. 119- Changed the default to use long names (-L the default with -T off). 120- Changed ar to pad long names with \0 out to four byte boundaries when using 121 the extended format. Radar bug #1670513. 122 123Changes for the 5.1 release (the cctools-260 release): 124- Added -c to all the install commands in the Makefile. 125 126Changes for the 5.1 release (the cctools-253 release): 127- Delt with the problem of the uid and gid fields in the ar.5 format being 6 128 characters wide and the types being 32 bits wide. A cast to u_short was added 129 as in the 4.3bsd ar. Radar bug #2000486. 130 131Changes for the 5.1 release (the cctools-250 release): 132- Added a comment in the ar.5 man page that the extended format is not 133 yet used by the Rhapsody compiler tools. 134- Changed the man path to install the man pages directly in /usr/share/man . 135 136Changes for the 5.1 release (the cctools-247 release): 137- Maded the -T option the default so to not used the extended format not yet 138 supported by the compiler tools. The -L option was added to turn this default 139 off. Updated the man page (Radar 1670513). 140- Added MKDIRS if code to the Makefile to build native on Rhapsody. 141- Changed the Makefile to use gnutar instead of tar because it works on Rhapsody 142 where tar does not. 143 144Changes for the 5.0 release (the cctools-235 release): 145- Added code to detect fat files like the old ar program and print a message 146 about using libtool & lipo. 147- Created this directory from the OpenBSD/src/usr.bin/ar directory. It is only 148 built when RC_OS=teflon. Removed all the warnings produced with -Wall and 149 made it compile with the Grail4C header files. 150