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.

Submitter:  David Lawrence Ramsey <dolorous>
Submitted:  Fri 14 Jun 2013 07:51:38 PM UTC
   
 
Priority:  5 - Normal Status:  Done
Privacy:  Public Assigned to:  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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-4448.
    Corresponding source code