diff options
| author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
|---|---|---|
| committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
| commit | 709e8f9ae1d734c1a163c9b421df4b8153939ce7 (patch) | |
| tree | 15a9c7203efd47ba6dde2896fdb6327dddd4547f /usr.sbin/pkg_install/lib/file.c | |
| parent | 010f5413b5781bc362fde190ec835a424ec8d28e (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pkg_install/lib/file.c')
| -rw-r--r-- | usr.sbin/pkg_install/lib/file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c index e4c413bce59c..29d969c59de1 100644 --- a/usr.sbin/pkg_install/lib/file.c +++ b/usr.sbin/pkg_install/lib/file.c @@ -1,5 +1,5 @@ #ifndef lint -static const char *rcsid = "$Id: file.c,v 1.8 1995/04/26 15:08:20 jkh Exp $"; +static const char *rcsid = "$Id: file.c,v 1.9 1995/05/10 23:00:16 jkh Exp $"; #endif /* @@ -161,7 +161,7 @@ Boolean connectionAborted = FALSE; static int _fileGetIO(FTP *ftp, int n, char *s ) -{ +{ printf("In IO: %s\n", s); return 0; } @@ -262,7 +262,7 @@ fileFindByPath(char *fname) cp = getenv("PKG_PATH"); while (cp) { char *cp2 = strsep(&cp, ":"); - + snprintf(tmp, FILENAME_MAX, "%s/%s.tgz", cp2 ? cp2 : cp, fname); if (fexists(tmp)) return tmp; @@ -389,7 +389,7 @@ unpack(char *pkg, char *flist) } /* Using fmt, replace all instances of: - * + * * %F With the parameter "name" * %D With the parameter "dir" * %B Return the directory part ("base") of %D/%F |
