Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.75
 
1.76
 
MAIN:gmcgarry:20080417111713
 
local.c
_>906906 char *
 907907 exname(char *p)
 908908 {
<> 909+#if defined(PECOFFABI) || defined(MACHOABI)
  910+
  911+#define NCHNAM  256
  912+        static char text[NCHNAM+1];
  913+        int i;
  914+
909915         if (p == NULL)
 910916                 return "";
<>911 -        return p;
  917+
  918+        text[0] = '_';
  919+        for (i=1; *p && i<NCHNAM; ++i)
  920+                text[i] = *p++;
  921+
  922+        text[i] = '\0';
  923+        text[NCHNAM] = '\0'/* truncate */
  924+
  925+        return (text);
  926+
  927+#else
  928+
  929+        return (p == NULL ? "" : p);
  930+
  931+#endif
<_912932 }
 913933 
 914934 /*
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-16 15:27 +0200