GCC with patches for OS216
Revisión | d329ad17f7213cfc359de3c1ed8da6fd2a3105e9 (tree) |
---|---|
Tiempo | 1999-08-23 01:19:06 |
Autor | Alexandre Oliva <oliva@gcc....> |
Commiter | Alexandre Oliva |
Added missing whitespace in function calls within adaptors
Pointed out by Tom
From-SVN: r28801
@@ -243,7 +243,7 @@ getpwuid_adaptor(int (*getpwuid_r)(T_uid user_id, T_passwd *pwd_r, | ||
243 | 243 | uid_t user_id, struct passwd *pwd_r, |
244 | 244 | char *buf_r, size_t len_r, struct passwd **pwd_entry) |
245 | 245 | { |
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); | |
247 | 247 | } |
248 | 248 | |
249 | 249 | /* 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, | ||
254 | 254 | uid_t user_id, struct passwd *pwd_r, |
255 | 255 | char *buf_r, size_t len_r, struct passwd **pwd_entry) |
256 | 256 | { |
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); | |
258 | 258 | return (*pwd_entry == NULL) ? errno : 0; |
259 | 259 | } |
260 | 260 | #endif |
@@ -21,3 +21,5 @@ ctime_adaptor (char* (*ctime_r)(T_clock *clock, T_buf *buf, T_buflen len), | ||
21 | 21 | #endif |
22 | 22 | |
23 | 23 | return JvNewStringLatin1 (ctime_adaptor (ctime_r, &t, buf)); |
24 | + return ctime_r (clock, buf); | |
25 | + return ctime_r (clock, buf, buflen); |