From: Volker Lendecke Date: Wed, 14 Jan 2026 09:31:57 +0000 (+0100) Subject: libgpo: Use ISDOT/ISDOTDOT X-Git-Tag: tdb-1.4.15~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51ec0bdf3cc8c1b88792a0a8664dede369ac1d20;p=thirdparty%2Fsamba.git libgpo: Use ISDOT/ISDOTDOT Signed-off-by: Volker Lendecke Reviewed-by: Anoop C S --- diff --git a/libgpo/gpo_filesync.c b/libgpo/gpo_filesync.c index 07234dc37a4..980e53a27c2 100644 --- a/libgpo/gpo_filesync.c +++ b/libgpo/gpo_filesync.c @@ -148,7 +148,7 @@ static NTSTATUS gpo_sync_func(struct file_info *info, ctx = (struct sync_context *)state; - if (strequal(info->name, ".") || strequal(info->name, "..")) { + if (ISDOT(info->name) || ISDOTDOT(info->name)) { return NT_STATUS_OK; }