<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glibc/stdlib/msort.c, branch cvs/ChangeLog</title>
<subtitle>Fork of glibc for development</subtitle>
<id>https://git.zx2c4.com/glibc/atom/stdlib/msort.c?h=cvs%2FChangeLog</id>
<link rel='self' href='https://git.zx2c4.com/glibc/atom/stdlib/msort.c?h=cvs%2FChangeLog'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/'/>
<updated>2002-09-24T04:24:25Z</updated>
<entry>
<title>* catgets/open_catalog.c (__open_catalog): Don't use a value type</title>
<updated>2002-09-24T04:24:25Z</updated>
<author>
<name>Roland McGrath</name>
<email>roland@gnu.org</email>
</author>
<published>2002-09-24T04:24:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=57b36a0a75d5a7577758d5238da92594f8151a81'/>
<id>urn:sha1:57b36a0a75d5a7577758d5238da92594f8151a81</id>
<content type='text'>
	as the __builtin_expect expression, just the Boolean value.

	* sysdeps/generic/wordexp.c (parse_glob): int -&gt; size_t for counter.
	* sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
	* resolv/res_hconf.c (arg_service_list, parse_line): Likewise.
	* iconvdata/tst-loading.c (main): Likewise.
	* catgets/tst-catgets.c (main): Likewise.
	* stdlib/tst-xpg-basename.c (main): Likewise.
	* stdlib/tst-bsearch.c (main): Likewise.
	* stdio-common/test-vfprintf.c (main): Likewise.
	* stdio-common/tst-rndseek.c (do_test): Likewise.
	* libio/tst_swprintf.c (main): Likewise.
	* libio/tst-fgetws.c (main): Likewise.
	* wcsmbs/tst-mbrtowc.c (check_ascii): Likewise.
	* time/tst-posixtz.c (main): Likewise.
	* time/tst-strptime.c (test_tm): Likewise.
	* time/tst-strptime.c (main): Likewise.
	* time/tst-getdate.c (main): Likewise.
	* posix/tst-mmap.c (main): Likewise.
	* posix/tst-getaddrinfo.c (do_test): Likewise.
	* io/tst-getcwd.c (do_test): Likewise.
	* resolv/tst-aton.c (main): Likewise.
	* inet/tst-network.c (main): Likewise.
	* libio/tst-fgetws.c (main): Likewise.
	* sysdeps/posix/sprofil.c (add_region): int -&gt; unsigned int for I.
	* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): int -&gt; unsigned int
	for PTYNO.

	* stdlib/msort.c (qsort): Add a cast to silence warning.
	* stdio-common/vfprintf.c (process_string_arg): Likewise.
	* libio/oldfileops.c (_IO_old_do_write): Likewise.
	* sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Likewise.
	* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
	* sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
	* argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
	* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
	* sysdeps/unix/grantpt.c (grantpt): Likewise.
	* libio/tst-widetext.c (main): Likewise.
	* libio/tst-mmap2-eofsync.c (do_test): Likewise.
	* rt/tst-aio.c (test_file): Likewise.
	* rt/tst-aio64.c (test_file): Likewise.
	* resolv/tst-aton.c (main): Likewise.

	* catgets/catgetsinfo.h (CATGETS_MAGIC): Use U suffix on the constant.

	* ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t
	instead of uint32_t in these macros.
