1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

A patch to prepend unavoidable message.

This commit is contained in:
Yukihiro Nakai 2000-11-02 04:00:03 +00:00
parent 0d997429b5
commit 0cdeaad66d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34595
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- lib/fs.c.orig Thu Nov 2 12:54:47 2000
+++ lib/fs.c Thu Nov 2 12:55:32 2000
@@ -129,8 +129,10 @@
# if GETMNTENT_ONE || GETMNTENT_TWO
mtab = fopen(MOUNTED, "r");
if (!mtab) {
+/*
rpmError(RPMERR_MTAB, _("failed to open %s: %s"), MOUNTED,
strerror(errno));
+*/
return 1;
}
# elif HAVE_GETMNTINFO_R

13
misc/rpm/files/patch-bi Normal file
View File

@ -0,0 +1,13 @@
--- lib/fs.c.orig Thu Nov 2 12:54:47 2000
+++ lib/fs.c Thu Nov 2 12:55:32 2000
@@ -129,8 +129,10 @@
# if GETMNTENT_ONE || GETMNTENT_TWO
mtab = fopen(MOUNTED, "r");
if (!mtab) {
+/*
rpmError(RPMERR_MTAB, _("failed to open %s: %s"), MOUNTED,
strerror(errno));
+*/
return 1;
}
# elif HAVE_GETMNTINFO_R