dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/engine lib_dir.c,1.13,1.14


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine lib_dir.c,1.13,1.14
Date: Tue, 17 Dec 2002 22:24:35 -0500

Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv11228/engine

Modified Files:
        lib_dir.c 
Log Message:
Patch 857, from Aditya Bansod -- internal calls for Directory.Move()


Index: lib_dir.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_dir.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** lib_dir.c   16 Dec 2002 01:32:30 -0000      1.13
--- lib_dir.c   18 Dec 2002 03:24:33 -0000      1.14
***************
*** 167,172 ****
                                                          ILString *new_name)
  {
!       /* TODO */
!       return IL_ERRNO_EPERM;
  }
  
--- 167,177 ----
                                                          ILString *new_name)
  {
!       char * old_name_ansi = ILStringToAnsi(_thread, old_name);
!       char * new_name_ansi = ILStringToAnsi(_thread, new_name);
!       if(old_name_ansi == NULL || new_name_ansi == NULL)
!       {
!               return IL_ERRNO_ENOMEM;
!       }
!       return ILRenameDir(old_name_ansi, new_name_ansi);
  }
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]