pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/editors/ex



Module Name:    pkgsrc
Committed By:   dholland
Date:           Fri Dec 28 03:03:09 UTC 2012

Modified Files:
        pkgsrc/editors/ex: Makefile distinfo
        pkgsrc/editors/ex/patches: patch-aa patch-ab patch-ac patch-ad
            patch-exrecover_c
Added Files:
        pkgsrc/editors/ex/patches: patch-ex__addr_c patch-ex__argv_h
            patch-ex__cmds2_c patch-ex__cmds_c patch-ex__cmdsub_c
            patch-ex__get_c patch-ex__io_c patch-ex__proto_h patch-ex__put_c
            patch-ex__re_c patch-ex__set_c patch-ex__subr_c patch-ex__tagio_c
            patch-ex__temp_c patch-ex__tty_c patch-ex__tty_h patch-ex__unix_c
            patch-ex__v_c patch-ex__vadj_c patch-ex__version_c patch-ex__vget_c
            patch-ex__vis_h patch-ex__vmain_c patch-ex__voper_c
            patch-ex__vops2_c patch-ex__vops3_c patch-ex__vops_c
            patch-ex__vput_c patch-ex__vwind_c patch-ex_c patch-expreserve_c
            patch-libterm_libterm_h patch-libterm_termcap_c
            patch-libterm_tgoto_c patch-libterm_tputs_c patch-printf_c

Log Message:
Fix legacy C. Pass -Wall -W -Wmissing-declarations -Wwrite-strings on
gcc45.

   - avoid implicit int, declare void functions void
   - return values from non-void functions
   - put most external declarations properly in header files
   - use some static and const
   - fix up a big mess with function pointer casting
   - use standard includes, don't provide own decls of standard functions
   - use types matching libc when providing own malloc, printf, and putchar
   - use <ctype.h> functions correctly
   - silence assorted compiler warnings
   - fix some bugs exposed by compiler warnings
   - don't intentionally exercise signed overflow
   - remove some unused items
   - add patch comments to other patch (patch-aa)

As this includes several fixes and removes some undefined behavior on
a commonly reachable code path, bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/editors/ex/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/editors/ex/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/editors/ex/patches/patch-aa
cvs rdiff -u -r1.1 -r1.2 pkgsrc/editors/ex/patches/patch-ab \
    pkgsrc/editors/ex/patches/patch-ad \
    pkgsrc/editors/ex/patches/patch-exrecover_c
cvs rdiff -u -r1.4 -r1.5 pkgsrc/editors/ex/patches/patch-ac
cvs rdiff -u -r0 -r1.1 pkgsrc/editors/ex/patches/patch-ex__addr_c \
    pkgsrc/editors/ex/patches/patch-ex__argv_h \
    pkgsrc/editors/ex/patches/patch-ex__cmds2_c \
    pkgsrc/editors/ex/patches/patch-ex__cmds_c \
    pkgsrc/editors/ex/patches/patch-ex__cmdsub_c \
    pkgsrc/editors/ex/patches/patch-ex__get_c \
    pkgsrc/editors/ex/patches/patch-ex__io_c \
    pkgsrc/editors/ex/patches/patch-ex__proto_h \
    pkgsrc/editors/ex/patches/patch-ex__put_c \
    pkgsrc/editors/ex/patches/patch-ex__re_c \
    pkgsrc/editors/ex/patches/patch-ex__set_c \
    pkgsrc/editors/ex/patches/patch-ex__subr_c \
    pkgsrc/editors/ex/patches/patch-ex__tagio_c \
    pkgsrc/editors/ex/patches/patch-ex__temp_c \
    pkgsrc/editors/ex/patches/patch-ex__tty_c \
    pkgsrc/editors/ex/patches/patch-ex__tty_h \
    pkgsrc/editors/ex/patches/patch-ex__unix_c \
    pkgsrc/editors/ex/patches/patch-ex__v_c \
    pkgsrc/editors/ex/patches/patch-ex__vadj_c \
    pkgsrc/editors/ex/patches/patch-ex__version_c \
    pkgsrc/editors/ex/patches/patch-ex__vget_c \
    pkgsrc/editors/ex/patches/patch-ex__vis_h \
    pkgsrc/editors/ex/patches/patch-ex__vmain_c \
    pkgsrc/editors/ex/patches/patch-ex__voper_c \
    pkgsrc/editors/ex/patches/patch-ex__vops2_c \
    pkgsrc/editors/ex/patches/patch-ex__vops3_c \
    pkgsrc/editors/ex/patches/patch-ex__vops_c \
    pkgsrc/editors/ex/patches/patch-ex__vput_c \
    pkgsrc/editors/ex/patches/patch-ex__vwind_c \
    pkgsrc/editors/ex/patches/patch-ex_c \
    pkgsrc/editors/ex/patches/patch-expreserve_c \
    pkgsrc/editors/ex/patches/patch-libterm_libterm_h \
    pkgsrc/editors/ex/patches/patch-libterm_termcap_c \
    pkgsrc/editors/ex/patches/patch-libterm_tgoto_c \
    pkgsrc/editors/ex/patches/patch-libterm_tputs_c \
    pkgsrc/editors/ex/patches/patch-printf_c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index