Package: gdbm / 1.8.3-14

06_manpage-cleanup.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
06_manpage-cleanup.patch

Index: gdbm-1.8.3/gdbm.3
===================================================================
--- gdbm-1.8.3.orig/gdbm.3
+++ gdbm-1.8.3/gdbm.3
@@ -328,7 +328,7 @@ insert only, generate an error if key ex
 .B GDBM_REPLACE
 replace contents if key exists.
 
-If a reader calls \fBgdbm_store\fR, the return value will be  -1.
+If a reader calls \fBgdbm_store\fR, the return value will be \-1.
 If called with GDBM_INSERT and \fIkey\fR is in the database, the return
 value will be 1.  Otherwise, the return value is 0.
 
@@ -377,7 +377,7 @@ To remove some data from the database:
 \fIDbf\fR is the pointer returned by \fBgdbm_open\fR.  \fIKey\fR is the
 key data.
 
-The return value is -1 if the item is not present or the requester is a reader.
+The return value is \-1 if the item is not present or the requester is a reader.
 The return value is 0 if there was a successful delete.
 
 
@@ -487,7 +487,7 @@ currently:
 
 \fIvalue\fR is the value to set \fIoption\fR to, specified as an integer
 pointer.  \fIsize\fR is the size of the data pointed to by \fIvalue\fR.
-The return value will be -1 upon failure, or 0 upon success.  The global
+The return value will be \-1 upon failure, or 0 upon success.  The global
 variable \fIgdbm_errno\fR will be set upon failure.
 
 For instance, to set a database to use a cache of 10, after opening it
@@ -536,12 +536,12 @@ treated as static pointers (as standard
 This library is accessed by specifying \fI-lgdbm\fR as the last
 parameter to the compile line, e.g.:
 .sp
-	gcc -o prog prog.c -lgdbm
+	gcc \-o prog prog.c \-lgdbm
 
 If you wish to use the \fBdbm\fR or \fBndbm\fR compatibility routines,
 you must link in the \fIgdbm_compat\fR library as well.  For example:
 .sp
-	gcc -o prog proc.c -lgdbm -lgdbm_compat
+	gcc \-o prog proc.c \-lgdbm \-lgdbm_compat
 
 .SH BUGS