Print this page
make: unifdef SUN5_0 (defined)

*** 129,143 **** break; } if ((counter > 5) && (!printed_warning)) { /* Print waiting message after 5 secs */ - #if defined(SUN5_0) || defined(HP_UX) || defined(linux) (void) getcwd(msg, MAXPATHLEN); - #else - (void) getwd(msg); - #endif fprintf(stderr, catgets(libmksdmsi18n_catd, 1, 162, "file_lock: file %s is already locked.\n"), name); fprintf(stderr, catgets(libmksdmsi18n_catd, 1, 163, "file_lock: will periodically check the lockfile %s for two minutes.\n"), --- 129,139 ----
*** 175,187 **** #if !defined(linux) if (errno < sys_nerr) { #ifdef SUN4_x strcat(msg, sys_errlist[errno]); #endif - #ifdef SUN5_0 strcat(msg, strerror(errno)); - #endif } else { len = strlen(msg); sprintf(&msg[len], NOCATGETS("errno %d"), errno); } #else --- 171,181 ----