</content>
</entry>
<entry>
<title>* include/stdlib.h: Use libc_hidden_proto for qsort.</title>
<updated>2002-08-03T22:26:33Z</updated>
<author>
<name>Roland McGrath</name>
<email>roland@gnu.org</email>
</author>
<published>2002-08-03T22:26:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=284128f68f27567f9cad0078c97d7d807475e0a7'/>
<id>urn:sha1:284128f68f27567f9cad0078c97d7d807475e0a7</id>
<content type='text'>
	* stdlib/msort.c: Add libc_hidden_def.

	* include/utime.h: Use libc_hidden_proto for utime.
	* sysdeps/generic/utime.c: Add libc_hidden_def.
	* sysdeps/unix/utime.c: Likewise.

	* sysdeps/generic/utmp_file.c (LOCK_FILE): sigemptyset -&gt; __sigemptyset
	* sysdeps/posix/profil.c (__profil): sigfillset -&gt; __sigfillset
	* sysdeps/posix/sprofil.c (__sprofil): Likewise.
	* shadow/lckpwdf.c (__lckpwdf): Likewise (both).
	* sysdeps/posix/spawni.c (__spawni): sigismember -&gt; __sigismember

	* include/signal.h: Use libc_hidden_proto for raise, sigemptyset,
	sigfillset, sigismember, __sigpause, __libc_current_sigrtmin,
	and __libc_current_sigrtmax.
	* signal/sigismem.c: Add libc_hidden_def.
	* signal/sigfillset.c: Likewise.
	* signal/sigempty.c: Likewise.
	* sysdeps/generic/sigpause.c (__sigpause): Likewise.
	* sysdeps/posix/sigpause.c (__sigpause): Likewise.
	* sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
</content>
</entry>
<entry>
<title>Update.</title>
<updated>2002-01-29T07:54:51Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>2002-01-29T07:54:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=fa8d436c87f156d18208df3819fecee9fc1dbd9e'/>
<id>urn:sha1:fa8d436c87f156d18208df3819fecee9fc1dbd9e</id>
<content type='text'>
2002-01-18  Wolfram Gloger  &lt;wg@malloc.de&gt;

	* malloc/malloc.c: Rewrite, adapted from Doug Lea's malloc-2.7.0.c.
	* malloc/malloc.h: Likewise.
	* malloc/arena.c: New file.
	* malloc/hooks.c: New file.
	* malloc/tst-mallocstate.c: New file.
	* malloc/Makefile: Add new testcase tst-mallocstate.
	Add arena.c and hooks.c to distribute.  Fix commented CPPFLAGS.

2002-01-28  Ulrich Drepper  &lt;drepper@redhat.com&gt;

	* stdlib/msort.c: Remove last patch.  The optimization violates the
	same rule which qsort.c had problems with.

2002-01-27  Paul Eggert  &lt;eggert@twinsun.com&gt;

	* stdlib/qsort.c (_quicksort): Do not apply the comparison function
	to a pivot element that lies outside the array to be sorted, as
	ISO C99 requires that the comparison function be called only with
	addresses of array elements [PR libc/2880].
</content>
</entry>
<entry>
<title>Update.</title>
<updated>2002-01-18T06:26:02Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>2002-01-18T06:26:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=b750d5e7a17cefe2ebd9f105111a62fb14d24d46'/>
<id>urn:sha1:b750d5e7a17cefe2ebd9f105111a62fb14d24d46</id>
<content type='text'>
2002-01-16  Roger Sayle  &lt;roger@eyesopen.com&gt;

	* stdlib/msort.c (msort_with_tmp): Replace implementation with
	more efficient "Towers of Hanoi" mergesort.
	(hanoi_sort, hanoi_sort_int, hanoi_sort_long): New functions,
	for generic, sizeof(int) and sizeof(long) variants respectively.

	* manial/syslog.texi (openlog): Describe possible problems with
	first parameter.
	Patch by Christopher Allen Wing &lt;wingc@engin.umich.edu&gt;.
</content>
</entry>
<entry>
<title>Update to LGPL v2.1.</title>
<updated>2001-07-06T04:58:11Z</updated>
<author>
<name>Andreas Jaeger</name>
<email>aj@suse.de</email>
</author>
<published>2001-07-06T04:58:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=41bdb6e20c5d2df34a740cbd70e11c05025dfd12'/>
<id>urn:sha1:41bdb6e20c5d2df34a740cbd70e11c05025dfd12</id>
<content type='text'>
2001-07-06  Paul Eggert  &lt;eggert@twinsun.com&gt;

	* manual/argp.texi: Remove ignored LGPL copyright notice; it's
	not appropriate for documentation anyway.
	* manual/libc-texinfo.sh: "Library General Public License" -&gt;
	"Lesser General Public License".

