Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
sblim-gather
gather-reposdump.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gather-reposdump.patch of Package sblim-gather
Index: reposdump.c =================================================================== RCS file: /cvsroot/sblim/gather/reposdump.c,v retrieving revision 1.1 diff -u -r1.1 reposdump.c --- reposdump.c 18 Oct 2007 11:04:19 -0000 1.1 +++ reposdump.c 27 Nov 2007 09:15:07 -0000 @@ -86,8 +86,8 @@ } if (reposcfg_getitem("ExpirationInterval",expiration_str,sizeof(expiration_str)-1) != 0) { strcpy(expiration_str,"1200"); - expiration = atoi(expiration_str) * 2; } + expiration = atoi(expiration_str) * 2; } else { fprintf(stderr, "Could not read configuration file (reposd.conf)\n"); return REPOSDUMP_NOTFOUND; @@ -123,15 +123,14 @@ /* construct output filename and open for writing */ if (argc > 3) { - dumpdir = "/tmp"; - } else { dumpdir = argv[3]; + } else { + dumpdir = "/tmp"; } sprintf(fname,"%s/reposd-dump-%s.out",dumpdir,timestr); fhdl = fopen(fname,"w"); if (fhdl == NULL) { fprintf(stderr, "Could not open %s for writing\n", fname); - releasefilelist(plugins); return REPOSDUMP_FILEWRITE; }
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