Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F172219556
D59745.id186922.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D59745.id186922.diff
View Options
diff --git a/lib/libbsdconf/bsdconf.h b/lib/libbsdconf/bsdconf.h
--- a/lib/libbsdconf/bsdconf.h
+++ b/lib/libbsdconf/bsdconf.h
@@ -34,10 +34,10 @@
/*
* Library version info
*/
-#define BSDCONF_VERSION "1.1.0 2026-09-15"
+#define BSDCONF_VERSION "1.1.1 2026-09-16"
#define BSDCONF_VERSION_MAJOR 1
#define BSDCONF_VERSION_MINOR 1
-#define BSDCONF_VERSION_PATCH 0
+#define BSDCONF_VERSION_PATCH 1
/*
* Union for storing various types of data in a single common container.
diff --git a/lib/libbsdconf/bsdconf.c b/lib/libbsdconf/bsdconf.c
--- a/lib/libbsdconf/bsdconf.c
+++ b/lib/libbsdconf/bsdconf.c
@@ -420,12 +420,12 @@
}
/* Processing options */
- bequals = (processing_options & BSDCONF_BREAK_ON_EQUALS);
- bsemicolon = (processing_options & BSDCONF_BREAK_ON_SEMICOLON);
- case_sensitive = (processing_options & BSDCONF_CASE_SENSITIVE);
- operator_equals = (processing_options & BSDCONF_OPERATOR_EQUALS);
- require_equals = (processing_options & BSDCONF_REQUIRE_EQUALS);
- strict_equals = (processing_options & BSDCONF_STRICT_EQUALS);
+ bequals = processing_options & BSDCONF_BREAK_ON_EQUALS;
+ bsemicolon = processing_options & BSDCONF_BREAK_ON_SEMICOLON;
+ case_sensitive = processing_options & BSDCONF_CASE_SENSITIVE;
+ operator_equals = processing_options & BSDCONF_OPERATOR_EQUALS;
+ require_equals = processing_options & BSDCONF_REQUIRE_EQUALS;
+ strict_equals = processing_options & BSDCONF_STRICT_EQUALS;
/* Read the file until EOF */
while (r > 0) {
diff --git a/lib/libbsdconf/bsdconf_put.c b/lib/libbsdconf/bsdconf_put.c
--- a/lib/libbsdconf/bsdconf_put.c
+++ b/lib/libbsdconf/bsdconf_put.c
@@ -100,19 +100,19 @@
tpath[0] = '\0';
/* Decode processing options */
- bequals = (processing_options & BSDCONF_BREAK_ON_EQUALS);
- bsemicolon = (processing_options & BSDCONF_BREAK_ON_SEMICOLON);
- case_sensitive = (processing_options & BSDCONF_CASE_SENSITIVE);
- operator_equals = (processing_options & BSDCONF_OPERATOR_EQUALS);
- require_equals = (processing_options & BSDCONF_REQUIRE_EQUALS);
- strict_equals = (processing_options & BSDCONF_STRICT_EQUALS);
+ bequals = processing_options & BSDCONF_BREAK_ON_EQUALS;
+ bsemicolon = processing_options & BSDCONF_BREAK_ON_SEMICOLON;
+ case_sensitive = processing_options & BSDCONF_CASE_SENSITIVE;
+ operator_equals = processing_options & BSDCONF_OPERATOR_EQUALS;
+ require_equals = processing_options & BSDCONF_REQUIRE_EQUALS;
+ strict_equals = processing_options & BSDCONF_STRICT_EQUALS;
/* Decode put options */
- backup = (put_options & BSDCONF_PUT_BACKUP);
- emptyok = (put_options & BSDCONF_PUT_ALLOW_EMPTY);
- nodup = (put_options & BSDCONF_PUT_NO_DUPLICATES);
- quote_always = (put_options & BSDCONF_PUT_QUOTE_ALWAYS);
- unquoted = (put_options & BSDCONF_PUT_UNQUOTED);
+ backup = put_options & BSDCONF_PUT_BACKUP;
+ emptyok = put_options & BSDCONF_PUT_ALLOW_EMPTY;
+ nodup = put_options & BSDCONF_PUT_NO_DUPLICATES;
+ quote_always = put_options & BSDCONF_PUT_QUOTE_ALWAYS;
+ unquoted = put_options & BSDCONF_PUT_UNQUOTED;
/* Quoting directives are mutually exclusive */
if (unquoted && quote_always) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 17, 11:17 PM (9 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39110958
Default Alt Text
D59745.id186922.diff (3 KB)
Attached To
Mode
D59745: libbsdconf: Remove unnecessary parens
Attached
Detach File
Event Timeline
Log In to Comment