ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/tools.c
(Generate patch)

Comparing projects/libstatgrab/src/libstatgrab/tools.c (file contents):
Revision 1.19 by pajs, Fri Jan 9 16:19:58 2004 UTC vs.
Revision 1.21 by ats, Sat Jan 10 15:28:03 2004 UTC

# Line 269 | Line 269 | static long long atoll(const char *s) {
269   #endif
270  
271   #ifndef HAVE_STRLCPY
272 < *      $OpenBSD: strlcpy.c,v 1.8 2003/06/17 21:56:24 millert Exp $     */
272 > /*      $OpenBSD: strlcpy.c,v 1.8 2003/06/17 21:56:24 millert Exp $     */
273  
274   /*
275   * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
# Line 437 | Line 437 | int statgrab_init(){
437          }
438   #endif
439   #ifdef SOLARIS
440 <        if((build_mapping()) != 0) return 1;
440 >        /* On solaris 7, this will fail if you are not root. But, everything
441 >         * will still work, just no disk mappings. So we will ignore the exit
442 >         * status of this, and carry on merrily.
443 >         */
444 >        build_mapping();
445   #endif
446          return 0;
447   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines