Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
archivemount
archivemount-0.6.2.607cd0d.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File archivemount-0.6.2.607cd0d.dif of Package archivemount
--- archivemount.c +++ archivemount.c 2012-10-22 10:06:32.970796667 +0000 @@ -114,8 +114,13 @@ static struct fuse_opt ar_opts[] = /* globals */ /***********/ +#if defined(__GNUC__) && defined(__SUPPORT_TS_ANNOTATION__) #define GUARDED_BY(x) __attribute__ ((guarded_by(x))) #define GUARDED_VAR __attribute__ ((guarded)) +#else +#define GUARDED_BY(x) +#define GUARDED_VAR +#endif static NODE *root GUARDED_BY(lock); /* root node */ static int archiveFd GUARDED_BY(fdLock); /* file descriptor of archive file. */ @@ -2586,7 +2591,8 @@ main( int argc, char **argv ) fuse_ret = fuse_main( args.argc, args.argv, &ar_oper, NULL ); /* go back to saved dir */ - fchdir( oldpwd ); + if (fchdir( oldpwd ) < 0) + perror( "can not go back to old pwd" ); /* save changes if modified */ if( archiveWriteable && !options.readonly && archiveModified ) { --- configure.ac +++ configure.ac 2012-10-22 09:31:04.098425692 +0000 @@ -1,8 +1,9 @@ # Process this file with autoconf to produce a configure script -AC_INIT([archivemount],[0.6.1], [andrel@cybernoia.de]) +AC_INIT([archivemount],[0.6.2], [andrel@cybernoia.de]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_PROG_CC +AM_PROG_CC_C_O AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile archivemount.1]) @@ -11,8 +12,6 @@ AC_CONFIG_FILES([Makefile archivemount.1 RELEASE_DATE="1 November 2008" AC_SUBST(RELEASE_DATE) -CFLAGS= - # Check for libfuse PKG_CHECK_EXISTS(fuse) PKG_CHECK_MODULES([FUSE], [fuse >= 2.6],,
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