History log of /aoo42x/main/sal/osl/ (Results 26 - 50 of 90)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
c220974002-Sep-2016 truckman

Fix improper usage of strncat() and snprintf(). Flagged by -Wstrncat-size
compiler warning from clang.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1758884 13

Fix improper usage of strncat() and snprintf(). Flagged by -Wstrncat-size
compiler warning from clang.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1758884 13f79535-47bb-0310-9956-ffa450edef68

show more ...

Revision tags: AOO4121
30acf5e822-May-2016 pfg

Spelling, spelling ...

Why worry about some sprinkled German when we haven't yet learned English.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1745006 13f79535

Spelling, spelling ...

Why worry about some sprinkled German when we haven't yet learned English.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1745006 13f79535-47bb-0310-9956-ffa450edef68

show more ...

509a48ff10-Apr-2016 pfg

Replace 0 with NULL for pointers.

Only applied to C code: common syntax for C++ is different (nullptr).

Found with coccinelle: http://coccinelle.lip6.fr/


git-svn-id:

Replace 0 with NULL for pointers.

Only applied to C code: common syntax for C++ is different (nullptr).

Found with coccinelle: http://coccinelle.lip6.fr/


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1738404 13f79535-47bb-0310-9956-ffa450edef68

show more ...

5691909d06-Feb-2016 Damjan Jovanovic

Platforms that need CLOSESOCKET_DOESNT_WAKE_UP_ACCEPT for sockets usually
need it for pipes too, and even if it isn't necessary it can't hurt.

In particular, on FreeBSD 11-CURRENT it see

Platforms that need CLOSESOCKET_DOESNT_WAKE_UP_ACCEPT for sockets usually
need it for pipes too, and even if it isn't necessary it can't hurt.

In particular, on FreeBSD 11-CURRENT it seems pipes no longer wake up
from accept when closed in other threads, so let's deal with that before
FreeBSD 11 is released.

Reported by: Matthias Apitz <g u r u a t u n i x a r e a d o t d e>
Patch by: me
Tested by: Matthias Apitz <g u r u a t u n i x a r e a d o t d e>



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1728872 13f79535-47bb-0310-9956-ffa450edef68

show more ...

cf09c87219-Dec-2015 Pedro Giffuni

Remember to NULL terminate when using strncpy.

All systems should have strlcpy.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1720862 13f79535-47bb-0310-9956-ff

Remember to NULL terminate when using strncpy.

All systems should have strlcpy.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1720862 13f79535-47bb-0310-9956-ffa450edef68

show more ...

40ae658c13-Dec-2015 Damjan Jovanovic

Use %tx to print ptrdiff_t.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1719848 13f79535-47bb-0310-9956-ffa450edef68

6a5321ab13-Dec-2015 Damjan Jovanovic

Use %p to print pointers in sal backtraces instead of 0x%x + conversion to integer.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1719846 13f7

Use %p to print pointers in sal backtraces instead of 0x%x + conversion to integer.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1719846 13f79535-47bb-0310-9956-ffa450edef68

show more ...

83a6547a11-Dec-2015 Pedro Giffuni

Drop useless malloc casts in C code

In ANSI C these casts are unnecessary and can hide warnings.
If this code is moved to C++ we may need such casts back
but we may then consider re-

Drop useless malloc casts in C code

In ANSI C these casts are unnecessary and can hide warnings.
If this code is moved to C++ we may need such casts back
but we may then consider re-writing the allocation code
altogether.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1719566 13f79535-47bb-0310-9956-ffa450edef68

show more ...

9b7ebb4103-Dec-2015 Pedro Giffuni

Missing Unlock

Condition broadcast failed but silently try to unlock the mutex.

CID: 705120

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1717711 13f7953

Missing Unlock

Condition broadcast failed but silently try to unlock the mutex.

CID: 705120

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1717711 13f79535-47bb-0310-9956-ffa450edef68

show more ...

3f12a67e02-Dec-2015 Pedro Giffuni

Off by one using readlink(2)

CID 705623, 982797

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1717642 13f79535-47bb-0310-9956-ffa450edef68

ab410dff30-Nov-2015 Pedro Giffuni

Destination buffer too small

CID: 706154


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1717148 13f79535-47bb-0310-9956-ffa450edef68

5435627127-Nov-2015 Damjan Jovanovic

Use the ptrdiff_t printf format code for backtracing on FreeBSD.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1716788 13f79535-47bb-0310-9956

Use the ptrdiff_t printf format code for backtracing on FreeBSD.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1716788 13f79535-47bb-0310-9956-ffa450edef68

show more ...

5258b99026-Nov-2015 Damjan Jovanovic

Implement osl_diagnose_backtrace_Impl() on FreeBSD. Also fix the value of FRAME_PTR_OFFSET
in both backtrace.c and diagnose.c - it's 3 because of the EBP/RBP register's position
in the jmp_bu

