mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
836b0df671
PR: 16873 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp> No response from: maintainer
15 lines
376 B
Plaintext
15 lines
376 B
Plaintext
--- misc.c.orig Sun Mar 14 00:00:00 1999
|
|
+++ misc.c Sun Feb 13 15:55:51 2000
|
|
@@ -1188,7 +1188,11 @@
|
|
pb = pbuf + strlen(pbuf) - 5;
|
|
#endif
|
|
#if defined(_T_MSDOS) || defined(_T_UNIX)
|
|
+#ifndef __FreeBSD__
|
|
sprintf(pbuf, "%05d", getpid());
|
|
+#else
|
|
+ sprintf(pbuf, "%05ld", getpid());
|
|
+#endif
|
|
pb = pbuf;
|
|
#endif
|
|
#if defined(_T_WIN32CONSOLE) || defined(_T_WINDOWS)
|