HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21dd28d
)
(main): Cast geteuid in sprintf to int.
author
Gerd Moellmann
<gerd@gnu.org>
Tue, 9 Oct 2001 10:16:26 +0000
(10:16 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Tue, 9 Oct 2001 10:16:26 +0000
(10:16 +0000)
From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
lib-src/emacsserver.c
patch
|
blob
|
blame
|
history
diff --git
a/lib-src/emacsserver.c
b/lib-src/emacsserver.c
index
7394a9a
..
2362329
100644
(file)
--- a/
lib-src/emacsserver.c
+++ b/
lib-src/emacsserver.c
@@
-267,7
+267,7
@@
main (argc, argv)
}
#ifndef SERVER_HOME_DIR
- sprintf (server.sun_path, "/tmp/esrv%d-%s", geteuid (), system_name);
+ sprintf (server.sun_path, "/tmp/esrv%d-%s",
(int)
geteuid (), system_name);
if (unlink (server.sun_path) == -1 && errno != ENOENT)
{