]> Dogcows Code - chaz/tar/blobdiff - src/rmt.h
Updated
[chaz/tar] / src / rmt.h
index 5e20ffd522506f6b173943bcf22e3cde069f8952..d94907113b79204e85adbc2726ef2dad8bdf2c6d 100644 (file)
--- a/src/rmt.h
+++ b/src/rmt.h
@@ -1,7 +1,7 @@
 /* Definitions for communicating with a remote tape drive.
 
-   Copyright (C) 1988, 1992, 1996, 1997, 2001, 2003 Free Software
-   Foundation, Inc.
+   Copyright (C) 1988, 1992, 1996, 1997, 2001, 2003, 2004 Free
+   Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -21,8 +21,8 @@ extern char *rmt_path__;
 
 int rmt_open__ (const char *, int, int, const char *);
 int rmt_close__ (int);
-ssize_t rmt_read__ (int, char *, size_t);
-ssize_t rmt_write__ (int, char *, size_t);
+size_t rmt_read__ (int, char *, size_t);
+size_t rmt_write__ (int, char *, size_t);
 off_t rmt_lseek__ (int, off_t, int);
 int rmt_ioctl__ (int, int, char *);
 
@@ -34,7 +34,7 @@ int rmt_ioctl__ (int, int, char *);
 
 #define _remdev(Path) \
   (!force_local_option && (rmt_path__ = strchr (Path, ':')) \
-   && rmt_path__ > (Path) && ! memchr (Path, rmt_path__ - (Path), '/'))
+   && rmt_path__ > (Path) && ! memchr (Path, '/', rmt_path__ - (Path)))
 
 #define _isrmt(Fd) \
   ((Fd) >= __REM_BIAS)
This page took 0.021204 seconds and 4 git commands to generate.