Some warning fixes, documentation update.
Alan Coopersmith (1):
Add README with pointers to mailing list, bugzilla & git repos
Paulo Cesar Pereira de Andrade (1):
Janitor: Correct sparse warnings.
Peter Hutterer (1):
libICE 1.0.6
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
X.Org found in NetBSD-current.
Thanks a lot to all who helped, especially Matthias Scheler who did
repeated tests on Mac OS X and older versions of NetBSD to make sure the
support for those platforms wouldn't be broken (or at least, not fatally,
as I would still expect a few hiccups here and there, because there is
only so much one can test in such limited time).
On the infrastructure side, this branch brings pkgconfig-builtin.mk, in
order to write very easily new builtin.mk files. It can actually handle
more than just pkgconfig files, but it will provide a version if it finds
such a file. x11.builtin.mk has also been made more useful and now all
existing (and future!) native-X11-related builtin.mk files should include
it.
Version bump: 1.0.4
Add $(AM_CFLAGS) to lint flags to get correct Xtrans flags
Replace many malloc(strlen()); strcpy() pairs with strdup()
Provide ANSI C prototypes for more static functions
Convert authutil.c static helpers to ANSI C prototypes to clear
sparse warnings
Add hooks for checking source code with lint/sparse/etc.
Coverity #1086: Double free of pointer "*listenObjsRet"
Same bug, different function.
Coverity #1085: Double free of pointer "*listenObjsRet"
If malloc failed in the loop in IceListenForConnections, the error path
would free all previous allocations, then loop around and try again, and
if it failed again, free the previous allocations again. On the other
hand, if it succeeded on the later tries, then the memory would just be
leaked, since the error would be returned and not the pointer to them.
Add *~ to .gitignore to skip emacs/patch droppings