Date: Sat, 26 Jul 2025 18:42:30 GMT From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= <des@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ad1f7c1288d1 - main - find: Remove duplicate case Message-ID: <202507261842.56QIgUhE051068@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=ad1f7c1288d1c12e8e2199c9a0b20ad309768455 commit ad1f7c1288d1c12e8e2199c9a0b20ad309768455 Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2025-07-26 18:41:23 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2025-07-26 18:41:23 +0000 find: Remove duplicate case Fixes: a52d0d76fa3e --- usr.bin/find/find.1 | 2 -- usr.bin/find/printf.c | 6 ------ 2 files changed, 8 deletions(-) diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1 index e5ca81e69bdc..b16c4bcc95a2 100644 --- a/usr.bin/find/find.1 +++ b/usr.bin/find/find.1 @@ -1152,8 +1152,6 @@ Access time of the file. .It A Access time of the file in strftime format. Takes an additional argument. -.It b -Birth time of a file. .It B Birth time of the file in strftime format. Takes an additional argument. diff --git a/usr.bin/find/printf.c b/usr.bin/find/printf.c index 532c17bfb80b..671d1d1dbb9a 100644 --- a/usr.bin/find/printf.c +++ b/usr.bin/find/printf.c @@ -269,12 +269,6 @@ do_printf(PLAN *plan, FTSENT *entry, FILE *fout) case 'A': /* access time with next char strftime format */ fp_strftime(fp, sb->st_atime, *fmt++); break; - case 'b': /* birth time */ -#ifdef HAVE_STRUCT_STAT_ST_BIRTHTIME - fp_ctime(fp, sb->st_birthtime); -#else - fp_ctime(fp, 0); -#endif case 'B': /* birth time with next char strftime format */ #ifdef HAVE_STRUCT_STAT_ST_BIRTHTIME if (sb->st_birthtime != 0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507261842.56QIgUhE051068>