Changeset 102186 in vbox for trunk/src/libs/xpcom18a4/xpcom/components/nsCategoryManager.cpp
- Timestamp:
- Nov 21, 2023 10:38:17 AM (15 months ago)
- svn:sync-xref-src-repo-rev:
- 160311
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/components/nsCategoryManager.cpp
r101976 r102186 356 356 357 357 struct persistent_userstruct { 358 PR FileDesc*fd;358 PRTSTREAM fd; 359 359 const char* categoryName; 360 360 PRBool success; … … 370 370 371 371 if (aLeaf->pValue) { 372 if ( PR_fprintf(args->fd,373 "%s,%s,%s\n",374 args->categoryName,375 aLeaf->GetKey(),376 aLeaf->pValue) == (PRUint32)-1) {372 if (RTStrmPrintf(args->fd, 373 "%s,%s,%s\n", 374 args->categoryName, 375 aLeaf->GetKey(), 376 aLeaf->pValue) == -1) { 377 377 args->success = PR_FALSE; 378 378 status = PL_DHASH_STOP; … … 384 384 385 385 PRBool 386 CategoryNode::WritePersistentEntries(PR FileDesc*fd, const char* aCategoryName)386 CategoryNode::WritePersistentEntries(PRTSTREAM fd, const char* aCategoryName) 387 387 { 388 388 persistent_userstruct args = { … … 645 645 646 646 struct writecat_struct { 647 PR FileDesc*fd;647 PRTSTREAM fd; 648 648 PRBool success; 649 649 }; … … 665 665 666 666 NS_METHOD 667 nsCategoryManager::WriteCategoryManagerToRegistry(PR FileDesc*fd)667 nsCategoryManager::WriteCategoryManagerToRegistry(PRTSTREAM fd) 668 668 { 669 669 writecat_struct args = {
Note:
See TracChangeset
for help on using the changeset viewer.