summaryrefslogtreecommitdiff
path: root/arscan.c
Commit message (Collapse)AuthorAgeFilesLines
* [SV 41758]: Fix archive support for VMS.John Malmberg2014-10-201-3/+9
| | | | | | | | | | | | | Upated to match change to run_make_tests and some future fixes to make on VMS. * arscan.c: Use ANSI compatible pragmas instead of VAX C extensions. * tests/scripts/features/archives: Fix tests to use VMS rules and answers when running on VMS and using DCL as a shell. * tests/scripts/features/vpath3: Fix epected answer on test when run on VMS. * tests/scripts/vms/library: (New) Test the VMS library rules that are not tested by existing tests.
* Fix and enhance VMS library support.Hartmut Becker2014-09-071-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.
* * arscan.c [ANDROID]: Android has no ar.h but supports archives.Fredrik Fornwall2014-07-071-2/+2
| | | | Copyright-paperwork-exempt: yes
* [SV 40361] Don't use vsnprintf(), which is an ISO C99 function.Paul Smith2013-11-231-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.
* [Bug #39158] Source cleanups suggested by cppcheck utility.Paul Smith2013-07-211-4/+3
|
* Update source file format: remove TABs, use GNU coding styles.Paul Smith2013-05-171-289/+289
|
* Update copyright for changes in 2013.Paul Smith2013-05-171-1/+1
|
* Rename the make.h file to makeint.h for internal use only.Paul Smith2013-01-201-1/+1
|
* Simplify copyrights using ranges of years.Paul Smith2012-03-051-3/+1
| | | | | The new GNU Maintainer's Manual allows the use of year ranges in certain situations; take advantage of this simplification.
* Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines.Paul Smith2012-03-041-2/+2
| | | | Fixes Savannah bug #34530.
* Update copyright notices.Paul Smith2012-01-161-2/+2
|
* Update copyrights for 2010.Paul Smith2010-07-131-2/+2
|
* Fixups for warnings on Windows (esp 64bit).Paul Smith2010-07-051-6/+9
|
* Add VMS enhancements from Hartmut Becker.Paul Smith2009-11-161-2/+24
|
* Update copyright years.Paul Smith2009-10-251-2/+2
|
* - Fix Savannah bug #18124Paul Smith2009-06-091-2/+2
| | | | | | | - Fix Savannah bug #17521 - Fix Savannah bug #16401 - Fix Savannah bug #16469 - Fix Savannah bug #16473
* * Update to GPLv3Paul Smith2007-07-041-63/+63
| | | | | * Update copyright to 2007 * Fix download URL for translation files (thanks to Thiemo Seufer)
* Fix from Eli for incorrect value of $(MAKE) on Cygwin.Paul Smith2006-11-181-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.
* Another round of cleanups:Paul Smith2006-04-091-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.
* Code cleanup: Remove all references to PARAMS() & ansi2knr.Paul Smith2006-04-071-1/+1
|
* Last of the copyright updates.Paul Smith2006-02-111-2/+3
|
* Update copyright and license notices on all files.Paul Smith2006-02-111-16/+15
| | | | Added new file strcache.c to various non-UNIX makefiles and build scripts.
* Many compiler warning cleanups.Paul Smith2004-02-241-8/+10
| | | | | Small fixes for W32 (from Jonathan Grant <jg-make@jguk.org>) Maintainer enhancements to clean up the tree.
* Portability fix for glob.h building in FreeBSD ports system.Paul Smith2003-01-301-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).
* Convert the source code to use ANSI C style function definitions andPaul Smith2002-10-141-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.
* Fix for EINTR problems when using jobserver.Paul Smith2001-06-011-2/+2
| | | | | | New translation files. Fix for @+ inside define macros being applied too widely. Various other bug fixes.
* Some VMS fixes sent by John Fowler.Paul Smith2001-05-211-4/+8
| | | | Fix: make flags on some lines of define/endef don't affect other lines
* * Various bug fixes.Paul Smith2000-04-221-1/+19
|
* * Merge VMS patches by Hartmut Becker.Paul Smith2000-01-221-0/+2
|
* * Fix PR/1394.Paul Smith1999-10-151-5/+3
| | | | | * Apply changes from Paul Eggert. * Many other cleanups (index/rindex --> strchr/strrchr, etc.)
* * Release 3.77.92.3.77.92Paul Smith1999-08-011-5/+2
| | | | | * Complete implementation of new jobserver algorithm. * A few minor fixups.
* * Add gettext macros to start i18n support.Paul Smith1999-07-281-7/+7
|
* * Bugfix for NT archive support.Paul Smith1999-07-231-1/+1
| | | | * Rework how the jobserver stuff works.
* * Fix backward incompatibility in new function implementation.Paul Smith1999-07-221-3/+15
| | | | * Add support for ARFZMAG archive formats.
* * Add configure option to enable dmalloc library.Paul Smith1999-07-211-2/+2
| | | | * Various code cleanups.
* * Various bugfixes/updates. See ChangeLog.Paul Smith1999-07-061-1/+19
|
* * Update FSF address info in copyright notices.Paul Smith1999-03-051-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.
* * New feature: .LIBPATTERNS controls the way -lfoo dependencies are expanded.Paul Smith1999-02-221-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.
* * Updates for automake 1.4 and autoconf 2.13Paul Smith1999-02-191-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.
* Checkpoint changes. Bug fixes, mostly.Paul Smith1998-10-031-3/+3
|
* GNU make release 3.77.Paul Smith1998-07-301-6/+3
|
* Updates for GNU make 3.75.92.Paul Smith1997-08-271-18/+187
|
* (ar_scan) [AIAMAG]: Check for zero MEMBER_OFFSET, indicating a valid, butRoland McGrath1995-08-101-1/+8
| | | | empty, archive.
* (ar_name_equal) [cray]: Subtract 1 like [__hpux].Roland McGrath1995-01-071-2/+2
|
* (ar_member_touch) [EINTR]: Do EINTR looping around fstat.Roland McGrath1994-07-041-0/+4
|
* entered into RCSRoland McGrath1994-02-161-2/+8
|
* Formerly arscan.c.~32~Roland McGrath1993-12-161-5/+12
|
* Formerly arscan.c.~31~Roland McGrath1993-05-121-4/+4
|
* Formerly arscan.c.~30~Roland McGrath1993-05-031-1/+7
|
* Formerly arscan.c.~29~Roland McGrath1993-04-301-9/+32
|