[6.0] fc7749333 Revert "Formally expose VSB_tofile in libvarnishapi"

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed May 27 13:39:08 UTC 2020


commit fc7749333bdcfbe5badb09d0787b351762d37afc
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed May 27 15:34:45 2020 +0200

    Revert "Formally expose VSB_tofile in libvarnishapi"
    
    This reverts commit 795366627ffdb0515c8e897a5f3d15623109cc56.
    
    It shouldn't be exposed in libvarnishapi the way it is in this change
    because it creates two diverging symbol versions (for systems with
    linker support for symbol versioning) without changing the soname,
    which of course we want to avoid in the first place in a stable branch.
    
    If the requirement comes up we can revisit this topic and ensure both
    binary stability and compatility (upgrade path).
    
    Refs #3268

diff --git a/lib/libvarnishapi/libvarnishapi.map b/lib/libvarnishapi/libvarnishapi.map
index 30873af89..4cc3b5050 100644
--- a/lib/libvarnishapi/libvarnishapi.map
+++ b/lib/libvarnishapi/libvarnishapi.map
@@ -1,5 +1,5 @@
 /*-
- * Copyright (c) 2011-2020 Varnish Software AS
+ * Copyright (c) 2011-2017 Varnish Software AS
  * All rights reserved.
  *
  * Author: Tollef Fog Heen <tfheen at varnish-software.com>
@@ -140,11 +140,3 @@ LIBVARNISHAPI_2.0 {
     local:
 	*;
 };
-
-LIBVARNISHAPI_2.1 {
-    global:
-	# vsb.c
-	VSB_tofile;
-    local:
-	*;
-};
\ No newline at end of file


More information about the varnish-commit mailing list