aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Error.c
Commit message (Collapse)AuthorAgeFilesLines
* nxagent: make nxagentVerbose a BooleanUlrich Sibiller2021-01-151-1/+1
|
* Error.c: mark NX changesUlrich Sibiller2020-01-061-19/+24
| | | | | nxagentPrintError is derived from XlibInt.c:_XprintDefaultError. Let's add missing code and mark NX changes.
* Error.c: simplify some NULL pointer checksUlrich Sibiller2020-01-051-4/+4
|
* Error.c: drop now obsolete DEFAULT_STRING_LENGTHUlrich Sibiller2020-01-051-3/+0
|
* Error.c: make nxagentRootDir a pointerUlrich Sibiller2020-01-051-37/+22
| | | | no more hardcoded string length
* Error.c: make nxagentHomeDir a pointerUlrich Sibiller2020-01-051-26/+17
| | | | no more hardcoded string length
* Error.c: make nxagentClientsLogName a pointerUlrich Sibiller2020-01-051-9/+10
| | | | no more hardcoded string length
* Error.c: fix format-truncation warningUlrich Sibiller2020-01-051-35/+19
| | | | | | | | | | Error.c: In function ‘nxagentGetSessionPath’: Error.c:543:62: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 253 [-Wformat-truncation=] snprintf(nxagentSessionDir, DEFAULT_STRING_LENGTH, "%s/C-%s", rootPath, nxagentSessionId); ^~ ~~~~~~~~~~~~~~~~ Error.c:543:5: note: ‘snprintf’ output 4 or more bytes (assuming 259) into a destination of size 256 snprintf(nxagentSessionDir, DEFAULT_STRING_LENGTH, "%s/C-%s", rootPath, nxagentSessionId); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Error.c: Code simplificationUlrich Sibiller2020-01-051-3/+0
|
* Error.c: reformat commentsUlrich Sibiller2020-01-051-7/+5
|
* Error.c: scope improvementsUlrich Sibiller2020-01-051-22/+11
|
* Error.c: use SAFE_freeUlrich Sibiller2019-08-061-6/+7
|
* hw/nxagent: fix spelling errors as reported by codespellUlrich Sibiller2018-05-241-1/+1
|
* hw/nxagent/: Use <function>(void) rather than <function>().Mike Gabriel2018-02-261-2/+2
|
* Error.c: replace malloc+strcpy by strdupUlrich Sibiller2018-01-071-5/+3
|
* Args.c, Error.[ch]: introduce own length macro for nxagentClientsLogNameUlrich Sibiller2018-01-071-3/+3
|
* Error.c: update nxagentPrintErrorUlrich Sibiller2018-01-071-6/+8
| | | | | | | This is a partial copy from XlibInt.c's _XPrintDefaultError, which had some minor changes since being copied. Update to reflect these changes. Also comment some more lines as their result was unused an cluttered the output.
* Error.c: replace strcpy/strcat by snprintfUlrich Sibiller2018-01-071-19/+12
|
* Error.c: use standard file descriptor macrosUlrich Sibiller2018-01-071-3/+3
|
* Error.c: remove trailing whitespaceUlrich Sibiller2018-01-071-5/+5
| | | | and insert one single space
* Error.c: remove empty ifdefUlrich Sibiller2018-01-071-4/+0
|
* Error.c: simply nxagentGetClientsPath()Ulrich Sibiller2017-11-211-31/+8
| | | | | | nxagentGetClientsPath() allocated and returned a string that was never used anywhere because it also fills the global variable with the same value.
* Per-file copyright notices: Update copyright information in file headers ↵Mike Gabriel2016-07-061-7/+15
| | | | that NoMachine placed there own copyright statement in.
* Export remote keyboard configuration to session directory ↵Marcelo Boveto Shima2015-02-101-1/+1
| | | | | | | (105_nxagent_export-remote-keyboard-config.full.patch) Let nxagent write the keyboard configuration to <session_directory>/keyboard and make it available within the NX session.
* Fix -Werror=format-security errors ↵Orion Poplawski2015-02-091-1/+1
| | | | | | | | (056_nx-X11_Werror-format-security.full.patch). The below patch fixes more -Werror=format-security errors. Interestingly, most of the errors only showed up on our arm builds. No idea why.
* Revert "release 3.5.0.19"Mike Gabriel2013-03-281-1/+1
| | | | This reverts commit e77bf36d9afbc7e56522574b06217d57c11dd095.
* release 3.5.0.19Mike Gabriel2013-03-281-1/+1
|
* Imported nxagent-3.5.0-2.tar.gznxagent/3.5.0-2Reinhard Tartler2011-10-101-1/+1
| | | | | | | | Summary: Imported nxagent-3.5.0-2.tar.gz Keywords: Imported nxagent-3.5.0-2.tar.gz into Git repository
* Imported nxagent-3.4.0-5.tar.gznxagent/3.4.0-5Reinhard Tartler2011-10-101-1/+1
| | | | | | | | Summary: Imported nxagent-3.4.0-5.tar.gz Keywords: Imported nxagent-3.4.0-5.tar.gz into Git repository
* Imported nxagent-3.4.0-3.tar.gznxagent/3.4.0-3Reinhard Tartler2011-10-101-1/+1
| | | | | | | | Summary: Imported nxagent-3.4.0-3.tar.gz Keywords: Imported nxagent-3.4.0-3.tar.gz into Git repository
* Imported nxagent-3.4.0-16.tar.gznxagent/3.4.0-16Reinhard Tartler2011-10-101-1/+1
| | | | | | | | Summary: Imported nxagent-3.4.0-16.tar.gz Keywords: Imported nxagent-3.4.0-16.tar.gz into Git repository
* Imported nxagent-3.4.0-11.tar.gznxagent/3.4.0-11Reinhard Tartler2011-10-101-2/+2
| | | | | | | | Summary: Imported nxagent-3.4.0-11.tar.gz Keywords: Imported nxagent-3.4.0-11.tar.gz into Git repository
* Imported nxagent-3.1.0-2.tar.gznxagent/3.1.0-2Reinhard Tartler2011-10-101-0/+636
Summary: Imported nxagent-3.1.0-2.tar.gz Keywords: Imported nxagent-3.1.0-2.tar.gz into Git repository