+2001-04-05 Dave Love <fx@gnu.org>
+
+ * emacsclient.c (fail): Don't return a value.
+ (main): Cast uid values for sprintf.
+
2001-04-03 Gerd Moellmann <gerd@gnu.org>
* emacsclient.c (fail, main): Don't use implicit int return type.
{
int i = optind -1 ;
execvp (alternate_editor, argv + i);
+ return;
}
else
{
{
int sock_status = 0;
- sprintf (server.sun_path, "/tmp/esrv%d-%s", geteuid (), system_name);
+ sprintf (server.sun_path, "/tmp/esrv%d-%s", (int) geteuid (), system_name);
/* See if the socket exists, and if it's owned by us. */
sock_status = socket_status (server.sun_path);
{
/* We're running under su, apparently. */
sprintf (server.sun_path, "/tmp/esrv%d-%s",
- pw->pw_uid, system_name);
+ (int) pw->pw_uid, system_name);
sock_status = socket_status (server.sun_path);
}
}