From 1bfe2404c96164d626d716419c7077d569470c83 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sat, 7 Jan 2023 16:54:56 +0000 Subject: snapshot of project "lynx", label v2-9-0dev_11c --- src/LYBookmark.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/LYBookmark.c b/src/LYBookmark.c index 8cbd1a70..ee88cf95 100644 --- a/src/LYBookmark.c +++ b/src/LYBookmark.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYBookmark.c,v 1.87 2022/12/04 20:41:31 tom Exp $ + * $LynxId: LYBookmark.c,v 1.88 2023/01/07 16:09:53 tom Exp $ */ #include #include @@ -371,6 +371,7 @@ void save_bookmark_link(const char *address, FILE *bp = tmpfile(); char *buffer = NULL; + rewind(fp); while (LYSafeGets(&buffer, fp)) { empty_file = FALSE; if (LYstrstr(buffer, "")) -- cgit 1.4.1-2-gfad0