Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
ziptool
ziptool-1.4.0-fixes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ziptool-1.4.0-fixes.patch of Package ziptool
--- ziptool.c.old 2004-09-29 11:21:07.893226544 +0200 +++ ziptool.c 2004-09-29 12:22:07.430892256 +0200 @@ -90,6 +90,9 @@ #ifndef MNTTYPE_NONE #define MNTTYPE_NONE "none" #endif +#ifndef MNTTYPE_TMPFS +#define MNTTYPE_TMPFS "tmpfs" +#endif /* Patched kernels will have IOMEGA_*_PROT_MODE defined. */ #ifdef IOMEGA_GET_PROT_MODE @@ -226,7 +229,7 @@ strncat(cmd, dev, strlen(dev)); */ /* Note that mnt may be NULL in this case. */ - a[0] = MOUNT_CMD; + a[0] = UMOUNT_CMD; a[1] = dev; a[2] = NULL; if( !fork() ) @@ -314,7 +317,8 @@ || !strcmp (mnt->mnt_type, MNTTYPE_SHM) || !strcmp (mnt->mnt_type, MNTTYPE_USBDEVFS) || !strcmp (mnt->mnt_type, MNTTYPE_NONE) - || !strcmp (mnt->mnt_type, MNTTYPE_IGNORE)) + || !strcmp (mnt->mnt_type, MNTTYPE_IGNORE) + || !strcmp (mnt->mnt_type, MNTTYPE_TMPFS)) continue; if (stat (mnt->mnt_fsname, &st_mnt)) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor