apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: apr/file_io/netware filestat.c
Date Thu, 03 Oct 2002 00:32:21 GMT
bnicholes    2002/10/02 17:32:21

  Modified:    file_io/netware filestat.c
  Log:
  Remove the #ifdef so that the new (realname() ) file info API will be used.
  
  Revision  Changes    Path
  1.17      +0 -10     apr/file_io/netware/filestat.c
  
  Index: filestat.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/netware/filestat.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- filestat.c	2 Aug 2002 20:47:17 -0000	1.16
  +++ filestat.c	3 Oct 2002 00:32:20 -0000	1.17
  @@ -110,20 +110,10 @@
       char name[1024];
       int rc;
   
  -#ifdef NEW_API
       rc = realname(szFile, name);
       if (rc == 0) {
           casedFileName = apr_pstrdup(pPool, name);
       }
  -#else
  -    NXDirAttrWithName_t	*attrBuf;
  -
  -    attrBuf = (NXDirAttrWithName_t *) &name;
  -    rc =NXGetAttr(NULL, szFile, NX_DELEVEL_NAME_ONLY, attrBuf, 1024, 0);
  -    if (rc == 0) {
  -        casedFileName = apr_pstrdup(pPool, attrBuf->deName);
  -    }
  -#endif
       else
       {
           char *s;
  
  
  

Mime
View raw message