Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(9)

Side by Side Diff: Modules/_ctypes/libffi/src/dlmalloc.c

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Modules/_codecsmodule.c ('k') | Modules/_cursesmodule.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 This is a version (aka dlmalloc) of malloc/free/realloc written by 2 This is a version (aka dlmalloc) of malloc/free/realloc written by
3 Doug Lea and released to the public domain, as explained at 3 Doug Lea and released to the public domain, as explained at
4 http://creativecommons.org/licenses/publicdomain. Send questions, 4 http://creativecommons.org/licenses/publicdomain. Send questions,
5 comments, complaints, performance data, etc to dl@cs.oswego.edu 5 comments, complaints, performance data, etc to dl@cs.oswego.edu
6 6
7 * Version 2.8.3 Thu Sep 22 11:16:15 2005 Doug Lea (dl at gee) 7 * Version 2.8.3 Thu Sep 22 11:16:15 2005 Doug Lea (dl at gee)
8 8
9 Note: There may be an updated version of this malloc obtainable at 9 Note: There may be an updated version of this malloc obtainable at
10 ftp://gee.cs.oswego.edu/pub/misc/malloc.c 10 ftp://gee.cs.oswego.edu/pub/misc/malloc.c
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 #define HAVE_MORECORE 0 450 #define HAVE_MORECORE 0
451 #define LACKS_UNISTD_H 451 #define LACKS_UNISTD_H
452 #define LACKS_SYS_PARAM_H 452 #define LACKS_SYS_PARAM_H
453 #define LACKS_SYS_MMAN_H 453 #define LACKS_SYS_MMAN_H
454 #define LACKS_STRING_H 454 #define LACKS_STRING_H
455 #define LACKS_STRINGS_H 455 #define LACKS_STRINGS_H
456 #define LACKS_SYS_TYPES_H 456 #define LACKS_SYS_TYPES_H
457 #define LACKS_ERRNO_H 457 #define LACKS_ERRNO_H
458 #define MALLOC_FAILURE_ACTION 458 #define MALLOC_FAILURE_ACTION
459 #define MMAP_CLEARS 0 /* WINCE and some others apparently don't clear */ 459 #define MMAP_CLEARS 0 /* WINCE and some others apparently don't clear */
460 #elif !defined _GNU_SOURCE
461 /* mremap() on Linux requires this via sys/mman.h
462 * See roundup issue 10309
463 */
464 #define _GNU_SOURCE 1
465 #endif /* WIN32 */ 460 #endif /* WIN32 */
466 461
467 #if defined(DARWIN) || defined(_DARWIN) 462 #if defined(DARWIN) || defined(_DARWIN)
468 /* Mac OSX docs advise not to use sbrk; it seems better to use mmap */ 463 /* Mac OSX docs advise not to use sbrk; it seems better to use mmap */
469 #ifndef HAVE_MORECORE 464 #ifndef HAVE_MORECORE
470 #define HAVE_MORECORE 0 465 #define HAVE_MORECORE 0
471 #define HAVE_MMAP 1 466 #define HAVE_MMAP 1
472 #endif /* HAVE_MORECORE */ 467 #endif /* HAVE_MORECORE */
473 #endif /* DARWIN */ 468 #endif /* DARWIN */
474 469
(...skipping 4620 matching lines...) Expand 10 before | Expand all | Expand 10 after
5095 * anticosmetics: mangled names in macros to evade debugger strangeness 5090 * anticosmetics: mangled names in macros to evade debugger strangeness
5096 * tested on sparc, hp-700, dec-mips, rs6000 5091 * tested on sparc, hp-700, dec-mips, rs6000
5097 with gcc & native cc (hp, dec only) allowing 5092 with gcc & native cc (hp, dec only) allowing
5098 Detlefs & Zorn comparison study (in SIGPLAN Notices.) 5093 Detlefs & Zorn comparison study (in SIGPLAN Notices.)
5099 5094
5100 Trial version Fri Aug 28 13:14:29 1992 Doug Lea (dl at g.oswego.edu) 5095 Trial version Fri Aug 28 13:14:29 1992 Doug Lea (dl at g.oswego.edu)
5101 * Based loosely on libg++-1.2X malloc. (It retains some of the overall 5096 * Based loosely on libg++-1.2X malloc. (It retains some of the overall
5102 structure of old version, but most details differ.) 5097 structure of old version, but most details differ.)
5103 5098
5104 */ 5099 */
OLDNEW
« no previous file with comments | « Modules/_codecsmodule.c ('k') | Modules/_cursesmodule.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+