mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
129e32e73e
Looking at a preference file read with strace typically looks like: open("...", O_RDONLY) = X ... read(X, "...", SIZE) = SIZE read(X, "...", SIZE) = 0 ... There's no reason to call Read() and make another syscall to determine there's no data left for reading. We can keep track of how much we've read at minimal cost and thus determine for ourselves when we are done. |
||
---|---|---|
.. | ||
init | ||
test | ||
greprefs.js | ||
moz.build | ||
nsIPrefBranch2.idl | ||
nsIPrefBranch.idl | ||
nsIPrefBranchInternal.idl | ||
nsIPrefLocalizedString.idl | ||
nsIPrefService.idl | ||
nsIRelativeFilePref.idl | ||
nsPrefBranch.cpp | ||
nsPrefBranch.h | ||
nsPrefsFactory.cpp | ||
prefapi_private_data.h | ||
prefapi.cpp | ||
prefapi.h | ||
Preferences.cpp | ||
Preferences.h | ||
prefread.cpp | ||
prefread.h |