summaryrefslogtreecommitdiff
path: root/usr.bin/bzip2recover/Makefile
AgeCommit message (Expand)Author
2012-05-07Adapt to repository move of dist from external/bsd/bzip2 towiz
2012-05-07Finish move of bzip2 from dist/bzip2 to external/bsd/bzip2.wiz
2007-05-28Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on thetls
2002-09-18makefile delint. use NETBSDSRCDIR as appropriatelukem
2002-08-27Implement MKDYNAMICROOT, which currently defaults to "no", but willlukem
2001-12-12MKfoo=no -> NOfootv
2001-06-03Update to bzip2 v1.0.1, building with reachover Makefiles to dist/bzip2.simonb
1999-02-12Remove bsd.own.mk include; it doesn't appear to be necessary.cjs
1999-02-12Change NOMAN=1 to MKMAN=no, becuase bsd.own.mk is included before NOMANcjs
1998-09-14Add NetBSD-specific Makefile.ross
14-01-20vfwprintf: fix error propagationyamt PR/47660 (Julio Merino) 2013-09-23Make compile with -DNO_FLOATING_POINTpooka 2013-05-17Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.joerg Provide LC_GLOBAL_LOCALE in a way that works with all locale functions. Merge constant data used by the initial global locale and the C locale. Drop function call layer for _current_locale() and directly return the locale reference, not a pointer to it. Use protected access for global variables, so that libc references can avoid the GOT overhead. 2013-04-19Add explicit locale versions for the printf family. Replace asprintf,joerg snprintf and sprintf with simple wrappers around the corresponding va_list functions to reduce code duplication. 2012-03-27- widen the internal read and write calls to match the syscallschristos - add funopen2() which provides access to flush() and the wider calls. - make use of the new flush call in fmemopen() 2012-03-21unsigned char portability castschristos 2012-03-15- ansify, knf.christos - no functional changes 2012-03-13PR/45989: Martin Husemann: lint invocation does include -w only on i386christos - turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values to types that would not fit. - change types, add casts - change into ansii prototypes - turn on _DIAGNOSTIC for libc (during current, to be eliminated for release builds) approved by core@ 2012-02-17remove unused variablechristos 2012-02-17Fix: CVE-2012-0864 fprintf() positional argument abuse.christos Described in: http://www.phrack.org/issues.html?issue=67&id=9#article Reported by Stefan Cornelius / Red Hat Security Response Team - convert internal positional arguments bookkeeping from int to size_t - provide overflow protection in positional argument spec - convert loops to memset - fix memory leaks - limit positional argument stack offset to the number of arguments required by the printf to avoid coredump from va_arg() exhaustion. 2011-08-17fix the rest of libc mi gcc-4.5 hacks. portmasters should fix the md ones.christos 2010-12-16Observe the following spelling:wiz - wide character (noun) - wide-character (adjective) Inspired by jmc@OpenBSD. 2010-11-19PR/44113: Nicolas Joly: printf(3) should ignore zero padding for nan/infchristos 2010-07-31initialize fake FILE, not fp.tnozaki 2010-07-31undo unrelated diff.christos 2010-07-31fix coredump vfwprintf(stderr) reported in current-user@tnozaki rework rev1.9, _FILEEXT_SETUP() doesn't care wcio_data. so initialize it. 2009-10-25revert some of dsl's changes to make things build on i386; he can undo whatchristos he wants when he comes back. 2009-10-24Remove a load of pointless casts - one that even lint doesn't bleat about.dsl 2009-08-05If the current locale doesn't define the 'thousands' grouping infodsl then use sane defaults (',' every 3 digits). Fixes PR/40714 2009-02-20printf("%zi\n", (ssize_t)-1); now correcly prints -1 on i386roy ok: christos 2009-01-30sign-compare fixlukem 2008-06-05fix a "typo" which prevented %ls from working in printf() (NARROW case).aymeric Among other things, nvi displays options correctly now. 2008-03-21Don't coredump on out of memory conditions. This solution leaks, but gdtoachristos is too complicated to fix. Try printf %99999999999.9999999999f 2 2008-03-13Since _file is a short, check that the fd fits in it, otherwise bail withchristos EMFILE. We treat _file as an unsigned short to double our range, with a special case for -1 (closed). Make a note of what we should do about stdio if we ever bump libc. We could change _file in the future compatibly to an int by putting it in the extension space but for now we don't bother. 2007-02-03- merge change from freebsdchristos - add support for building as vfprintf.c - XXX: we strdup to simplify the freeing logic. This should be fixed for efficiency in the vfprintf case. 2006-10-01fwprintf(stderr) may coredump, when LC_CTYPE locale is set none C/POSIX.tnozaki make sure to initialize struct __sfileext in FILE. 2006-05-10quell GCC 4.1 uninitialised variable warnings.mrg XXX: we should audit the tree for which old ones are no longer needed after getting the older compilers out of the tree.. 2006-02-16- s/notyet/WIDE_DOUBLE/christos - Add a little more glue for WIDE_DOUBLE; not done yet. - s/def FLOATING_POINT/ndef NO_FLOATING_POINT/ to reduce diffs with FreeBSD. - fix memory leak where each double formatted leaked 24 by calling __freedtoa() appropriately. the new gdtoa keeps a list of memory chunks allocated by malloc(), and it must maintained properly by calling __freedtoa() on the results of __dtoa() Hi Klaus! - in vfwprintf() make cvt return char * and convert it using __mbsconv(), instead of having it return wchar_t *. This should fix the memory leaks people have been reporting (eg. in top etc.) 2006-01-26bcopy -> memcpykleink 2005-12-02redo the previous (WARNS=4) differently. consitify rather than makingyamt strings writable. 2005-11-29WARNS=4christos 2005-06-15Initialize expsize to appease -Wuninitialized for sh3 and m68000.he Marked with XXXGCC -Wuninitialized [sh3,m68000]. 2005-06-12Ensure nconv isn't used in __mbsconv() before being initialized.lukem Appease gcc -Wuninitialized elsewhere. 2005-05-14Add the missing wide char support functions from freebsd.christos XXX: long double support is missing until we get gdtoa, and add the necessary wide functions.