• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GCC with patches for OS216


Commit MetaInfo

Revisiónd329ad17f7213cfc359de3c1ed8da6fd2a3105e9 (tree)
Tiempo1999-08-23 01:19:06
AutorAlexandre Oliva <oliva@gcc....>
CommiterAlexandre Oliva

Log Message

Added missing whitespace in function calls within adaptors
Pointed out by Tom

From-SVN: r28801

Cambiar Resumen

Diferencia incremental

--- a/libjava/java/lang/natSystem.cc
+++ b/libjava/java/lang/natSystem.cc
@@ -243,7 +243,7 @@ getpwuid_adaptor(int (*getpwuid_r)(T_uid user_id, T_passwd *pwd_r,
243243 uid_t user_id, struct passwd *pwd_r,
244244 char *buf_r, size_t len_r, struct passwd **pwd_entry)
245245 {
246- return getpwuid_r(user_id, pwd_r, buf_r, len_r, pwd_entry);
246+ return getpwuid_r (user_id, pwd_r, buf_r, len_r, pwd_entry);
247247 }
248248
249249 /* This is used on IRIX 5.2. */
@@ -254,7 +254,7 @@ getpwuid_adaptor(T_passwd * (*getpwuid_r)(T_uid user_id, T_passwd *pwd_r,
254254 uid_t user_id, struct passwd *pwd_r,
255255 char *buf_r, size_t len_r, struct passwd **pwd_entry)
256256 {
257- *pwd_entry = getpwuid_r(user_id, pwd_r, buf_r, len_r);
257+ *pwd_entry = getpwuid_r (user_id, pwd_r, buf_r, len_r);
258258 return (*pwd_entry == NULL) ? errno : 0;
259259 }
260260 #endif
--- a/libjava/java/util/natDate.cc
+++ b/libjava/java/util/natDate.cc
@@ -21,3 +21,5 @@ ctime_adaptor (char* (*ctime_r)(T_clock *clock, T_buf *buf, T_buflen len),
2121 #endif
2222
2323 return JvNewStringLatin1 (ctime_adaptor (ctime_r, &t, buf));
24+ return ctime_r (clock, buf);
25+ return ctime_r (clock, buf, buflen);