diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 22:14:07 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 22:14:07 +0000 |
commit | f9d86cf02fe33bf6a8478d6bdcb7706d5cb877db (patch) | |
tree | 5d781dec4969d87592bb624042524bed70a0ed2d /japanese/today/files/patch-misc.c | |
parent | - Update to 2.0.28 (diff) |
Rename the rather surprising number of japanese/ patch-xy patches
to reflect the files they modify.
Diffstat (limited to 'japanese/today/files/patch-misc.c')
-rw-r--r-- | japanese/today/files/patch-misc.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/japanese/today/files/patch-misc.c b/japanese/today/files/patch-misc.c new file mode 100644 index 000000000000..0d4a96e42004 --- /dev/null +++ b/japanese/today/files/patch-misc.c @@ -0,0 +1,14 @@ +--- 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) |