FreeCalypso > hg > freecalypso-tools
view ffstools/tiffs-mkfs/globals.h @ 924:d452188587b4
rvinterf: begin change to backslash escape output format
Right now throughout the rvinterf suite, any time we emit output that
is expected to be ASCII, but may contain non-printable garbage, we use
'cat -v' form of garbage character representation. Unfortunately, this
transformation is lossy (can't be reversed 100% reliably in the user's
wetware), hence we would like to migrate to C-style backslash escapes,
including doubling of any already-present backslashes - this escape
mechanism is lossless. Begin this change by converting the output
of RV and L1 traces in rvinterf and rvtdump.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 23 May 2023 03:10:50 +0000 |
parents | 178ed445021d |
children |
line wrap: on
line source
/* * extern declarations of global variables */ extern unsigned ffs_sector_size, ffs_nsectors; extern unsigned ffs_nsectors; extern char *format_name; extern unsigned chunk_size_max, block_files_max, journal_size; extern int no_journal; extern u_char *inode_block, *data_block, *chunk_buffer; extern struct tiffs_inode *inode_array; extern unsigned inode_fill_level, data_fill_level, objects_in_block; extern unsigned blocks_written; extern char *input_host_dir; extern struct tree_object root; extern char *output_filename; extern int output_fd;