=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/tildexpand.c,v retrieving revision 1.6 retrieving revision 1.6.2.4 diff -u -r1.6 -r1.6.2.4 --- src/usr.bin/ssh/Attic/tildexpand.c 1999/12/06 19:10:38 1.6 +++ src/usr.bin/ssh/Attic/tildexpand.c 2001/03/21 18:53:18 1.6.2.4 @@ -2,14 +2,20 @@ * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland * All rights reserved - * Created: Wed Jul 12 01:07:36 1995 ylo + * + * As far as I am concerned, the code I have written for this software + * can be used freely for any purpose. Any derived versions of this + * software must be clearly marked as such, and if the derived work is + * incompatible with the protocol description in the RFC file, it must be + * called by a name other than "ssh" or "Secure Shell". */ #include "includes.h" -RCSID("$Id: tildexpand.c,v 1.6 1999/12/06 19:10:38 deraadt Exp $"); +RCSID("$OpenBSD: tildexpand.c,v 1.6.2.4 2001/03/21 18:53:18 jason Exp $"); #include "xmalloc.h" -#include "ssh.h" +#include "log.h" +#include "tildexpand.h" /* * Expands tildes in the file name. Returns data allocated by xmalloc. @@ -19,7 +25,7 @@ tilde_expand_filename(const char *filename, uid_t my_uid) { const char *cp; - unsigned int userlen; + u_int userlen; char *expanded; struct passwd *pw; char user[100];