DragonFly-2.1.1.284.gf7e30 master lib/libutil Makefile libutil.h pw_scan.c usr.bin/chpass Makefile chpass.1 chpass.c chpass.h edit.c field.c pathnames.h pw_copy.c pw_copy.h pw_yp.c pw_yp.h table.c util.c

Peter Avalos pavalos at crater.dragonflybsd.org
Sat Jan 3 08:49:41 PST 2009


commit f7e3064f83c9a8e68c1f1782081e09631fb49a67
Author: Peter Avalos <pavalos at theshell.com>
Date:   Sun Dec 28 12:40:34 2008 -0500

    Use libutil and libypclnt in chpass for passwd manipulations.
    
    While I'm here, WARNS and style cleanups.
    
    Obtained-from: FreeBSD

Summary of changes:
 lib/libutil/Makefile       |    2 +-
 lib/libutil/libutil.h      |   13 +-
 lib/libutil/pw_scan.c      |  198 -----------------
 usr.bin/chpass/Makefile    |   71 ++----
 usr.bin/chpass/chpass.1    |   14 +-
 usr.bin/chpass/chpass.c    |  271 +++++++++++------------
 usr.bin/chpass/chpass.h    |   26 ++-
 usr.bin/chpass/edit.c      |  297 ++++++++++++++------------
 usr.bin/chpass/field.c     |  102 +++++-----
 usr.bin/chpass/pathnames.h |   39 ----
 usr.bin/chpass/pw_copy.c   |  174 ---------------
 usr.bin/chpass/pw_copy.h   |   38 ----
 usr.bin/chpass/pw_yp.c     |  527 --------------------------------------------
 usr.bin/chpass/pw_yp.h     |  127 -----------
 usr.bin/chpass/table.c     |   33 ++--
 usr.bin/chpass/util.c      |   57 ++++-
 16 files changed, 468 insertions(+), 1521 deletions(-)
 delete mode 100644 lib/libutil/pw_scan.c
 delete mode 100644 usr.bin/chpass/pathnames.h
 delete mode 100644 usr.bin/chpass/pw_copy.c
 delete mode 100644 usr.bin/chpass/pw_copy.h
 delete mode 100644 usr.bin/chpass/pw_yp.c
 delete mode 100644 usr.bin/chpass/pw_yp.h

http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=f7e3064f83c9a8e68c1f1782081e09631fb49a67


-- 
DragonFly BSD source repository





More information about the Commits mailing list