Implement osl_diagnose_backtrace_Impl() on FreeBSD. Also fix the value of FRAME_PTR_OFFSET
in both backtrace.c and diagnose.c - it's 3 because of the EBP/RBP register's position
in the jmp_buf (https://github.com/freebsd/freebsd/blob/master/lib/libc/amd64/gen/_setjmp.S
and https://github.com/freebsd/freebsd/blob/master/lib/libc/i386/gen/_setjmp.S).
This gets backtracing to fully work on FreeBSD.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1716759 13f79535-47bb-0310-9956-ffa450edef68

show more ...

550d0be826-Nov-2015 Damjan Jovanovic

Fix the stack frame layout for backtraces on FreeBSD.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1716755 13f79535-47bb-0310-9956-ffa450edef

Fix the stack frame layout for backtraces on FreeBSD.

Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1716755 13f79535-47bb-0310-9956-ffa450edef68

show more ...

f9124e1e25-Nov-2015 Pedro Giffuni

i66807 - Fix GCC warning in backtrace.c

The Bugzilla issue has another fix for sparc but I have no way ot test it.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk

i66807 - Fix GCC warning in backtrace.c

The Bugzilla issue has another fix for sparc but I have no way ot test it.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1716553 13f79535-47bb-0310-9956-ffa450edef68

show more ...

9717b33a24-Nov-2015 Pedro Giffuni

Resource leak

CID: 1028069


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1716163 13f79535-47bb-0310-9956-ffa450edef68

Revision tags: AOO412, SNAPSHOT
5efeadd120-Oct-2015 Andrea Pescetti

#i125194# Fix RC2 issue by changing approach.
Patch by: Giuseppe Castagno


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1709687 13f79535-47bb-0310-9956-ffa450edef68

cbe9c44217-Oct-2015 Andrea Pescetti

#i126582# Prevent errors with read/only shares on Sharepoint.
Patch by: Giuseppe Castagno

Added a Windows API missing error:
ERROR_CANT_ACCESS_FILE
file cannot be accessed by the

#i126582# Prevent errors with read/only shares on Sharepoint.
Patch by: Giuseppe Castagno

Added a Windows API missing error:
ERROR_CANT_ACCESS_FILE
file cannot be accessed by the system.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1709212 13f79535-47bb-0310-9956-ffa450edef68

show more ...

74ab850d13-Oct-2015 Damjan Jovanovic

#i126586# don't break on non-Linux non-FreeBSD non-NetBSD *nix systems ...



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1708483 13f79535-47bb-0310-9956-ffa450edef68

033c508013-Oct-2015 Damjan Jovanovic

#i126586# FreeBSD automation deadlock: osl_closeSocket() doesn't wake up thread stuck in accept().
Generalize the "#if defined(LINUX)" workarounds to the *BSDs.



git-svn-id: htt

#i126586# FreeBSD automation deadlock: osl_closeSocket() doesn't wake up thread stuck in accept().
Generalize the "#if defined(LINUX)" workarounds to the *BSDs.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1708477 13f79535-47bb-0310-9956-ffa450edef68

show more ...

ba39269807-Oct-2015 Pedro Giffuni

Bring back the casts for Win32.

Our old version of MSVC doesn't understand CERT secure C coding standard
MEM 02-A.

Reported by: damjan (through pescetti)


git-sv

Bring back the casts for Win32.

Our old version of MSVC doesn't understand CERT secure C coding standard
MEM 02-A.

Reported by: damjan (through pescetti)


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1707397 13f79535-47bb-0310-9956-ffa450edef68

show more ...

a6ad6d6407-Oct-2015 Pedro Giffuni

FreeBSD: Small cleanup and enhancement.

Reviewed by: Don Lewis


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1707381 13f79535-47bb-0310-9956-ffa450edef68

202fd1d507-Oct-2015 Pedro Giffuni

Enable some code from SUN Studio that works for other compilers (GCC).

Hinted from the OpenIndiana (Illumos) port by Alexander Pyhalov.



git-svn-id: https://svn.apache.org/

Enable some code from SUN Studio that works for other compilers (GCC).

Hinted from the OpenIndiana (Illumos) port by Alexander Pyhalov.



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1707328 13f79535-47bb-0310-9956-ffa450edef68

show more ...

0081a25604-Oct-2015 Pedro Giffuni

malloc + memset (0) --> calloc

Drop useless casts while here.


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1706649 13f79535-47bb-0310-9956-ffa450edef68

Revision tags: AOO411
9c0df32324-Sep-2015 Andrea Pescetti

#i125194# Fix WebDAV file locking.
Patch by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1705196 13f79535-47bb-0

#i125194# Fix WebDAV file locking.
Patch by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>


git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1705196 13f79535-47bb-0310-9956-ffa450edef68

show more ...

1234