2001-07-06  Andreas Jaeger  &lt;aj@suse.de&gt;

	* All files under GPL/LGPL version 2: Place under LGPL version
	2.1.
</content>
</entry>
<entry>
<title>(qsort): Don't use alloca in a function call.</title>
<updated>2001-03-05T19:14:54Z</updated>
<author>
<name>Andreas Jaeger</name>
<email>aj@suse.de</email>
</author>
<published>2001-03-05T19:14:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=587bf4adcd189f758557e6b7083dfa35364f8cdb'/>
<id>urn:sha1:587bf4adcd189f758557e6b7083dfa35364f8cdb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update.</title>
<updated>2000-02-28T08:14:33Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>2000-02-28T08:14:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=8358825c703091ef71f4e8a49d0186343c67368c'/>
<id>urn:sha1:8358825c703091ef71f4e8a49d0186343c67368c</id>
<content type='text'>
2000-02-28  Ulrich Drepper  &lt;drepper@redhat.com&gt;

	* stdlib/msort.c (qsort): Limit the amount of memory spend on a
	temporary array for the mergesort.
</content>
</entry>
<entry>
<title>Update.</title>
<updated>1999-10-28T21:38:59Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>1999-10-28T21:38:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=061d137bd7c64e3f80ec524685c4bccf98248f58'/>
<id>urn:sha1:061d137bd7c64e3f80ec524685c4bccf98248f58</id>
<content type='text'>
1999-10-26  Andreas Jaeger  &lt;aj@suse.de&gt;

	* stdlib/msort.c: Include &lt;alloca.h&gt; for prototype.
	Remove K&amp;R compatibility and _quicksort prototype.

	* stdlib/qsort.c: Make code and comments 64 bit clean; clarify
	some comments.
	Reported by Bernd Löchner &lt;loechner@informatik.uni-kl.de&gt;.
	Remove K&amp;R compatibility.
	Move prototype declaration to include/stdlib.h.
	Include &lt;alloca.h&gt; for prototype; include &lt;limits.h&gt; for CHAR_BIT.

	* include/stdlib.h: Prototype declaration for _quicksort.
</content>
</entry>
<entry>
<title>Update.</title>
<updated>1997-11-06T00:02:46Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>1997-11-06T00:02:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=86187531d302de284b67ac162cf76c60c86bd7da'/>
<id>urn:sha1:86187531d302de284b67ac162cf76c60c86bd7da</id>
<content type='text'>
1997-11-06 00:06  Ulrich Drepper  &lt;drepper@cygnus.com&gt;

	* argp/argp-help.c: Optimize a bit by using mempcpy.
	* elf/dl-load.c: Likewise.
	* elf/dl-lookup.c: Likewise.
	* inet/rcmd.c: Likewise.
	* io/ftw.c: Likewise.
	* libio/fileops.c: Likewise.
	* libio/genops.c: Likewise.
	* libio/obprintf.c: Likewise.
	* nss/nsswitch.c: Likewise.
	* posix/execvp.c: Likewise.
	* posix/getopt.c: Likewise.
	* posix/glob.c: Likewise.
	* posix/wordexp.c: Likewise.
	* stdio-common/vfprintf.c: Likewise.
	* stdlib/canonicalize.c: Likewise.
	* stdlib/msort.c: Likewise.
	* string/argz-replace.c: Likewise.
	* sysdeps/generic/putenv.c: Likewise.
	* sysdeps/generic/setenv.c: Likewise.
	* sysdeps/posix/getcwd.c: Likewise.
	* sysdeps/posix/ttyname.c: Likewise.
	* sysdeps/posix/writev.c: Likewise.
	* time/strftime.c: Likewise.
	* time/tzfile.c: Likewise.

	* login/utmp_daemon.c: Use memcpy instead of strcpy where possible.
	* sunrpc/svcauth_des.c: Likewise.
	* sysdeps/unix/sysv/linux/gethostname.c: Likewise.

	* misc/tsearch.c: Use memcpy return value if possible.
	* posix/regex.c: Likewise.
	* sysdeps/unix/readdir_r.c: Likewise.
	* wcsmbc/wcsdup.c: Likewise.

	* nss/digits_dots.c: Little optimization.

	* inet/ruserpass.c (ruserpass): Optimize by using stpcpy.
	(struct toktab): Make tokstr field a const char *.

	* elf/dl-profile.c: Fix typo.

	* inet/ether_ntoh.c: Don't use relative #include path.
	* inet/gethstbynm.c: Likewise.
	* resolv/inet_pton.c: Likewise.
	* shadow/sgetspent_r.c: Likewise.

	* libio/oldfileops.c (_IO_old_file_jumps): Use correct sync and write
	callbacks.  Patch by NIIBE Yutaka &lt;gniibe@mri.co.jp&gt;.

	* posix/confstr.c: Correct string for _CS_LFS_CFLAGS.
	Handle _CS_XBS5_* constants.
	* posix/unistd.h: Add comment describing _XBS5_* constants.
	* sysdeps/generic/bits/confname.h: Add _CS_XBS5_* constants.

	* posix/regex.c: Indent preprocessor code.

	* posix/wordexp.c: Using _itoa_word instead of sprintf.

	* stdlib/canonicalize.c: Avoid unnecessary copying.  Handle NULL
	and "" arguments correctly according to SUS.
	* stdlib/test-canon.c: Test "" and NULL argument handling.

	* sysdeps/posix/writev.c: Correct condition to leave the loop.

