unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Service name too long
@ 2022-01-22 20:51 Tor Kringeland
  2022-01-22 21:26 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Tor Kringeland @ 2022-01-22 20:51 UTC (permalink / raw)
  To: emacs-devel

I recently encountered the error "Service name too long" when using the
package subed [1].  It seems to originate from `src/process.c'.  The
problem was that the value `subed-mpv-socket-dir' was too large.  It was
automatically set too

  /var/folders/6y/bnw7_h3j6w389gndfds7mzxm0000gn/T/subed-mpv-socket

However, changing it to a smaller value, for instance

  /tmp/subed-mpv-socket

solved the issue.

Is there a necessary reason why this error was thrown (/e.g./ the max
limit is dependent on the OS)?  The required length of string to cause
it is rather small.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Service name too long
  2022-01-22 20:51 Service name too long Tor Kringeland
@ 2022-01-22 21:26 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2022-01-22 21:26 UTC (permalink / raw)
  To: Tor Kringeland; +Cc: emacs-devel

On Jan 22 2022, Tor Kringeland wrote:

> Is there a necessary reason why this error was thrown (/e.g./ the max
> limit is dependent on the OS)?  The required length of string to cause
> it is rather small.

It is a fixed limit on your system and cannot be lifted.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-22 21:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-22 20:51 Service name too long Tor Kringeland
2022-01-22 21:26 ` Andreas Schwab

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).