patchThe GNU Bourne-Again SHell - Patches: patch #9834, aclocal.m4: fix implicit...


You are not allowed to post comments on this tracker with your current authentication level.

patch #9834: aclocal.m4: fix implicit declaration of function `exit`

Submitted by:  Chris Yungmann <pcchris>
Submitted on:  Fri 19 Jul 2019 01:26:29 AM UTC  
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Open

Sat 20 Jul 2019 07:34:06 PM UTC, comment #1: 

Thanks for the patch.

Chet Ramey <chet>
Project Administrator
Fri 19 Jul 2019 01:26:29 AM UTC, original submission:  

This is an attempt to fix the implicit declaration of function `exit` in aclocal.m4, which at the very least causes issues when running configure with -Werror.

Alternative fixes would be to `#include <stdlib.h>` unconditionally in the test code, add a function declaration for `exit` in the test code, or conditionally `#include <stdlib.h>`/`#include "ansi_stdlib.h"` dependent upon `HAVE_STDLIB_H` and/or `STDC_HEADERS`.

Chris Yungmann <pcchris>


Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by chet (Posted a comment)
  • -email is unavailable- added by pcchris (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-07-20 chet StatusNone => Done
    2019-07-19 pcchris Attached File- => Added 0001-aclocal-fix-implicit-declaration-of-function-exit.patch, #47239

    Back to the top

    Powered by Savane 3.6