diff options
| author | Richard M. Stallman | 1995-11-21 16:56:17 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-11-21 16:56:17 +0000 |
| commit | 6000fe37361574fcecf997c19429bc0646fccc10 (patch) | |
| tree | ea2a27226e4b3e5198ca03e22d7d5200d5235b16 /src | |
| parent | 629aa3cbaf1d19b26203007d42b919baa2b1166e (diff) | |
| download | emacs-6000fe37361574fcecf997c19429bc0646fccc10.tar.gz emacs-6000fe37361574fcecf997c19429bc0646fccc10.zip | |
(main): Add LINUX_SBRK_BUG conditional call to __sbrk.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index 51dcdd10b66..052546a13ca 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -419,6 +419,10 @@ main (argc, argv, envp) | |||
| 419 | extern int errno; | 419 | extern int errno; |
| 420 | extern sys_nerr; | 420 | extern sys_nerr; |
| 421 | 421 | ||
| 422 | #ifdef LINUX_SBRK_BUG | ||
| 423 | __sbrk (1); | ||
| 424 | #endif | ||
| 425 | |||
| 422 | sort_args (argc, argv); | 426 | sort_args (argc, argv); |
| 423 | 427 | ||
| 424 | if (argmatch (argv, argc, "-version", "--version", 3, NULL, &skip_args)) | 428 | if (argmatch (argv, argc, "-version", "--version", 3, NULL, &skip_args)) |