Build with -std=gnu89 to fix the build with clang-16This is ancient GNU software that tends to break whenever clang addsmore warnings about deprecated features in new languages versions orturns t
Build with -std=gnu89 to fix the build with clang-16This is ancient GNU software that tends to break whenever clang addsmore warnings about deprecated features in new languages versions orturns them into errors. Using -std=gnu89 (the defaults for base-gcc)for those packages means we'll probably avoid most new warnings, errors,and possible miscompilations when updating clang.This fixes the build of libiberty and texinfo with clang-16.ok robert@
show more ...
Pass CC/CFLAGS/LDFLAGS to the configure script. ok millert@
provide missing prototypesthis may actually result in bogus error messages, because int != char*okay jca@
remove misc. depend and yacc nits that no longer matter.okay millert@
Make libiberty test programs compile and run without segfault.
mark files as BUILDFIRST, or write explicit dependencies, so that mostprograms will build even without a make depend first.okay tb@ millert@
quote ${CC} expansion, from andreas.kahari at icm uu se, ok mpi@
On xmalloc failure, stop trying to determine the total amount of allocatedmemory up to this point by using sbrk(2). This is of course wildly incorrectfor any mmap-based malloc(3).This also makes
On xmalloc failure, stop trying to determine the total amount of allocatedmemory up to this point by using sbrk(2). This is of course wildly incorrectfor any mmap-based malloc(3).This also makes it possible to bring pledge(2) to gnu/.comments kettenis@, ok miod@
Fix CVE-2012-3509, an integer overflow in libiberty, leading toheap-buffer overflow.From Sebastian Trahm; OK deraadt@
Prefer strdup() to malloc() + strcpy() and ftello() to ftell()ok deraadt@ guenther@ millert@
Finally ``revert'' to the recent pexecute interface, now that we do not needto support gcc 2.95. Tested on gcc 3 and gcc 4 platforms, riding on themajor bump.
Now that gcc 2.95 is out of the tree, get rid of the old hash table interfaceit was the only user of. Bump major.
Switch time_t, ino_t, clock_t, and struct kevent's ident and datamembers to 64bit types. Assign new syscall numbers for (almostall) the syscalls that involve the affected types, including anything
Switch time_t, ino_t, clock_t, and struct kevent's ident and datamembers to 64bit types. Assign new syscall numbers for (almostall) the syscalls that involve the affected types, including anythingwith time_t, timeval, itimerval, timespec, rusage, dirent, stat,or kevent arguments. Add a d_off member to struct dirent and replacegetdirentries() with getdents(), thus immensely simplifying andaccelerating telldir/seekdir. Build perl with -DBIG_TIME.Bump the major on every single base library: the compat bits includedhere are only good enough to make the transition; the T32 compatoption will be burned as soon as we've reached the new world areare happy with the snapshots for all architectures.DANGER: ABI incompatibility. Updating to this kernel requires extrawork or you won't be able to login: install a snapshot instead.Much assistance in fixing userland issues from deraadt@ and tedu@and build assistance from todd@ and otto@
remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.ok guenther@
Compile the v3 demangler support code in libiberty, bump minor. Will be usedin a not-so-distant future.ok kettenis@ (some time ago)
make gcc4 lib sprintf/strcpy free.activate proper C99 stuff.fix locale support when there's no locale.work common with kettenis@
Add fopen_unlocked.c pex-unix.c pex-common.c unlink-if-ordinary.c tothe list of built files and switch the md5.h header to the libibertyone. This change is needed by gcc4 and it is a major library
Add fopen_unlocked.c pex-unix.c pex-common.c unlink-if-ordinary.c tothe list of built files and switch the md5.h header to the libibertyone. This change is needed by gcc4 and it is a major library crank forlibiberty.tested by many people on many architectures and finally ok'd by deraadt@
bump
Enable the use of __attribute__ ((__nonnull__)) unconditionally under OpenBSD,as has been done for the __sentinel__ attribute, since all toolchains supportit.
Put back sprintf -> snprintf changes which have been lost accidentally in thelast update.
Put back the diff made between rev. 1.1.1.3 and 1.3ok miod@
Merge OpenBSD specific changes:- pexecute implementation replaced with the older gcc 2.95 implementation, as gcc 2.95's collect2 relies upon an implementation behaviour which has been lost in fu
Merge OpenBSD specific changes:- pexecute implementation replaced with the older gcc 2.95 implementation, as gcc 2.95's collect2 relies upon an implementation behaviour which has been lost in further libiberty updates.- keep the old hash table interfaces, which are used by gcc 2.95.- keep the OpenBSD replacement for the md5 interface.- keep the OpenBSD strl{cat,cpy} and snprinft usage.Bump libiberty minor version due to the addition of a few new symbols.
Update libiberty to the version found in binutils 2.17.1 (which stillidentifies itself as the gcc 3 version...)
makeinfo --no-split, simplifies sets immensely.Approved deraadt@, kettenis@
strcpy->strlcpy, needed by libstdc++ actually.
123