Commit Graph

26 Commits

Author SHA1 Message Date
Alexandre Julliard 79cd9183e8 kernel32: Revert incorrect part of commit 7c3529f1cc. 2009-03-25 14:19:02 +01:00
James Hawkins 87847b47cd kernel32: Don't try to load an empty initialization file. 2009-03-24 11:37:01 +01:00
James Hawkins 7c3529f1cc kernel32: Handle writing empty sections and keys in WritePrivateProfileString. 2009-03-24 11:36:52 +01:00
James Hawkins f1308f9b40 kernel32: Set last error to ERROR_FILE_NOT_FOUND if lpAppName is NULL. 2009-03-24 11:36:03 +01:00
Michael Stefaniuc 9b2730eb88 kernel32: Remove superfluous pointer casts. 2009-03-11 13:03:31 +01:00
Michael Karcher abf9cd0993 kernel32: Free profile before reloading. 2009-02-18 14:58:27 +01:00
Austin English eb877e4421 kernel32: Add a stub for OpenProfileUserMapping. 2009-01-28 12:11:22 +01:00
Maarten Lankhorst 5f4275970e kernel32: Fix 64-bits error in profile. 2008-11-26 13:38:27 +01:00
Andrew Talbot 5ae5a68ed3 kernel32: Sign-compare warnings fix. 2008-10-15 14:01:53 +02:00
Erik Inge Bolsø e8754b8ea6 kernel32: Fix PROFILE_Load to handle mac line endings. 2008-09-23 13:07:40 +02:00
Michael Karcher fe09bc1a39 kernel32: Clean up PROFILE_isspaceW. 2008-09-15 11:43:13 +02:00
Michael Karcher 34aa6b7002 kernel32: Fix profile cache logic and don't cache new files. 2008-08-20 14:56:15 +02:00
Michael Karcher 33ca67dcab kernel32: Fix profile sharing mode.
Based on a patch from Austin English.
2008-08-18 17:15:56 +02:00
James Hawkins 978a931781 kernel32: Don't get the profile string if the buffer length is zero. 2008-07-18 11:31:59 +02:00
James Hawkins 3fb196fb57 kernel32: Return the default value if lpKeyName is empty. 2008-07-17 11:38:19 +02:00
James Hawkins 7e9df53f38 kernel32: Fix removing trailing spaces from lpDefault for GetPrivateProfileString. 2008-07-17 11:37:55 +02:00
Alexandre Julliard 284335229a kernel32: Don't require write access on profile file when only reading. 2008-05-22 12:15:37 +02:00
Alexandre Julliard 8b97263dae kernel32: Fix the profile file sharing modes.
Based on a patch by Louis Lenders.
2008-05-21 14:23:29 +02:00
Andrew Talbot 344e8acb8e kernel32: Fix a memory leak. 2007-09-27 19:25:06 +02:00
Paul Vriens 4a431afd69 kernel32/profile: Add a few NULL checks (Coverity). 2007-03-28 12:07:36 +02:00
Huw Davies 3f49239063 kernel32: Fix GetPrivateProfileSectionNamesA when the file does not exist. 2007-03-14 18:49:40 +01:00
Aric Stewart 00eca70b2a kernel32: Allow for non base-10 int values in ini file. 2007-02-27 12:34:21 +01:00
Juan Lang c2da099e29 kernel32: Suppress an unneeded warning. 2006-12-21 11:24:56 +01:00
Andrew Talbot ecd35a0267 kernel32: Cast-qual warnings fix. 2006-11-01 13:38:05 +01:00
Michael Stefaniuc 8c38b88068 kernel32: Win64 printf format warning fixes. 2006-10-13 12:08:25 +02:00
Alexandre Julliard 489d87d1e5 kernel32: Renamed the kernel directory to kernel32.
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00