patchGNU nano - Patches: patch #8076, SVN r4580: Fix compilation with...


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

patch #8076: SVN r4580: Fix compilation with --enable-tiny; fix warning with -pedantic.

Submitted by:  David Lawrence Ramsey <dolorous>
Submitted on:  Fri 14 Jun 2013 07:51:38 PM UTC  
Priority:  5 - Normal Status:  Done
Privacy:  Public Assigned to:  Benno Schulenberg <bens>
Open/Closed:  Closed Release:  None

Fri 14 Jun 2013 07:51:38 PM UTC, original submission:

The attached patch fixes the following minor issues with trunk:

1. One reference to the copy_text variable in cut.c is not in ENABLE_TINY #ifdefs when it needs to be, which makes compilation in tiny mode fail since the copy_text variable is compiled out in tiny mode.

2. One more (char *) cast is needed for pedantic purposes (again, using g++ as the compiler and "-g3 -Wall -pedantic" as CFLAGS; it's still dubious, but it still warns about things gcc misses).

3. Finally, some inconsistent spacing around these chunks of code is fixed.

Thanks in advance.

David Lawrence Ramsey <dolorous>
Project Administrator


Attached Files
file #28319:  nano4580pedantic.patch added by dolorous (1KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bens (Updated the item)
  • -email is unavailable- added by dolorous (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-22 bens StatusNone => Done
        Assigned toNone => bens
        Open/ClosedOpen => Closed
    2013-06-14 dolorous Attached File- => Added nano4580pedantic.patch, #28319

    Back to the top

    Powered by Savane 3.3