]> andersk Git - openssh.git/commitdiff
- (djm) Use printf %lld instead of %qd in sftp-server.c. Fix from
authordjm <djm>
Sat, 23 Sep 2000 03:58:32 +0000 (03:58 +0000)
committerdjm <djm>
Sat, 23 Sep 2000 03:58:32 +0000 (03:58 +0000)
   Michael Stone <mstone@cs.loyola.edu>

ChangeLog
sftp-server.c

index a51215d8bef5d499d0190305cb69d7392dc61dcc..a20e9ad54d2e1ffc4e68d8b59b3126f968177f56 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,8 @@
  - (djm) Tweak password expiry checking at suggestion of Kevin Steves 
    <stevesk@sweden.hp.com>
  - (djm) NeXT patch from Ben Lindstrom <mouring@pconline.com>
+ - (djm) Use printf %lld instead of %qd in sftp-server.c. Fix from 
+   Michael Stone <mstone@cs.loyola.edu>
 
 20000920
  - (djm) Fix bad path substitution. Report from Andrew Miner
index c5cd47b7dc64fa012e33f8e42eb4eb23d93ba277..538e5e2677b3594e827c1110b1cf158b00fe1170 100644 (file)
@@ -545,7 +545,7 @@ process_read(void)
        len = get_int();
 
        off = (((u_int64_t) off_high) << 32) + off_low;
-       TRACE("read id %d handle %d off %qd len %d", id, handle, off, len);
+       TRACE("read id %d handle %d off %lld len %d", id, handle, off, len);
        if (len > sizeof buf) {
                len = sizeof buf;
                log("read change len %d", len);
@@ -587,7 +587,7 @@ process_write(void)
        data = get_string(&len);
 
        off = (((u_int64_t) off_high) << 32) + off_low;
-       TRACE("write id %d handle %d off %qd len %d", id, handle, off, len);
+       TRACE("write id %d handle %d off %lld len %d", id, handle, off, len);
        fd = handle_to_fd(handle);
        if (fd >= 0) {
                if (lseek(fd, off, SEEK_SET) < 0) {
@@ -780,7 +780,7 @@ char *
 ls_file(char *name, struct stat *st)
 {
        char buf[1024];
-       snprintf(buf, sizeof buf, "0%o %d %d %qd %d %s",
+       snprintf(buf, sizeof buf, "0%o %d %d %lld %d %s",
            st->st_mode, st->st_uid, st->st_gid, (long long)st->st_size,(int) st->st_mtime,
            name);
        return xstrdup(buf);
This page took 0.055229 seconds and 5 git commands to generate.