summaryrefslogtreecommitdiff
path: root/main/streams/memory.c
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2016-11-12 11:20:01 +0100
committerKalle Sommer Nielsen <kalle@php.net>2016-11-12 11:20:01 +0100
commit2104bea5d756dfa40b605a4a2765a3bc4637a76c (patch)
tree68be7fbf19a8acf7badda5cfc97a6b00fb36d4d7 /main/streams/memory.c
parentb3093082fdca748846c37dd52c9b0e978cc772f4 (diff)
downloadphp-git-2104bea5d756dfa40b605a4a2765a3bc4637a76c.tar.gz
Remove Netware support
If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
Diffstat (limited to 'main/streams/memory.c')
-rw-r--r--main/streams/memory.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/main/streams/memory.c b/main/streams/memory.c
index a1af61e3f0..39ae8eb603 100644
--- a/main/streams/memory.c
+++ b/main/streams/memory.c
@@ -214,17 +214,9 @@ static int php_stream_memory_stat(php_stream *stream, php_stream_statbuf *ssb) /
ssb->sb.st_size = ms->fsize;
ssb->sb.st_mode |= S_IFREG; /* regular file */
-
-#ifdef NETWARE
- ssb->sb.st_mtime.tv_sec = timestamp;
- ssb->sb.st_atime.tv_sec = timestamp;
- ssb->sb.st_ctime.tv_sec = timestamp;
-#else
ssb->sb.st_mtime = timestamp;
ssb->sb.st_atime = timestamp;
ssb->sb.st_ctime = timestamp;
-#endif
-
ssb->sb.st_nlink = 1;
ssb->sb.st_rdev = -1;
/* this is only for APC, so use /dev/null device - no chance of conflict there! */