mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
another system specific tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33228 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1d8d141af9
commit
635bd46437
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-06-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSTimeZone.m: Allow for quotes around zone name in
|
||||
/etc/sysconfig/time on redhat/centos.
|
||||
|
||||
2011-06-01 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSTimeZone.m: Disable use of tzname on FreeBSD as it's not
|
||||
|
|
|
@ -1527,6 +1527,15 @@ static NSMapTable *absolutes = 0;
|
|||
{
|
||||
s = [s substringFromIndex: 1];
|
||||
s = [s stringByTrimmingSpaces];
|
||||
if ([s hasPrefix: @"\""])
|
||||
{
|
||||
s = [s substringFromIndex: 1];
|
||||
}
|
||||
if ([s hasSuffix: @"\""])
|
||||
{
|
||||
s = [s substringToIndex: [s length] - 1];
|
||||
}
|
||||
s = [s stringByTrimmingSpaces];
|
||||
if ([s length] > 0)
|
||||
{
|
||||
localZoneSource = _(@"/etc/sysconfig/clock file");
|
||||
|
|
Loading…
Reference in a new issue