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 - NormalStatus: Done
Privacy: PublicAssigned to: Benno Schulenberg <bens>
Open/Closed: ClosedRelease: 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
  • -unavailable- added by bens (Updated the item)
  • -unavailable- added by dolorous (Submitted the item)

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 Feb 2014 10:57:51 AM UTCbensStatusNone=>Done
      Assigned toNone=>bens
    Fri 14 Jun 2013 07:51:38 PM UTCdolorousAttached File-=>Added nano4580pedantic.patch, #28319

    Back to the top

    Powered by Savane 3.1-cleanup1