Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37725884
en ru br
Репозитории ALT
S:1.8.3-alt10
5.1: 1.8.3-alt7
4.1: 1.8.3-alt4
4.0: 1.8.3-alt4
3.0: 1.8.3-alt3
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: gdbm

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: gdbm-1.8.3-deb-man.patch
Скачать


#!/bin/sh -e
## 06_manpage-cleanup.dpatch
##
## DP: Description: Fix .TH section and hyphen-used-as-minus.
## DP: Author: James Troup <james@nocrew.org>
## DP: Upstream status: Not submitted
## DP: Date: 2006-04-23
if [ $# -ne 1 ]; then
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1
fi
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
case "$1" in
       -patch) patch $patch_opts -p1 < $0;;
       -unpatch) patch $patch_opts -p1 -R < $0;;
        *)
                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
                exit 1;;
esac
exit 0
@DPATCH@
diff -urNad --exclude=CVS --exclude=.svn ./gdbm.3 /tmp/dpep-work.GV8RGi/gdbm-1.8.3/gdbm.3
--- ./gdbm.3	2006-04-24 04:21:02.000000000 +0100
+++ /tmp/dpep-work.GV8RGi/gdbm-1.8.3/gdbm.3	2006-04-24 04:21:15.000000000 +0100
@@ -1,5 +1,5 @@
 .ds ve 1.8.3
-.TH GDBM 3 10/15/2002
+.TH GDBM 3gdbm 10/15/2002
 .SH NAME
 GDBM - The GNU database manager.  Includes \fBdbm\fR and \fBndbm\fR
 compatability. (Version \*(ve.)
@@ -328,7 +328,7 @@
 .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 @@
 \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 @@
 
 \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 @@
 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
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin