summaryrefslogtreecommitdiff
path: root/sal
AgeCommit message (Collapse)Author
2014-11-24typo: unknownAndras Timar
Change-Id: If89443c1668ca01c826c8fc353b20097c7da7bf4
2014-11-23Erm, setenv, not putenvStephan Bergmann
...so no need to leak an OString (and no need for a static char const *locale, as osl_getProcessLocale calling _imp_getProcessLocale already takes care about that). Change-Id: Ic831415596fe44335a6b12b5d884e781368676b8
2014-11-21Silence false cid#1255391 TOCTOU warningStephan Bergmann
Change-Id: Ifc35c379d5c68fb363ae3507ccb5bff37c8cd9aa
2014-11-21cid#1209049: Unchecked return valueStephan Bergmann
Change-Id: I7422cb010c38de34a7effa6124c5146f70419f79
2014-11-21cid#1255386: Unchecked return valueStephan Bergmann
Change-Id: Id55f27a3e1a35d1c5ebeccdd9a853f661b5c1746
2014-11-20osl_getVolumeInformation: only stat if necessaryStephan Bergmann
...in the hope that that makes cid#706206 (TOCTOU) go away Change-Id: I4bc7b44e0268cf5d46aaf55fb4073dcdf67b324c
2014-11-20sal: fix build with clang and --enable-crashdumpMichael Stahl
Change-Id: I148005489e4ef31b55886c1dd3076650d3a2ec17
2014-11-20At least old Mac OS X does not know AT_FDCWDStephan Bergmann
...lets hope it is actually declared as a macro wherever it is known. Change-Id: If541d02af3ac5d9ad4f0ac1cb4dd9f9f4550a78a
2014-11-20Let attemptChangeMetadata work on symlink itselfStephan Bergmann
Change-Id: I42a81e70e76cb4699052815cfd415a8efd902b03
2014-11-20fdo#83529: Only preserve metadata of moved, not copied filesStephan Bergmann
Change-Id: If3e436d137b6989af22df43c3a9a247bb2c9ffe9
2014-11-20Introduce OStringBuffer::appendUninitializedStephan Bergmann
...corresponding to the OUStringBuffer couterpart Change-Id: I3ab03343696e6755cf1ccc470e4decc2f41d2558
2014-11-20len cannot be <= 1 hereStephan Bergmann
Change-Id: I482e6eeca09e7b15a8d95a866ebab35d06f13e9e
2014-11-20Needless assignment len -> nStephan Bergmann
Change-Id: I9051284b34e5a6f3f48ee58243d6481b072e0a80
2014-11-20Remove comment junkStephan Bergmann
Change-Id: Ifaed964d084d0b7a2dacbc23a93fb77eb7515ab4
2014-11-20Clean up Mac _imp_getProcessLocaleStephan Bergmann
Introduces OUStringBuffer::appendUninitialized. Change-Id: If225ec4d798e0df91cad60130e3f22ee26b88abb
2014-11-20Unused return valueStephan Bergmann
Change-Id: I963d001aee68f1218ba7273562cb41f3cf4c5e20
2014-11-20sal: fix --enable-crashdump build in new C++ world orderMichael Stahl
Change-Id: I95e4f43f4ef40e8c04b37002bbae03f4f23a9e34
2014-11-19Blind fix for AndroidStephan Bergmann
Change-Id: I091fa9f9fd4c2df1818aadcba7995b174b07f098
2014-11-19system.h -> system.hxxStephan Bergmann
Change-Id: I39a60d0b775bfe40fa89e8b5d5f7466d0db5d36e
2014-11-19Remove obsolete osl_searchPath_implStephan Bergmann
(obsoleting cid#983584) Change-Id: Icbf25bd364fdabb208abe201ddc146daa60f9b62
2014-11-19Fold file_path_helper.h into file_path_helper.hxxStephan Bergmann
Change-Id: Ifad9594eb6fa396e32818b6d2bafc16adb478994
2014-11-19signal.c -> signal.cxxStephan Bergmann
Change-Id: I1d7f47b81e558a071a6beb52999d0bca185f02d5
2014-11-19HAVE_FEATURE_CRASHDUMP instead of manual SAL_ENABLE_CRASH_REPORTStephan Bergmann
Change-Id: Ifaf971d77f11cef207706989bba11dbe2028ca79
2014-11-19Revert "-Werror,-Wc++11-compat-deprecated-writable-strings"Stephan Bergmann
This reverts commit 0e589394e8452ee8dea8e807d3b5ef6620a1c6c1, which was a misguided attempt at solving a problem already solved by Tor.
2014-11-19-Werror,-Wc++11-compat-deprecated-writable-stringsStephan Bergmann
Change-Id: I4a8cbbbebe9833625af4805074d0c68ef3623ebd
2014-11-19ISO C++11 does not allow conversion from string literal to 'char *'Tor Lillqvist
Change-Id: I098d0b8b3428cbf57a69c331515093df36e0c172
2014-11-19Fold uunxapi.h into uunxapi.hxxStephan Bergmann
Change-Id: Ic16758e436da13684320e7e3bf07b80d8d8c7c5d
2014-11-19sockimpl.h -> sockimpl.hxxStephan Bergmann
Change-Id: Ic11f5e0923b8b9d656b74b900f52ff154bb65971
2014-11-19secimpl.h -> secimpl.hxxStephan Bergmann
Change-Id: I0fb87c5658bd02e327df8fdf3e0aa79f20bbc111
2014-11-19saltime.h -> saltime.hxxStephan Bergmann
Change-Id: I930c581525ed5b02dd8850e9781b01eed12c857f
2014-11-19readwrite_helper.h -> readwrite_helper.hxxStephan Bergmann
Change-Id: If0d71f0660d60e3bcea4db3906ffe600e00f69f2
2014-11-19Fold procimpl.h into process.cxxStephan Bergmann
Change-Id: I1adcaeea7a1a3f7a3634897821f15443dbc78e94
2014-11-19nlsupport.h -> nlsupport.hxxStephan Bergmann
Change-Id: Iaee3f8a43cba1d4fd02b6a51d42f73c8ef9e99b7
2014-11-19file_url.h -> file_url.hxxStephan Bergmann
Change-Id: I2494779521d56edcab41f66a7c64e7dc5a9205ad
2014-11-19file_error_transl.h -> file_error_transl.hxxStephan Bergmann
Change-Id: Ia71097a3d0fbeb606b1f6cfb7e6edb86bd45082a
2014-11-19interlck.c -> interlck.cxxStephan Bergmann
Change-Id: I90ca3ddbc2e1d4b830ec6e536e36e924ee14416a
2014-11-19time.c -> time.cxxStephan Bergmann
Change-Id: If0f0e40964f7dc107e14753da49df5cdc77732be
2014-11-19system.c -> system.cxxStephan Bergmann
Change-Id: I4629a01a67dd57d5915403a89da90e98b5184503
2014-11-19socket.c -> socket.cxxStephan Bergmann
(At least some glibc make FD_ISSET happen to be of type bool in C++, that's why we explicitly cast it to bool instead of comparing != 0 to avoid loplugin:implicitboolconversion; cf. <https://sourceware.org/ml/libc-help/2014-11/msg00018.html> "Type of FD_ISSET happens to be bool in C++.") Change-Id: I6da67620067392f5866d053b074198413da814b1
2014-11-19readwrite_helper.c -> readwrite_helper.cxxStephan Bergmann
Change-Id: I6d9f43a18e13cb291cb678b6faeeed7c0ec9de1a
2014-11-19pipe.c -> pipe.cxxStephan Bergmann
Change-Id: I0c9659379e6120c0bf01b6436d3127b83ad01af1
2014-11-19nlsupport.c -> nlsupport.cxxStephan Bergmann
Change-Id: Ida0c3c0c521f71fd3f18a12c02cf98ac96c5b7a6
2014-11-19mutex.c -> mutex.cxxStephan Bergmann
Change-Id: I24ebffd1b055bdd6ad93d2f071d20480b549379f
2014-11-19memory.c -> memory.cxxStephan Bergmann
Change-Id: I87d977aabd09ff01cba0f25247dca43a2bf0dd2b
2014-11-19filepath.c -> filepath.cxxStephan Bergmann
Change-Id: I24545b92d7aa0898289d0dee19f34966769702a1
2014-11-18More iwyu suggested headers removalRiccardo Magliocchetti
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, undid one remove that was detrimental to loplugin:unreffun Change-Id: I18d8252084d828f94ef7a954e1dbfb45743d7970
2014-11-17Build fix.Kohei Yoshida
Change-Id: Ifa6775384993900980c93df88162143aa7ac0a08
2014-11-17Missing includeStephan Bergmann
Change-Id: I767b9300568971c09c058347a9bbb66108dd792a
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>