DragonFly-2.3.0.296.gce3d1 master games/sail assorted.c dr_1.c dr_2.c dr_3.c dr_4.c dr_5.c externs.h parties.c pl_1.c pl_3.c pl_4.c pl_5.c pl_6.c pl_7.c pl_main.c sync.c

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Feb 26 12:56:00 PST 2009


commit ce3d12bed02dc0e73ff23a4cc2d0fde3dcf9c4ba
Author: Sascha Wildner <saw at online.de>
Date:   Thu Feb 26 21:51:57 2009 +0100

    sail(6): Fix amd64 warnings.
    
    The Write() function was being used for printing both numbers and strings
    in an unportable way. Split it into Write() for numbers and Writestr()
    for strings.
    
    Taken-from: NetBSD

Summary of changes:
 games/sail/assorted.c |   30 +++++++++++++-------------
 games/sail/dr_1.c     |   16 +++++++-------
 games/sail/dr_2.c     |   11 ++++-----
 games/sail/dr_3.c     |   16 +++++++-------
 games/sail/dr_4.c     |    4 +-
 games/sail/dr_5.c     |    4 +-
 games/sail/externs.h  |    3 +-
 games/sail/parties.c  |    2 +-
 games/sail/pl_1.c     |    2 +-
 games/sail/pl_3.c     |    4 +-
 games/sail/pl_4.c     |    6 ++--
 games/sail/pl_5.c     |    8 +++---
 games/sail/pl_6.c     |   14 ++++++------
 games/sail/pl_7.c     |    8 +++---
 games/sail/pl_main.c  |    9 ++++---
 games/sail/sync.c     |   57 ++++++++++++++++++++++++++++++-------------------
 16 files changed, 104 insertions(+), 90 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ce3d12bed02dc0e73ff23a4cc2d0fde3dcf9c4ba


-- 
DragonFly BSD source repository





More information about the Commits mailing list