mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 08:30:59 +00:00
(scanDynamic): Skip anything with a .service extension.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16759 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
52308a0016
commit
e0b048af5a
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-05-20 22:50 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Tools/make_services.m (scanDynamic): Skip anything with a .service
|
||||
extension.
|
||||
|
||||
2003-05-18 00:00 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Headers/gnustep/gui/DPSOperators.h,
|
||||
|
|
|
@ -612,6 +612,10 @@ scanDynamic(NSMutableDictionary *services, NSString *path)
|
|||
continue;
|
||||
}
|
||||
|
||||
/* *.service bundles are handled in scanDirectory */
|
||||
if ([[name pathExtension] isEqualToString: @"service"])
|
||||
continue;
|
||||
|
||||
infPath = [path stringByAppendingPathComponent: name];
|
||||
|
||||
info = [NSDictionary dictionaryWithContentsOfFile: infPath];
|
||||
|
|
Loading…
Reference in a new issue