1997-11-05 18:13  Ulrich Drepper  &lt;drepper@cygnus.com&gt;

	* nss/getXXbyYY.c: Set buffer to NULL if realloc fails so that possible
	next call starts with malloc again.
	Proposed by Joe Keane &lt;jgk@jgk.org&gt;.

1997-11-04 23:57  Ulrich Drepper  &lt;drepper@cygnus.com&gt;

	* configure.in: Correct gcc -pipe test.
	Patch by Zack Weinberg &lt;zack@rabi.phys.columbia.edu&gt;.

	* posix/glob.c: Cleanups.  Patch by H.J. Lu &lt;hjl@lucon.org&gt;.

1997-11-04  Andreas Jaeger  &lt;aj@arthur.rhein-neckar.de&gt;

	* manual/creature.texi (Feature Test Macros): Add _POSIX_C_SOURCE
	definition.
</content>
</entry>
<entry>
<title>update from main archive 970214</title>
<updated>1997-02-15T02:32:58Z</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@redhat.com</email>
</author>
<published>1997-02-15T02:32:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/glibc/commit/?id=7434ccadbb6897d366d2377f84efe1e2cd61b02b'/>
<id>urn:sha1:7434ccadbb6897d366d2377f84efe1e2cd61b02b</id>
<content type='text'>
1997-02-13 11:44  Andreas Jaeger  &lt;aj@arthur.pfalz.de&gt;

	* stdlib/qsort.c: Add prototype for _quicksort.

	* stdlib/msort.c (qsort): Correct prototype for _quicksort.

	* sysdeps/i386/Makefile (CFLAGS-rtld.c): Change to prevent warning
	from dl-machine.h.

1997-02-13 18:18  Marcus G. Daniels  &lt;marcus@sysc.pdx.edu&gt;

	* sysdeps/generic/dl-cache.c: Don't hardwire name of cache file.
	Allow user to overwrite it.

1997-02-13 17:55  Ulrich Drepper  &lt;drepper@cygnus.com&gt;

	* libio/_G_config.h: Make sure win_t is also defined for old gcc
	versions.  Reported by Andreas Jaeger.

1997-02-13 11:44  Andreas Jaeger  &lt;aj@arthur.pfalz.de&gt;

	* db/btree/bt_split.c (bt_psplit): Fix typo in  change of
	1997-02-12.

	* time/tzfile.c (__tzfile_read): Change comment to follow
	change of 1997-02-12.
</content>
</entry>
</feed>
