summaryrefslogtreecommitdiff
path: root/arscan.c
AgeCommit message (Collapse)AuthorFilesLines
2014-09-07Fix and enhance VMS library support.Hartmut Becker1-90/+185
* ar.c: fix VMS library search for members, which do not have suffixes, aka filename extensions. * arscan.c: fix time conversion and library callback routines. * default.c: more suffixes and automatically create the VMS library if it doesn't exists.
2014-07-07* arscan.c [ANDROID]: Android has no ar.h but supports archives.Fredrik Fornwall1-2/+2
Copyright-paperwork-exempt: yes
2013-11-23[SV 40361] Don't use vsnprintf(), which is an ISO C99 function.Paul Smith1-8/+10
* output.c (error, fatal, message): Take an extra argument specifying how many bytes are used by the formatted arguments. (get_buffer): New function that allocates the requested buffer size. Remove msc_vsnprintf(), vfmtconcat(), and fmtconcat() as unneeded. * makeint.h: Declare various helper macros for generating output. * *.c: Change all error(), fatal(), message() calls to use the macros, or pass the extra length argument directly.
2013-07-21[Bug #39158] Source cleanups suggested by cppcheck utility.Paul Smith1-4/+3
2013-05-17Update source file format: remove TABs, use GNU coding styles.Paul Smith1-289/+289
2013-05-17Update copyright for changes in 2013.Paul Smith1-1/+1
2013-01-20Rename the make.h file to makeint.h for internal use only.Paul Smith1-1/+1
2012-03-05Simplify copyrights using ranges of years.Paul Smith1-3/+1
The new GNU Maintainer's Manual allows the use of year ranges in certain situations; take advantage of this simplification.
2012-03-04Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines.Paul Smith1-2/+2
Fixes Savannah bug #34530.
2012-01-16Update copyright notices.Paul Smith1-2/+2
2010-07-13Update copyrights for 2010.Paul Smith1-2/+2
2010-07-05Fixups for warnings on Windows (esp 64bit).Paul Smith1-6/+9
2009-11-16Add VMS enhancements from Hartmut Becker.Paul Smith1-2/+24
2009-10-25Update copyright years.Paul Smith1-2/+2
2009-06-09- Fix Savannah bug #18124Paul Smith1-2/+2
- Fix Savannah bug #17521 - Fix Savannah bug #16401 - Fix Savannah bug #16469 - Fix Savannah bug #16473
2007-07-04* Update to GPLv3Paul Smith1-63/+63
* Update copyright to 2007 * Fix download URL for translation files (thanks to Thiemo Seufer)
2006-11-18Fix from Eli for incorrect value of $(MAKE) on Cygwin.Paul Smith1-13/+13
A few changes from char* to void* where appropriate, and removing of unnecessary casts. Much more work on const-ifying the codebase. This round involves some code changes to make it correct. NOTE!! There will almost certainly be problems on the non-POSIX ports that will need to be addressed after the const changes are finished: they will need to be const-ified properly and there may need to be some changes to allocate memory, etc. as well. The next (last?) big push for this, still to come, is const-ifying the filenames in struct file, struct dep, etc. This will allow us to store file names in the string cache and finally resolve Savannah bug #15182 (make uses too much memory), among other advantages.
2006-04-09Another round of cleanups:Paul Smith1-16/+16
- Add more warnings. - Rename variables that mask out-scope vars with the same name. - Remove all casts of return values from xmalloc, xrealloc, and alloca. - Remove casts of the first argument to xrealloc. - Convert all bcopy/bzero/bcmp invocations to use memcp/memmove/memset/memcmp.
2006-04-07Code cleanup: Remove all references to PARAMS() & ansi2knr.Paul Smith1-1/+1
2006-02-11Last of the copyright updates.Paul Smith1-2/+3
2006-02-11Update copyright and license notices on all files.Paul Smith1-16/+15
Added new file strcache.c to various non-UNIX makefiles and build scripts.
2004-02-24Many compiler warning cleanups.Paul Smith1-8/+10
Small fixes for W32 (from Jonathan Grant <jg-make@jguk.org>) Maintainer enhancements to clean up the tree.
2003-01-30Portability fix for glob.h building in FreeBSD ports system.Paul Smith1-1/+2
Implement a fix for bug # 2169: too many OSs, even major OSs like Solaris, don't properly implement SA_RESTART: important system calls like stat() can still fail when SA_RESTART is set. So, forget the BROKEN_RESTART config check and get rid of atomic_stat() and atomic_readdir(), and implement permanent wrappers for EINTR checking on various system calls (stat(), fstat(), opendir(), and readdir() so far).
2002-10-14Convert the source code to use ANSI C style function definitions andPaul Smith1-35/+13
enable the automake ansi2knr capability. Right now this doesn't quite build using a K&R compiler because of a problem with the loadavg test program, but the rest of the code works. I'm asking the automake list about this problem.
2001-06-01Fix for EINTR problems when using jobserver.Paul Smith1-2/+2
New translation files. Fix for @+ inside define macros being applied too widely. Various other bug fixes.
2001-05-21Some VMS fixes sent by John Fowler.Paul Smith1-4/+8
Fix: make flags on some lines of define/endef don't affect other lines
2000-04-22* Various bug fixes.Paul Smith1-1/+19
2000-01-22* Merge VMS patches by Hartmut Becker.Paul Smith1-0/+2
1999-10-15* Fix PR/1394.Paul Smith1-5/+3
* Apply changes from Paul Eggert. * Many other cleanups (index/rindex --> strchr/strrchr, etc.)
1999-08-01* Release 3.77.92.3.77.92Paul Smith1-5/+2
* Complete implementation of new jobserver algorithm. * A few minor fixups.
1999-07-28* Add gettext macros to start i18n support.Paul Smith1-7/+7
1999-07-23* Bugfix for NT archive support.Paul Smith1-1/+1
* Rework how the jobserver stuff works.
1999-07-22* Fix backward incompatibility in new function implementation.Paul Smith1-3/+15
* Add support for ARFZMAG archive formats.
1999-07-21* Add configure option to enable dmalloc library.Paul Smith1-2/+2
* Various code cleanups.
1999-07-06* Various bugfixes/updates. See ChangeLog.Paul Smith1-1/+19
1999-03-05* Update FSF address info in copyright notices.Paul Smith1-1/+2
* Update maintainers build process; remove GNUmakefile. Require builders to run automake && autoreconf by hand. * Use AC_SUBST_FILE to get the maintMakefile included, rather than GNU make's include directive, which conflicts with automake 1.4's include directive.
1999-02-22* New feature: .LIBPATTERNS controls the way -lfoo dependencies are expanded.Paul Smith1-61/+137
* A few tweaks to the system glob test, after trying it on a system where it's true. * Installed patches to archive handling for AIX 4.3 big archives. * Fix a memory stomp in target-specific variables. * Fix a memory leak in foreach functions.
1999-02-19* Updates for automake 1.4 and autoconf 2.13Paul Smith1-0/+1
* Check for a libc version of GNU glob and, if found, don't use the local glob headers. * Fix a bug in OpenVMS archive handling. * Fix a bug in VMS siglist processing.
1998-10-03Checkpoint changes. Bug fixes, mostly.Paul Smith1-3/+3
1998-07-30GNU make release 3.77.Paul Smith1-6/+3
1997-08-27Updates for GNU make 3.75.92.Paul Smith1-18/+187
1995-08-10(ar_scan) [AIAMAG]: Check for zero MEMBER_OFFSET, indicating a valid, butRoland McGrath1-1/+8
empty, archive.
1995-01-07(ar_name_equal) [cray]: Subtract 1 like [__hpux].Roland McGrath1-2/+2
1994-07-04(ar_member_touch) [EINTR]: Do EINTR looping around fstat.Roland McGrath1-0/+4
1994-02-16entered into RCSRoland McGrath1-2/+8
1993-12-16Formerly arscan.c.~32~Roland McGrath1-5/+12
1993-05-12Formerly arscan.c.~31~Roland McGrath1-4/+4
1993-05-03Formerly arscan.c.~30~Roland McGrath1-1/+7
1993-04-30Formerly arscan.c.~29~Roland McGrath1-9/+32
1993-04-26Formerly arscan.c.~28~Roland McGrath1-4/+83