OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [branches/] [newlib/] [newlib/] [newlib/] [libc/] [posix/] [execvp.c] - Diff between revs 39 and 56

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 39 Rev 56
Line 56... Line 56...
      )
      )
    return execv (file, argv);
    return execv (file, argv);
 
 
#ifdef __CYGWIN32__
#ifdef __CYGWIN32__
  /* If a drive letter is passed, the path is still an absolute one.
  /* If a drive letter is passed, the path is still an absolute one.
     Technically this isn't true, but cygwin32 is currently defined so
     Technically this isn't true, but Cygwin is currently defined so
     that it is.  */
     that it is.  */
  if ((isalpha (file[0]) && file[1] == ':')
  if ((isalpha (file[0]) && file[1] == ':')
      || file[0] == '\\')
      || file[0] == '\\')
    return execv (file, argv);
    return execv (file, argv);
#endif
#endif
 
 
#ifdef __CYGWIN32__
#ifdef __CYGWIN32__
  path_delim = posix_path_list_p (path) ? ':' : ';';
  path_delim = cygwin_posix_path_list_p (path) ? ':' : ';';
#endif
#endif
 
 
  while (*path)
  while (*path)
    {
    {
      strccpy (buf, path, PATH_DELIM);
      strccpy (buf, path, PATH_DELIM);

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.