Home | History | Annotate | Download | only in rmt
History log of /src/usr.sbin/rmt/rmt.c
RevisionDateAuthorComments
 1.17  23-Jan-2018  sevan ansify - drop the K&R style prototypes & implementations.
 1.16  18-Apr-2009  lukem Fix -Wshadow issue
 1.15  21-Jul-2008  lukem branches: 1.15.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.14  07-Aug-2003  agc branches: 1.14.32;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22366, verified by myself.
 1.13  13-Jul-2003  itojun use bounded string op
 1.12  04-Jul-2002  itojun getstring() safer by passing buffer size. millert@openbsd
 1.11  24-Dec-2001  lukem - use snprintf() instead of sprintf() when printing strerror.
(from openbsd via freebsd)
- use strtoll instead of strtoq()
 1.10  08-Feb-2000  mjacob Fix rmt for use with Solaris 2.7 and others. The deal here is that for
version 0 RMT protocol, the query of status makes no sense (send back, in
binary, the mtget structure), but systems sometimes use it anyway. And when
they use it, they get upset if they get back something that is a different
size from what they expect. The original mtget structure in BSD 4.3 is
24 bytes in size, and that seems to be what they can cope with.

The correct fix would be to go to Version 1 RMT, but that's a horse of
another color...
 1.9  17-Oct-1997  lukem WARNSify
 1.8  17-Oct-1997  mrg merge lite-2
 1.7  01-Jul-1997  mikel use strtoq() instead of atoi() to generate offset argument for lseek()
(Todd Miller)
include <fcntl.h>, <stdlib.h>, and <unistd.h> for prototypes
include <sys/ioctl.h> instead of <sys/sgtty.h>
add explicit return types and prototypes for internal functions
use STD{IN,OUT}_FILENO instead of manifest constants
fix off-by-one buffer overflow error in getstring()
KNFify and RCSid police
 1.6  13-Apr-1995  mycroft Add missing #include.
 1.5  09-Apr-1995  mycroft Give open() reasonable permissions for creating a file (though this doesn't
matter for the normal case of opening a device). Suggested by Joerg Wunsch.
 1.4  30-Mar-1994  cgd kill bad casts
 1.3  28-Mar-1994  cgd kill extern'd lseek()
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  06-Jun-1993  mrg 4.4BSD-Lite2
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.14.32.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.15.6.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed