/[global]/global/libutil/path.c
ViewVC logotype

Diff of /global/libutil/path.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by shigio, Tue May 10 05:17:52 2005 UTC revision 1.15 by shigio, Tue Oct 4 07:59:04 2005 UTC
# Line 46  Line 46 
46   *      r)              1: absolute, 0: not absolute   *      r)              1: absolute, 0: not absolute
47   */   */
48  int  int
49  isabspath(p)  isabspath(const char *p)
         const char *p;  
50  {  {
51          if (p[0] == '/')          if (p[0] == '/')
52                  return 1;                  return 1;
# Line 69  isabspath(p) Line 68  isabspath(p)
68   * Note: canonpath rewrite argument buffer.   * Note: canonpath rewrite argument buffer.
69   */   */
70  char *  char *
71  canonpath(path)  canonpath(char *path)
         char *path;  
72  {  {
73  #ifdef __DJGPP__  #ifdef __DJGPP__
74          char *p;          char *p;
# Line 154  canonpath(path) Line 152  canonpath(path)
152   * realpath: get the complete path   * realpath: get the complete path
153   */   */
154  char *  char *
155  realpath(in_path, out_path)  realpath(const char *in_path, char *out_path)
         const char *in_path;  
         char *out_path;  
156  {  {
157  #ifdef __DJGPP__  #ifdef __DJGPP__
158          /*          /*

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26