• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Internet Config: Mac OS X 10.3 issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Internet Config: Mac OS X 10.3 issue


  • Subject: Internet Config: Mac OS X 10.3 issue
  • From: Stephane Sudre <email@hidden>
  • Date: Thu, 12 Feb 2004 12:16:14 +0100

It looks like there's a forward incompatibility issue with Internet Config on Mac OS X 10.3.

I used to empty an Internet Config preferences using the following code:

-------8<-----------8<-----------8<-----------8<-----------

status=ICStart(&tInstance,'XXXX');

if (status==noErr)
{
status=ICBegin(tInstance,icReadWritePerm);

if (status==noErr)
{
status=ICCountPref(tInstance,&count);

if (status==noErr)
{
long tBufferSize=0;

status=ICGetPref(tInstance,cookiesKey,&tAttributes,NULL,&tBufferSize);

if (status==noErr)
{
Size tSize;
const void * tBuffer;

tBuffer=[nData bytes]; // nData is a NSMutableData initialized with [NSMutableData dataWithCapacity:1];
tSize=[nData length];

status=ICSetPref(tInstance,cookiesKey,tAttributes,tBuffer,tSize);
}
}
}
}

status=ICEnd(tInstance);

-------8<-----------8<-----------8<-----------8<-----------

It's working fine on Mac OS X 10.1.0 -> 10.2.8.

It's not working on Mac OS X 10.3.x

I haven't seen any release note stating a change was made in IC.

I can of course use ICDeletePref to work around this but is it not a bug in Internet Config?
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Internet Config: Mac OS X 10.3 issue
      • From: Quinn <email@hidden>
  • Prev by Date: Re: UDP broadcast address
  • Next by Date: Re: Internet Config: Mac OS X 10.3 issue
  • Previous by thread: Re: Checking for other copies of my app running on a LAN
  • Next by thread: Re: Internet Config: Mac OS X 10.3 issue
  • Index(es):
    • Date
    • Thread