summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/ext/SDBM_File
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-05-24 18:21:31 +0000
committermillert <millert@openbsd.org>2001-05-24 18:21:31 +0000
commitc48bdce47de487644c5bf49fc71f7db60e4f07d6 (patch)
tree1044cea90429d4b1485356ed038fb38b7dba2eb2 /gnu/usr.bin/perl/ext/SDBM_File
parentAdd isakmpd.pid to the FILES section. (diff)
downloadwireguard-openbsd-c48bdce47de487644c5bf49fc71f7db60e4f07d6.tar.xz
wireguard-openbsd-c48bdce47de487644c5bf49fc71f7db60e4f07d6.zip
stock perl 5.6.1
Diffstat (limited to 'gnu/usr.bin/perl/ext/SDBM_File')
-rw-r--r--gnu/usr.bin/perl/ext/SDBM_File/SDBM_File.xs2
-rw-r--r--gnu/usr.bin/perl/ext/SDBM_File/sdbm/dbm.c37
-rw-r--r--gnu/usr.bin/perl/ext/SDBM_File/sdbm/dbm.h37
3 files changed, 55 insertions, 21 deletions
diff --git a/gnu/usr.bin/perl/ext/SDBM_File/SDBM_File.xs b/gnu/usr.bin/perl/ext/SDBM_File/SDBM_File.xs
index a4b90451a9b..859730bf3ac 100644
--- a/gnu/usr.bin/perl/ext/SDBM_File/SDBM_File.xs
+++ b/gnu/usr.bin/perl/ext/SDBM_File/SDBM_File.xs
@@ -57,7 +57,7 @@ sdbm_TIEHASH(dbtype, filename, flags, mode)
DBM * dbp ;
RETVAL = NULL ;
- if (dbp = sdbm_open(filename,flags,mode) ) {
+ if ((dbp = sdbm_open(filename,flags,mode))) {
RETVAL = (SDBM_File)safemalloc(sizeof(SDBM_File_type)) ;
Zero(RETVAL, 1, SDBM_File_type) ;
RETVAL->dbp = dbp ;
diff --git a/gnu/usr.bin/perl/ext/SDBM_File/sdbm/dbm.c b/gnu/usr.bin/perl/ext/SDBM_File/sdbm/dbm.c
index dc47d7001de..321ac3ef606 100644
--- a/gnu/usr.bin/perl/ext/SDBM_File/sdbm/dbm.c
+++ b/gnu/usr.bin/perl/ext/SDBM_File/sdbm/dbm.c
@@ -3,16 +3,33 @@
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
- * provided that the above copyright notice and this paragraph are
- * duplicated in all such forms and that any documentation,
- * advertising materials, and other materials related to such
- * distribution and use acknowledge that the software was developed
- * by the University of California, Berkeley. The name of the
- * University may not be used to endorse or promote products derived
- * from this software without specific prior written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ * provided that the above copyright notice and this notice are
+ * duplicated in all such forms.
+ *
+ * [additional clause stricken -- see below]
+ *
+ * The name of the University may not be used to endorse or promote
+ * products derived from this software without specific prior written
+ * permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ *
+ * This notice previously contained the additional clause:
+ *
+ * and that any documentation, advertising materials, and other
+ * materials related to such distribution and use acknowledge that
+ * the software was developed by the University of California,
+ * Berkeley.
+ *
+ * Pursuant to the licensing change made by the Office of Technology
+ * Licensing of the University of California, Berkeley on July 22,
+ * 1999 and documented in:
+ *
+ * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
+ *
+ * this clause has been stricken and no longer is applicable to this
+ * software.
*/
#ifndef lint
diff --git a/gnu/usr.bin/perl/ext/SDBM_File/sdbm/dbm.h b/gnu/usr.bin/perl/ext/SDBM_File/sdbm/dbm.h
index 1196953d965..e2c93552389 100644
--- a/gnu/usr.bin/perl/ext/SDBM_File/sdbm/dbm.h
+++ b/gnu/usr.bin/perl/ext/SDBM_File/sdbm/dbm.h
@@ -3,16 +3,33 @@
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
- * provided that the above copyright notice and this paragraph are
- * duplicated in all such forms and that any documentation,
- * advertising materials, and other materials related to such
- * distribution and use acknowledge that the software was developed
- * by the University of California, Berkeley. The name of the
- * University may not be used to endorse or promote products derived
- * from this software without specific prior written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ * provided that the above copyright notice and this notice are
+ * duplicated in all such forms.
+ *
+ * [additional clause stricken -- see below]
+ *
+ * The name of the University may not be used to endorse or promote
+ * products derived from this software without specific prior written
+ * permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ *
+ * This notice previously contained the additional clause:
+ *
+ * and that any documentation, advertising materials, and other
+ * materials related to such distribution and use acknowledge that
+ * the software was developed by the University of California,
+ * Berkeley.
+ *
+ * Pursuant to the licensing change made by the Office of Technology
+ * Licensing of the University of California, Berkeley on July 22,
+ * 1999 and documented in:
+ *
+ * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
+ *
+ * this clause has been stricken and no longer is applicable to this
+ * software.
*
* @(#)dbm.h 5.2 (Berkeley) 5/24/89
*/