mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 09:31:07 +00:00
fixed c99ism
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25859 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5b1411d52a
commit
2c22400865
2 changed files with 10 additions and 6 deletions
13
ChangeLog
13
ChangeLog
|
@ -1,4 +1,7 @@
|
||||||
2007-01-04 Richard Frith-Macdonald <rfm@gnu.org>
|
2008-01-04 Riccardo Mottola <riccardo@kaffe.org>
|
||||||
|
* Source/NSKeyValueObserving.m: fixed cc99ism
|
||||||
|
|
||||||
|
2008-01-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* config/pathtls.m4: New checks for gnu tls
|
* config/pathtls.m4: New checks for gnu tls
|
||||||
* configure.ac: Add checks for gnu tls.
|
* configure.ac: Add checks for gnu tls.
|
||||||
|
@ -8,7 +11,7 @@
|
||||||
* configure: regenerate
|
* configure: regenerate
|
||||||
Preparatory checks for using gnu tls.
|
Preparatory checks for using gnu tls.
|
||||||
|
|
||||||
2007-01-04 Richard Frith-Macdonald <rfm@gnu.org>
|
2008-01-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/GSSocketStream.h: derived from GSStream.h
|
* Source/GSSocketStream.h: derived from GSStream.h
|
||||||
* Source/GSSocketStream.m: derived from GSStream.m
|
* Source/GSSocketStream.m: derived from GSStream.m
|
||||||
|
@ -19,7 +22,7 @@
|
||||||
* Source/win32/NSStream.m: include GSSocketStream.h
|
* Source/win32/NSStream.m: include GSSocketStream.h
|
||||||
Minor restructuring for clarity.
|
Minor restructuring for clarity.
|
||||||
|
|
||||||
2007-01-04 Richard Frith-Macdonald <rfm@gnu.org>
|
2008-01-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Headers/Foundation/NSStream.h: Tweak comments.
|
* Headers/Foundation/NSStream.h: Tweak comments.
|
||||||
* Source/GSNetwork.h: New file for common networking declarations.
|
* Source/GSNetwork.h: New file for common networking declarations.
|
||||||
|
@ -36,12 +39,12 @@
|
||||||
data in transit in the same way as on unix (ie don't close
|
data in transit in the same way as on unix (ie don't close
|
||||||
the local end until a read/write actually fails).
|
the local end until a read/write actually fails).
|
||||||
|
|
||||||
2007-01-03 Richard Frith-Macdonald <rfm@gnu.org>
|
2008-01-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/inet_pton.c: Add mswindows implementation of
|
* Source/inet_pton.c: Add mswindows implementation of
|
||||||
inet_ntop() as well.
|
inet_ntop() as well.
|
||||||
|
|
||||||
2007-01-02 Richard Frith-Macdonald <rfm@gnu.org>
|
2008-01-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/win32/GSFileHandle.m: rename to GSFileHandleWin32.m
|
* Source/win32/GSFileHandle.m: rename to GSFileHandleWin32.m
|
||||||
* Source/win32/NSUserDefaultsWin32.m: rename to NSUserDefaults.m
|
* Source/win32/NSUserDefaultsWin32.m: rename to NSUserDefaults.m
|
||||||
|
|
|
@ -765,6 +765,7 @@ replacementForClass(Class c)
|
||||||
context: (void*)aContext
|
context: (void*)aContext
|
||||||
{
|
{
|
||||||
NSMapTable *observers;
|
NSMapTable *observers;
|
||||||
|
NSMapTable *observer;
|
||||||
|
|
||||||
[iLock lock];
|
[iLock lock];
|
||||||
observers = (NSMapTable*)NSMapGet(paths, (void*)aPath);
|
observers = (NSMapTable*)NSMapGet(paths, (void*)aPath);
|
||||||
|
@ -781,7 +782,7 @@ replacementForClass(Class c)
|
||||||
* FIXME ... should store an object containing context and options.
|
* FIXME ... should store an object containing context and options.
|
||||||
* For simplicity right now, just store context or a dummy value.
|
* For simplicity right now, just store context or a dummy value.
|
||||||
*/
|
*/
|
||||||
NSMapTable * observer = NSCreateMapTable(NSNonRetainedObjectMapKeyCallBacks,
|
observer = NSCreateMapTable(NSNonRetainedObjectMapKeyCallBacks,
|
||||||
NSNonOwnedPointerMapValueCallBacks, 3);
|
NSNonOwnedPointerMapValueCallBacks, 3);
|
||||||
NSMapInsert(observer, (void *)@"context", aContext);
|
NSMapInsert(observer, (void *)@"context", aContext);
|
||||||
NSMapInsert(observer, (void *)@"options", (void *)options);
|
NSMapInsert(observer, (void *)@"options", (void *)options);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue