2024-01-15 13:32:33 -07:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2024 DTB <trinity@trinity.moe>
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify it under
|
|
|
|
* the terms of the GNU Affero General Public License as published by the Free
|
|
|
|
* Software Foundation, either version 3 of the License, or (at your option) any
|
|
|
|
* later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
|
|
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
|
|
|
* details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with this program. If not, see https://www.gnu.org/licenses/.
|
|
|
|
*/
|
|
|
|
|
2024-07-03 14:22:23 -06:00
|
|
|
#include <assert.h> /* assert(3) */
|
2024-01-09 23:43:45 -07:00
|
|
|
#include <errno.h> /* errno */
|
|
|
|
#include <fcntl.h> /* open(2) */
|
|
|
|
#include <stdio.h> /* fprintf(3), stderr */
|
2024-07-03 13:50:24 -06:00
|
|
|
#include <stdlib.h> /* malloc(3), strtol(3), size_t */
|
2024-01-09 23:43:45 -07:00
|
|
|
#include <string.h> /* memcpy(3), memmove(3), memset(3) */
|
|
|
|
#include <sysexits.h> /* EX_OK, EX_USAGE */
|
|
|
|
#include <unistd.h> /* close(2), getopt(3), lseek(2), read(2), write(2),
|
2024-01-15 13:34:30 -07:00
|
|
|
* optarg, optind, STDIN_FILENO, STDOUT_FILENO */
|
2024-06-26 12:22:33 -06:00
|
|
|
#include <sys/stat.h> /* S_IRGRP, S_IROTH, S_IRUSR, S_IWGRP, S_IWOTH,
|
|
|
|
S_IWUSR */
|
2024-01-09 23:43:45 -07:00
|
|
|
extern int errno;
|
|
|
|
|
2024-06-26 15:15:37 -06:00
|
|
|
char *program_name = "dj";
|
|
|
|
|
2024-01-09 23:43:45 -07:00
|
|
|
/* dj uses two structures that respectively correspond to the reading and
|
|
|
|
* writing ends of its jockeyed "pipe". User-configurable members are noted
|
|
|
|
* with their relevant options. */
|
|
|
|
struct Io{
|
|
|
|
int bs; /* buffer size (-bB) */
|
|
|
|
size_t bufuse; /* buffer usage */
|
|
|
|
char *buf; /* buffer */
|
|
|
|
int bytes; /* bytes processed */
|
|
|
|
int fd; /* file descriptor */
|
|
|
|
int fl; /* file opening flags */
|
|
|
|
char *fn; /* file name (may be stdin_name or stdout_name) (-io) */
|
|
|
|
int prec; /* partial records processed */
|
|
|
|
int rec; /* records processed */
|
|
|
|
long seek; /* bytes to seek/skip (will be 0 after skippage) (-sS) */
|
2024-06-26 12:22:33 -06:00
|
|
|
};
|
2024-01-09 23:43:45 -07:00
|
|
|
|
2024-07-03 14:50:50 -06:00
|
|
|
/* To be assigned to main:fmt and used with printio(). */
|
2024-06-26 12:22:33 -06:00
|
|
|
static char *fmt_asv = "%d\037%d\036%d\037%d\035%d\036%d\034";
|
|
|
|
static char *fmt_human = "%d+%d > %d+%d; %d > %d\n";
|
2024-01-09 23:43:45 -07:00
|
|
|
|
|
|
|
static char *stdin_name = "<stdin>";
|
|
|
|
static char *stdout_name = "<stdout>";
|
2024-06-26 15:15:37 -06:00
|
|
|
|
2024-06-26 12:22:33 -06:00
|
|
|
static int read_flags = O_RDONLY; /* Consistent with Busybox dd(1). */
|
|
|
|
static int write_flags = O_WRONLY | O_CREAT;
|
2024-01-09 23:43:45 -07:00
|
|
|
|
|
|
|
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
|
|
|
|
2024-07-03 15:47:48 -06:00
|
|
|
/* Macro to check if fd is stdin or stdout */
|
|
|
|
#define fdisstd(fd) ((fd) == STDIN_FILENO || (fd) == STDOUT_FILENO)
|
2024-01-09 23:43:45 -07:00
|
|
|
|
|
|
|
/* Fills the unused portion of io's buffer with padding, updating io->bufuse.
|
|
|
|
* Returns io. */
|
|
|
|
static struct Io *
|
|
|
|
Io_bufrpad(struct Io *io, int padding){
|
2024-07-03 14:22:23 -06:00
|
|
|
|
|
|
|
assert(io != NULL);
|
|
|
|
|
2024-01-09 23:43:45 -07:00
|
|
|
memset(io->buf + io->bufuse, padding, io->bs - io->bufuse);
|
|
|
|
io->bufuse = io->bs;
|
|
|
|
|
|
|
|
return io;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Copies from the buffer in src as much as possible to the free space in the
|
|
|
|
* dest buffer, removing the copied units from src and permuting the remaining
|
|
|
|
* units in the src buffer to the start of the buffer, modifying both the src
|
|
|
|
* and dest bufuse and returning dest. */
|
|
|
|
static struct Io*
|
|
|
|
Io_bufxapp(struct Io *dest, struct Io *src){
|
|
|
|
int n;
|
|
|
|
|
2024-07-03 14:22:23 -06:00
|
|
|
assert(dest != NULL && src != NULL);
|
|
|
|
|
2024-01-09 23:43:45 -07:00
|
|
|
n = MIN(src->bufuse, dest->bs - dest->bufuse);
|
|
|
|
memcpy(dest->buf + dest->bufuse, src->buf, n);
|
|
|
|
dest->bufuse += n;
|
|
|
|
memmove(src->buf, src->buf + n, src->bs - n);
|
|
|
|
src->bufuse -= n;
|
|
|
|
|
|
|
|
return dest;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Copies from the buffer in src to the buffer in dest no more than n units,
|
|
|
|
* removing the copied units from src and permuting the remaining units in the
|
|
|
|
* src buffer to the start of the buffer, modifying both the src and dest
|
|
|
|
* bufuse and returning dest. */
|
|
|
|
static struct Io*
|
|
|
|
Io_bufxfer(struct Io *dest, struct Io *src, int n){
|
|
|
|
|
2024-07-03 14:22:23 -06:00
|
|
|
assert(dest != NULL && src != NULL);
|
|
|
|
|
2024-01-09 23:43:45 -07:00
|
|
|
memcpy(dest->buf, src->buf, (dest->bufuse = n));
|
|
|
|
memmove(src->buf, src->buf + n, (src->bufuse -= n));
|
|
|
|
|
|
|
|
return dest;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Opens io->fn and saves the file descriptor into io->fd. Returns io->fd,
|
|
|
|
* which will be -1 if an error occured. */
|
|
|
|
static int
|
|
|
|
Io_fdopen(struct Io *io, char *fn){
|
|
|
|
int fd;
|
2024-07-03 14:22:23 -06:00
|
|
|
|
|
|
|
assert(io != NULL);
|
|
|
|
|
2024-01-09 23:43:45 -07:00
|
|
|
if((fd = open(fn, io->fl,
|
|
|
|
/* these are the flags used by touch(1p) */
|
|
|
|
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH))
|
|
|
|
!= -1
|
2024-07-03 13:50:24 -06:00
|
|
|
&& (fdisstd(io->fd) || close(io->fd) == 0)){
|
2024-01-09 23:43:45 -07:00
|
|
|
io->fd = fd;
|
|
|
|
io->fn = fn;
|
|
|
|
}
|
|
|
|
|
|
|
|
return fd;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Reads io->bs bytes from *io's file descriptor into io->buf, storing the
|
|
|
|
* number of read bytes in io->bufuse and updating io->bytes. If io->bufuse is
|
|
|
|
* 0, errno will probably be set. Returns io. */
|
|
|
|
static struct Io *
|
|
|
|
Io_read(struct Io *io){
|
|
|
|
|
|
|
|
io->bytes += (io->bufuse = read(io->fd, io->buf, io->bs));
|
|
|
|
|
|
|
|
return io;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Writes io->bufuse units from io->buf to io->fd, permuting any unwritten
|
|
|
|
* bytes to the start of io->buf and updating io->bufuse. If io->bufuse doesn't
|
|
|
|
* change, errno will probably be set. Returns io. */
|
|
|
|
static struct Io *
|
|
|
|
Io_write(struct Io *io){
|
|
|
|
int t;
|
|
|
|
|
|
|
|
if((t = write(io->fd, io->buf, io->bufuse)) > 0)
|
|
|
|
memmove(io->buf, io->buf + t, (io->bufuse -= t));
|
|
|
|
io->bytes += t;
|
|
|
|
|
|
|
|
return io;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Prints an error message suitable for the event of an operating system error,
|
|
|
|
* with the error itself to be described in the string s. */
|
|
|
|
static int
|
|
|
|
oserr(char *s){
|
|
|
|
|
|
|
|
fprintf(stderr, "%s: %s: %s\n", program_name, s, strerror(errno));
|
|
|
|
|
|
|
|
return EX_OSERR;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Prints statistics regarding the use of dj, particularly partially and
|
2024-06-26 12:22:33 -06:00
|
|
|
* completely read and written records. */
|
2024-01-09 23:43:45 -07:00
|
|
|
static void
|
2024-07-03 14:50:50 -06:00
|
|
|
printio(char *fmt, struct Io io[2]){
|
2024-01-09 23:43:45 -07:00
|
|
|
|
2024-06-26 12:22:33 -06:00
|
|
|
fprintf(stderr, fmt,
|
|
|
|
io[0].rec, io[0].prec, io[1].rec, io[1].prec,
|
|
|
|
io[0].bytes, io[1].bytes);
|
2024-01-09 23:43:45 -07:00
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Parses the string s to an integer, returning either the integer or in the
|
|
|
|
* case of an error a negative integer. This is used for argument parsing
|
|
|
|
* (e.g. -B [int]) in dj and no negative integer would be valid anyway. */
|
|
|
|
static long
|
|
|
|
parse(char *s){
|
|
|
|
long r;
|
|
|
|
|
|
|
|
errno = 0;
|
|
|
|
r = strtol(s, &s, 0);
|
|
|
|
return (*s == '\0' /* no chars left unparsed */ && errno == 0)
|
|
|
|
? r
|
|
|
|
: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
static int
|
2024-06-26 15:15:37 -06:00
|
|
|
usage(char *s){
|
2024-01-09 23:43:45 -07:00
|
|
|
|
2024-06-29 19:23:03 -06:00
|
|
|
fprintf(stderr, "Usage: %s [-Hn] [-a byte] [-c count]\n"
|
2024-06-29 05:28:23 -06:00
|
|
|
"\t[-i file] [-b block_size] [-s offset]\n"
|
|
|
|
"\t[-o file] [-B block_size] [-S offset]\n",
|
2024-01-09 23:43:45 -07:00
|
|
|
program_name);
|
|
|
|
|
|
|
|
return EX_USAGE;
|
|
|
|
}
|
|
|
|
|
|
|
|
int main(int argc, char *argv[]){
|
2024-06-26 12:22:33 -06:00
|
|
|
int align; /* low 8b used, negative if no alignment is being done */
|
|
|
|
int count; /* 0 if dj(1) runs until no more reads are possible */
|
2024-07-03 14:50:50 -06:00
|
|
|
char *fmt; /* == fmt_asv (default) or fmt_human (-H) */
|
2024-06-26 15:15:37 -06:00
|
|
|
size_t i; /* side of io being modified */
|
2024-06-26 13:41:24 -06:00
|
|
|
struct Io io[2];
|
2024-06-26 12:22:33 -06:00
|
|
|
char noerror; /* 0=exits (default) 1=retries on partial reads or writes */
|
2024-01-09 23:43:45 -07:00
|
|
|
|
2024-06-26 12:22:33 -06:00
|
|
|
/* Set defaults. */
|
|
|
|
align = -1;
|
|
|
|
count = 0;
|
2024-07-03 14:50:50 -06:00
|
|
|
fmt = fmt_asv;
|
2024-06-26 12:22:33 -06:00
|
|
|
noerror = 0;
|
2024-06-26 15:15:37 -06:00
|
|
|
for(i = 0; i < 2; ++i){
|
|
|
|
io[i].bs = 1024 /* 1 KiB */; /* GNU dd(1) default; POSIX says 512B */
|
|
|
|
io[i].bytes = 0;
|
2024-07-03 14:22:23 -06:00
|
|
|
io[i].fd = i == 0 ? STDIN_FILENO : STDOUT_FILENO;
|
|
|
|
io[i].fn = i == 0 ? stdin_name : stdout_name;
|
|
|
|
io[i].fl = i == 0 ? read_flags : write_flags;
|
2024-06-26 15:15:37 -06:00
|
|
|
io[i].prec = 0;
|
|
|
|
io[i].rec = 0;
|
|
|
|
io[i].seek = 0;
|
|
|
|
}
|
2024-01-09 23:43:45 -07:00
|
|
|
|
|
|
|
if(argc > 0){
|
2024-06-26 15:15:37 -06:00
|
|
|
int c;
|
|
|
|
|
2024-01-09 23:43:45 -07:00
|
|
|
program_name = argv[0];
|
2024-07-03 15:46:11 -06:00
|
|
|
while((c = getopt(argc, argv, ":a:b:B:c:i:hHns:S:o:")) != -1)
|
2024-01-09 23:43:45 -07:00
|
|
|
switch(c){
|
2024-06-26 15:28:02 -06:00
|
|
|
case 'i': case 'o': i = (c == 'o');
|
2024-01-10 15:03:04 -07:00
|
|
|
if(optarg[0] == '-' && optarg[1] == '\0'){ /* optarg == "-" */
|
2024-07-03 14:22:23 -06:00
|
|
|
io[i].fd = i == 0 ? STDIN_FILENO : STDOUT_FILENO;
|
|
|
|
io[i].fn = i == 0 ? stdin_name : stdout_name;
|
2024-01-10 15:03:04 -07:00
|
|
|
break;
|
2024-06-26 13:41:24 -06:00
|
|
|
}else if(Io_fdopen(&io[i], optarg) != -1)
|
2024-01-09 23:43:45 -07:00
|
|
|
break;
|
|
|
|
return oserr(optarg);
|
|
|
|
case 'n': noerror = 1; break;
|
2024-07-03 14:50:50 -06:00
|
|
|
case 'H': fmt = fmt_human; break;
|
2024-01-09 23:43:45 -07:00
|
|
|
case 'a':
|
2024-06-26 13:45:36 -06:00
|
|
|
if(optarg[0] == '\0' || optarg[1] == '\0'){
|
2024-01-09 23:43:45 -07:00
|
|
|
align = optarg[0];
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
/* FALLTHROUGH */
|
2024-06-26 15:15:37 -06:00
|
|
|
case 'c': case 'b': case 's': case 'B': case 'S': /* numbers */
|
2024-01-09 23:43:45 -07:00
|
|
|
if(c == 'c' && (count = parse(optarg)) >= 0)
|
|
|
|
break;
|
2024-07-03 14:50:50 -06:00
|
|
|
i = (c >= 'A' && c <= 'Z');
|
2024-07-03 13:50:24 -06:00
|
|
|
c |= 0x20 /* 0b 0010 0000 */; /* (ASCII) make lowercase */
|
2024-06-26 13:41:24 -06:00
|
|
|
if((c == 'b' && (io[i].bs = parse(optarg)) > 0)
|
|
|
|
|| (c == 's' && (io[i].seek = parse(optarg)) >= 0))
|
2024-01-09 23:43:45 -07:00
|
|
|
break;
|
|
|
|
/* FALLTHROUGH */
|
|
|
|
default:
|
2024-06-26 15:15:37 -06:00
|
|
|
return usage(program_name);
|
2024-01-09 23:43:45 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-03 16:07:02 -06:00
|
|
|
assert(io->fd != STDIN_FILENO || io->fl == read_flags);
|
|
|
|
assert(io->fd != STDOUT_FILENO || io->fl == write_flags);
|
2024-07-03 13:50:24 -06:00
|
|
|
|
2024-01-09 23:43:45 -07:00
|
|
|
if(argc > optind){
|
2024-06-26 15:15:37 -06:00
|
|
|
return usage(program_name);
|
2024-01-09 23:43:45 -07:00
|
|
|
}
|
|
|
|
|
2024-06-26 13:41:24 -06:00
|
|
|
for(i = 0; i < 2; ++i){
|
2024-07-03 16:07:02 -06:00
|
|
|
/* buffer allocation */
|
2024-07-03 14:46:56 -06:00
|
|
|
if((io[i].buf = malloc(io[i].bs * (sizeof *(io[i].buf)))) == NULL){
|
2024-01-09 23:43:45 -07:00
|
|
|
fprintf(stderr, "%s: Failed to allocate %d bytes\n",
|
2024-06-26 13:41:24 -06:00
|
|
|
program_name, io[i].bs);
|
2024-01-09 23:43:45 -07:00
|
|
|
return EX_OSERR;
|
2024-07-03 14:22:23 -06:00
|
|
|
}
|
2024-07-03 16:07:02 -06:00
|
|
|
/* easy seeking */
|
|
|
|
if(!fdisstd(io[i].fd) && lseek(io[i].fd, io[i].seek, SEEK_SET) != -1)
|
|
|
|
io[i].seek = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* hard skipping */
|
|
|
|
if(io[0].seek > 0){
|
|
|
|
do{
|
|
|
|
if((io[0].bufuse = read(
|
|
|
|
io[0].fd, io[0].buf, MIN(io[0].bs, io[0].seek)))
|
|
|
|
== 0)
|
|
|
|
/* second chance */
|
|
|
|
io->bufuse = read(
|
|
|
|
io[0].fd, io[0].buf, MIN(io[0].bs, io[0].seek));
|
|
|
|
}while((io[0].seek -= io[0].bufuse) > 0 && io[0].bufuse != 0);
|
|
|
|
io[0].bufuse = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* hard seeking */
|
|
|
|
if(io[1].seek > 0){
|
|
|
|
memset(io[1].buf, '\0', io[1].bs);
|
|
|
|
/* We're going to cheat and use bufuse as the retval for write(2),
|
|
|
|
* which is fine because it'll be zeroed as this function returns
|
|
|
|
* anyway. */
|
|
|
|
do{
|
|
|
|
if((io[1].bufuse = write(
|
|
|
|
io[1].fd, io[1].buf, MIN(io[1].bs, io[1].seek)))
|
|
|
|
== 0)
|
|
|
|
/* second chance */
|
|
|
|
io[1].bufuse = write(
|
|
|
|
io[1].fd, io[1].buf, MIN(io[1].bs, io[1].seek));
|
|
|
|
}while((io[1].seek -= io[1].bufuse) > 0 && io[1].bufuse != 0);
|
|
|
|
io[1].bufuse = 0;
|
2024-01-09 23:43:45 -07:00
|
|
|
}
|
|
|
|
|
2024-07-03 16:07:02 -06:00
|
|
|
/* Sought bytes aren't counted in the statistics because successful seeking
|
|
|
|
* is guaranteed here. */
|
|
|
|
for(i = 0; i < 2; ++i)
|
|
|
|
if(io[i].seek > 0)
|
|
|
|
return oserr(io[i].fn);
|
|
|
|
|
2024-01-09 23:43:45 -07:00
|
|
|
do{ /* read */
|
2024-06-26 13:41:24 -06:00
|
|
|
Io_read(&io[0]);
|
|
|
|
if(!noerror && io[0].bufuse == 0)
|
|
|
|
Io_read(&io[0]); /* second chance */
|
|
|
|
if(io[0].bufuse == 0) /* that's all she wrote */
|
2024-01-09 23:43:45 -07:00
|
|
|
break;
|
2024-06-26 13:41:24 -06:00
|
|
|
else if(io[0].bufuse < io[0].bs){
|
|
|
|
++io[0].prec;
|
2024-06-26 11:36:52 -06:00
|
|
|
fprintf(stderr, "%s: Partial read:\n\t", program_name);
|
2024-07-03 14:50:50 -06:00
|
|
|
printio(fmt, io);
|
2024-01-09 23:43:45 -07:00
|
|
|
if(!noerror)
|
|
|
|
count = 1;
|
|
|
|
if(align >= 0)
|
2024-06-26 13:41:24 -06:00
|
|
|
Io_bufrpad(&io[0], align);
|
2024-01-09 23:43:45 -07:00
|
|
|
}else
|
2024-06-26 13:41:24 -06:00
|
|
|
++io[0].rec;
|
2024-01-09 23:43:45 -07:00
|
|
|
|
|
|
|
/* write */
|
2024-06-26 15:28:02 -06:00
|
|
|
do{
|
|
|
|
int t;
|
|
|
|
|
|
|
|
if(io[1].bs > io[0].bs){
|
2024-06-26 13:41:24 -06:00
|
|
|
Io_bufxapp(&io[1], &io[0]);
|
|
|
|
if(io[0].bs + io[1].bufuse <= io[1].bs && count != 1)
|
2024-01-09 23:43:45 -07:00
|
|
|
continue; /* we could write more */
|
|
|
|
}else
|
2024-06-26 13:41:24 -06:00
|
|
|
Io_bufxfer(&io[1], &io[0], MIN(io[0].bufuse, io[1].bs));
|
2024-01-09 23:43:45 -07:00
|
|
|
|
2024-06-26 15:28:02 -06:00
|
|
|
t = io[1].bufuse;
|
2024-06-26 13:41:24 -06:00
|
|
|
Io_write(&io[1]);
|
2024-06-26 15:28:02 -06:00
|
|
|
if(!noerror && io[1].bufuse == t)
|
2024-06-26 13:41:24 -06:00
|
|
|
Io_write(&io[1]); /* second chance */
|
2024-06-26 15:28:02 -06:00
|
|
|
if(t == io[1].bufuse){ /* no more love */
|
2024-01-09 23:43:45 -07:00
|
|
|
count = 1;
|
|
|
|
break;
|
2024-06-26 15:28:02 -06:00
|
|
|
}else if(t > io[1].bufuse && io[1].bufuse > 0){
|
2024-06-26 13:41:24 -06:00
|
|
|
io[1].prec += 1;
|
2024-06-26 11:36:52 -06:00
|
|
|
fprintf(stderr, "%s: Partial write:\n\t", program_name);
|
2024-07-03 14:50:50 -06:00
|
|
|
printio(fmt, io);
|
2024-01-09 23:43:45 -07:00
|
|
|
if(!noerror)
|
|
|
|
count = 1;
|
2024-06-26 15:28:02 -06:00
|
|
|
}else if(io[1].bufuse == 0 && t < io[1].bs)
|
2024-06-26 13:41:24 -06:00
|
|
|
++io[1].prec;
|
2024-01-09 23:43:45 -07:00
|
|
|
else
|
2024-06-26 13:41:24 -06:00
|
|
|
++io[1].rec;
|
|
|
|
}while(io[0].bufuse > 0);
|
2024-01-09 23:43:45 -07:00
|
|
|
}while(count == 0 || --count > 0);
|
|
|
|
|
2024-07-03 14:50:50 -06:00
|
|
|
printio(fmt, io);
|
2024-01-09 23:43:45 -07:00
|
|
|
|
|
|
|
return EX_OK;
|
|
|
|
}
|