1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
emacs/lib-src
Michal Nazarewicz ef474bd3d6 Fix compiler thinking tmpdir may be unitialised in emacsclient
This fixes the following warning:

	emacsclient.c: In function ‘set_local_socket’:
	/usr/include/x86_64-linux-gnu/bits/string3.h:111:3: error:
		‘tmpdir’ may be used uninitialized in this function
		[-Werror=maybe-uninitialized]
	   return __builtin___stpcpy_chk (__dest, __src, __bos (__dest));
	   ^
	emacsclient.c:1197:17: note: ‘tmpdir’ was declared here
	     const char *tmpdir;

* lib-src/emacsclient.c (set_local_socket): Get rid of use_tmpdir
variable and instead use tmpdir being non-NULL as sign that it should
be used.
2016-09-12 21:57:36 +02:00
..
ChangeLog.1 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
COPYING
ctags.c Port ctags+etags build to Sun C 5.12. 2014-05-18 11:57:04 -07:00
ebrowse.c Port flexible array members to GCC + valgrind 2016-09-07 18:10:11 -07:00
emacsclient.c Fix compiler thinking tmpdir may be unitialised in emacsclient 2016-09-12 21:57:36 +02:00
etags.c * lib-src/etags.c (invalidate_nodes): Fix another thinko. 2016-08-31 20:19:42 +03:00
hexl.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
make-docfile.c Replace IF_LINT by NONVOLATILE and UNINIT 2016-06-08 11:50:42 -07:00
Makefile.in Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
movemail.c Omit IF_LINT code that no longer seems needed 2016-05-30 16:13:04 -07:00
ntlib.c Fix compilation warning in the MinGW build 2016-07-22 20:38:22 +03:00
ntlib.h Fix compiler warnings in the MinGW build 2016-05-21 20:06:33 +03:00
pop.c Pacify --enable-gcc-warnings for lib-src/pop.c 2016-08-28 01:57:10 -07:00
pop.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
profile.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
rcs2log Port "$@" to OpenIndiana ksh93 2016-01-24 17:29:01 -08:00
README
update-game-score.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
update-game-score.exe.manifest Provide a Windows manifest for update-game-score.exe. 2013-08-10 10:43:41 +03:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.