names of (null).
CVS:
----------------------------------------------------------------------
automatically CVS: CVS: Committing in . CVS: CVS: Modified Files:
----------------------------------------------------------------------
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8922
dc483132-0cff-0310-8789-
dd5450dbe970
+Sat Aug 10 16:22:34 1996 Sam Hartman <hartmans@mit.edu>
+
+ * krcp.c (source): Cast stb.st_size to a long before printing it.
+ On NetBSD, it's a quad, so the following pointer is ignored and
+ all files look null. We could special case NetBSD, but casting is
+ somewhat cleaner if we aren't dealing with 2g+ files.
+e
Mon Jun 24 09:48:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
* krsh.c (main): Fix typo so that krsh doesn't exit when using the
}
}
(void) sprintf(buf, "C%04o %ld %s\n",
- stb.st_mode&07777, stb.st_size, last);
+ (int) stb.st_mode&07777, (long ) stb.st_size, last);
(void) des_write(rem, buf, strlen(buf));
if (response() < 0) {
(void) close(f);