File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -323,9 +323,10 @@ PHP_FUNCTION(disk_free_space)
323
323
324
324
/* {{{ proto bool chgrp(string filename, mixed group)
325
325
Change file group */
326
+ #ifndef NETWARE
326
327
PHP_FUNCTION (chgrp )
327
328
{
328
- #if !defined(WINDOWS ) && !defined( NETWARE ) /* I guess 'chgrp' won't be available on NetWare */
329
+ #if !defined(WINDOWS )
329
330
pval * * filename , * * group ;
330
331
gid_t gid ;
331
332
struct group * gr = NULL ;
@@ -367,13 +368,15 @@ PHP_FUNCTION(chgrp)
367
368
RETURN_FALSE ;
368
369
#endif
369
370
}
371
+ #endif
370
372
/* }}} */
371
373
372
374
/* {{{ proto bool chown (string filename, mixed user)
373
375
Change file owner */
376
+ #ifndef NETWARE
374
377
PHP_FUNCTION (chown )
375
378
{
376
- #if !defined(WINDOWS ) && !defined( NETWARE ) /* I guess 'chown' won't be available on NetWare */
379
+ #if !defined(WINDOWS )
377
380
pval * * filename , * * user ;
378
381
int ret ;
379
382
uid_t uid ;
@@ -413,6 +416,7 @@ PHP_FUNCTION(chown)
413
416
#endif
414
417
RETURN_TRUE ;
415
418
}
419
+ #endif
416
420
/* }}} */
417
421
418
422
/* {{{ proto bool chmod(string filename, int mode)
You can’t perform that action at this time.
0 commit comments