ObjFW  Check-in [c272d187d7]

Overview
Comment:OFException: Reduce backtrace size to 16

More than 16 is almost never useful, and 32 means it does no longer fit
on a 80x24 screen - or on the screen on a Nintendo 3DS or Wii.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c272d187d718f2d5b3790a468e0eefe361eb0cceab88d993f3d3413207a33506
User & Date: js on 2018-08-25 18:32:02
Other Links: manifest | tags
Context
2018-08-25
18:58
OFFileManager: Make sure the FS is initialized check-in: 698a1b8b13 user: js tags: trunk
18:32
OFException: Reduce backtrace size to 16 check-in: c272d187d7 user: js tags: trunk
15:53
OFDNSResolver: Obtain name servers on Nintendo 3DS check-in: 81674093ac user: js tags: trunk
Changes

Modified src/exceptions/OFException.h from [b458aeb005] to [c4d4a30786].

19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

OF_ASSUME_NONNULL_BEGIN

@class OFArray OF_GENERIC(ObjectType);
@class OFMutableArray OF_GENERIC(ObjectType);
@class OFString;

#define OF_BACKTRACE_SIZE 32

#if defined(OF_WINDOWS) && defined(OF_HAVE_SOCKETS)
# ifndef EADDRINUSE
#  define EADDRINUSE WSAEADDRINUSE
# endif
# ifndef EADDRNOTAVAIL
#  define EADDRNOTAVAIL WSAEADDRNOTAVAIL







|







19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

OF_ASSUME_NONNULL_BEGIN

@class OFArray OF_GENERIC(ObjectType);
@class OFMutableArray OF_GENERIC(ObjectType);
@class OFString;

#define OF_BACKTRACE_SIZE 16

#if defined(OF_WINDOWS) && defined(OF_HAVE_SOCKETS)
# ifndef EADDRINUSE
#  define EADDRINUSE WSAEADDRINUSE
# endif
# ifndef EADDRNOTAVAIL
#  define EADDRNOTAVAIL WSAEADDRNOTAVAIL