The branch main has been updated by des:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=ad1f7c1288d1c12e8e2199c9a0b20ad309768455

commit ad1f7c1288d1c12e8e2199c9a0b20ad309768455
Author:     Dag-Erling Smørgrav <d...@freebsd.org>
AuthorDate: 2025-07-26 18:41:23 +0000
Commit:     Dag-Erling Smørgrav <d...@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)

Reply via email to