Mercurial > unleashed > wips
changeset 20521:6a4e2eef5fb3
treewide: ftello64() -> ftello()
author | Lauri Tirkkonen <lotheac@iki.fi> |
---|---|
date | Tue, 16 Apr 2019 22:49:09 +0300 |
parents | ee4fcd89af29 |
children | c10790e8f12c |
files | usr/src/cmd/backup/dump/dumpitime.c usr/src/cmd/backup/restore/dirs.c usr/src/lib/libdtrace/common/dt_cc.c |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/backup/dump/dumpitime.c Tue Apr 16 22:49:09 2019 +0300 +++ b/usr/src/cmd/backup/dump/dumpitime.c Tue Apr 16 22:49:09 2019 +0300 @@ -263,7 +263,7 @@ ITITERATE(i, itwalk) { recout(df, itwalk); } - if (ftruncate64(fd, ftello64(df))) { + if (ftruncate64(fd, ftello(df))) { saverr = errno; msg(gettext("%s: %s error:\n"), increm, "ftruncate64", strerror(saverr));
--- a/usr/src/cmd/backup/restore/dirs.c Tue Apr 16 22:49:09 2019 +0300 +++ b/usr/src/cmd/backup/restore/dirs.c Tue Apr 16 22:49:09 2019 +0300 @@ -485,7 +485,7 @@ (void) fwrite(dirbuf, (size_t)dirloc, 1, df); if (ferror(df)) panic("%s: %s\n", dirfile, strerror(errno)); - g_seekpt = ftello64(df); + g_seekpt = ftello(df); dirloc = 0; }
--- a/usr/src/lib/libdtrace/common/dt_cc.c Tue Apr 16 22:49:09 2019 +0300 +++ b/usr/src/lib/libdtrace/common/dt_cc.c Tue Apr 16 22:49:09 2019 +0300 @@ -1828,7 +1828,7 @@ * We start cpp just prior to the \n at the end of this line so that * it still sees the newline, ensuring that #line values are correct. */ - if (isatty(fileno(ifp)) == 0 && (off = ftello64(ifp)) != -1) { + if (isatty(fileno(ifp)) == 0 && (off = ftello(ifp)) != -1) { if ((c = fgetc(ifp)) == '#' && (c = fgetc(ifp)) == '!') { for (off += 2; c != '\n'; off++) { if ((c = fgetc(ifp)) == EOF)