| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
UPDATE_COPYRIGHT_USE_INTERVALS=1 \
UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79 \
gnulib/build-aux/update-copyright \
$(git ls-files | sed -e '/^gnulib$/d; /^COPYING$/d')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It’s now safe to assume C99 sprintf %jd, etc.
* am/system.m4 (PU_SYSTEM): Do not require gl_INTTOSTR.
* gnulib.modules, paxlib.modules:
Remove inttostr. Add strtoimax, strtoumax.
* lib/system.h (UINTMAX_STRSIZE_BOUND): Remove.
* paxlib/error.c (chown_error_details, read_error_details)
(read_warn_details, read_fatal_details, seek_error_details)
(seek_warn_details, write_error_details):
* paxlib/rtape.c (rmt_read, rmt_write, rmt_lseek, rmt_ioctl):
* rmt/rmt.c (rmt_reply):
* tests/genfile.c (verify_file, print_stat):
Use C99 printf formats instead of doing it by hand.
* paxlib/paxlib.h, rmt/rmt.c, tests/genfile.c:
Do not include inttostr.h.
* paxlib/paxlib.h (STRINGIFY_BIGINT): Remove.
* tests/argcv.c (xtonum): Use strtol for signed int, not strtoul.
* tests/genfile.c (checkpoint, verify_file, parse_opt)
(exec_checkpoint, process_checkpoint, exec_command):
Prefer uintmax_t to size_t for counters unrelated to object size.
(PRINT_INT): New macro.
(print_stat): Prefer uintmax_t to unsigned for modes.
|
|
|
|
|
|
|
|
| |
* Makefile.am (EXTRA_DIST): Add DISTFILES and their
contents that aren’t covered by other makefiles.
(dist-hook): There is no make-ChangeLog, so make ChangeLog.
* paxlib/Makefile.am (EXTRA_DIST):
* rmt/Makefile.am (EXTRA_DIST): Add DISTFILES.
|
|
|
|
|
| |
* rmt/Makefile.am (AM_CPPFLAGS): Add $(top_srcdir)/paxlib,
for system.h’s ‘#include <paxlib.h>’.
|
|
|
|
|
|
| |
* rmt/rmt.c (VDEBUG): Take 3 arguments.
Maintain a local va_list variable.
(rmt_write): Add missing va_end
|
| |
|
|
|
|
|
|
| |
* rmt/rmt.c (rmt_write, rmt_error_message): Flush stdout.
(decode_open_flag): Accept a combined form of file mode:
a decimal number followed by a symbolic representation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lib/rtapelib.c (do_command, rmt_write__): Use function
prototypes instead of old-style decls.
* paxlib/error.c (write_fatal): Remove unused and undeclared
function.
* paxlib/paxlib.h (stat_fatal, pax_exit): Add noreturn attribute.
(write_error_details): New decl.
* rmt/rmt.c (rmt_read, rmt_write, rmt_reply, rmt_error_message):
(rmt_error, xlat_kw, skip_ws, decode_open_flag, close_device):
(lseek_device, read_device, write_device, iocop_device, status_device):
Declare as static, since they're not exported.
Use function prototypes (void) instead of old-style decls ().
|
|
|
|
| |
* rmt/rmt.c: New implementation.
|
| |
|
| |
|
|
|
|
| |
Fix bracketing typo. Problem reported by Yutaka Furubayashi.
|
|
|
|
|
|
|
|
|
| |
to accommodate recent changes to gnulib and tar.
* rmt/rmt.c: Likewise.
* rmt/Makefile.am (rmt.o): Depend on configmake.h, not localedir.h.
* m4/system.m4 (PU_SUSTEM): Put AC_REQUIRE wrappers around
AC_HEADER_STDC, etc. This avoids a warning from automake,
with the latest gnulib.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
bounded strings are used only for integers now.
(get_string): Use a prototype. Remove unused local var 'counter'.
(get_long): Arg is now char const *, not char *.
Check for integer overflow in arg.
Check for empty arg.
(open_device): Use get_string for oflags, too, since the existing
limits were uncomfortably close to being too small.
Don't assume free_string does not affect errno.
|
|
|
|
|
|
|
|
| |
changed.
(get_string,free_string,i18n_setup): New function.
(usage): Call i18n_setup
(open_device): Use new get_string function to remove the
limitation on the device name length.
|
|
|
|
|
|
|
|
|
|
| |
* lib/system.h: Move the MTIO* stuff into....
* lib/system-ioctl.h: New file. That way, the symbols defined
by these includes won't collide with the symbols defined by
<sys/filio.h> on Solaris when compiling misc.c.
* lib/rtapelib.c: Include system-ioctl.h.
* paxlib/rtape.c: Likewise.
* rmt/rmt.c: Likewise.
|
|
|
|
|
| |
* rmt/rmt.c: Include closeout.h.
(main, usage): Use close_stdout to report write errors properly.
|
|
|
|
|
| |
* rmt/rmt.c: Include <version-etc.h>.
(main): Use version_etc rather than rolling our own.
|
|
|
|
|
|
|
|
|
|
| |
is always defined now.
* paxlib/rtape.c (encode_oflag): Likewise.
* lib/system.h (O_DIRCTORY, O_NOATIME, O_NONBLOCK): Define to 0
if not already defined.
* paxlib/error.c (rmdir_error): New function.
* paxlib/error.h (rmdir_error): New decl.
* rmt/rmt.c (decode_oflag): Use '#if O_NONBLOCK", not ifdef.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|