From: Cyril Hrubis <chrubis@suse.cz>
To: Petr Vorel <pvorel@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 2/2] lib: Create tst_tmpdir.h
Date: Fri, 21 Jun 2024 12:15:34 +0200 [thread overview]
Message-ID: <ZnVSxrE8ct9ZDNHg@yuki> (raw)
In-Reply-To: <20240620054958.554319-2-pvorel@suse.cz>
Hi!
> diff --git a/include/tst_tmpdir.h b/include/tst_tmpdir.h
> new file mode 100644
> index 000000000..b4f95b666
> --- /dev/null
> +++ b/include/tst_tmpdir.h
> @@ -0,0 +1,15 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +/*
> + * Copyright (c) 2017 Cyril Hrubis <chrubis@suse.cz>
> + * Copyright (c) 2020 Martin Doucha <mdoucha@suse.cz>
> + */
> +
> +#ifndef TST_TMPDIR_H__
> +#define TST_TMPDIR_H__
> +
> +/*
> + * Wipe the contents of given directory but keep the directory itself
> + */
This should ideally a proper documentation comment, but that can be done
in an follow up patch.
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2024-06-21 10:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-20 5:49 [LTP] [PATCH 1/2] tst_tmpdir: Remove NULL from static Petr Vorel
2024-06-20 5:49 ` [LTP] [PATCH 2/2] lib: Create tst_tmpdir.h Petr Vorel
2024-06-21 10:15 ` Cyril Hrubis [this message]
2024-06-21 10:58 ` Petr Vorel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZnVSxrE8ct9ZDNHg@yuki \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
--cc=pvorel@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.