Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-05-06 08:06:17 +0400
committerChristopher Faylor <me@cgf.cx>2005-05-06 08:06:17 +0400
commit8cdcc8803a5276fd6bc86d087b1f71fb47403ee2 (patch)
tree16cfc171c99aeaf3957af70bc2bbc81674c05206 /winsup
parent9cc53904f63c78982051e2b8d72e23e8f9cb864e (diff)
* Makefile.in (DLL_O_FILES): Add fhandler_netdrive.o.
* fhandler_netdrive.cc: Placeholder file for future development. * devices.h (FH_NETDRIVE): Define new virtual device type. (netdrive_dev): Define. * devices.in (dev_netdrive_storage): Define. * devices.cc: Regenerate.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog9
-rw-r--r--winsup/cygwin/Makefile.in3
-rw-r--r--winsup/cygwin/devices.cc3
-rw-r--r--winsup/cygwin/devices.h4
-rw-r--r--winsup/cygwin/devices.in3
-rw-r--r--winsup/cygwin/fhandler_netdrive.cc10
6 files changed, 31 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index a8383c564..603ff1326 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,12 @@
+2005-05-06 Christopher Faylor <cgf@timesys.com>
+
+ * Makefile.in (DLL_O_FILES): Add fhandler_netdrive.o.
+ * fhandler_netdrive.cc: Placeholder file for future development.
+ * devices.h (FH_NETDRIVE): Define new virtual device type.
+ (netdrive_dev): Define.
+ * devices.in (dev_netdrive_storage): Define.
+ * devices.cc: Regenerate.
+
2005-05-04 Corinna Vinschen <corinna@vinschen.de>
* cygerrno.h (__set_errno): Remove useless parentheses.
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index cd6f46df1..031f3149a 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -124,7 +124,7 @@ DLL_OFILES:=assert.o autoload.o bsdlib.o ctype.o cxx.o cygheap.o cygthread.o \
dtable.o environ.o errno.o exceptions.o exec.o external.o fcntl.o \
fhandler.o fhandler_clipboard.o fhandler_console.o fhandler_disk_file.o \
fhandler_dsp.o fhandler_fifo.o fhandler_floppy.o fhandler_mem.o \
- fhandler_nodevice.o fhandler_proc.o fhandler_process.o \
+ fhandler_netdrive.o fhandler_nodevice.o fhandler_proc.o fhandler_process.o \
fhandler_random.o fhandler_raw.o fhandler_registry.o fhandler_serial.o \
fhandler_socket.o fhandler_tape.o fhandler_termios.o \
fhandler_tty.o fhandler_virtual.o fhandler_windows.o fhandler_zero.o \
@@ -235,6 +235,7 @@ fhandler_disk_file_CFLAGS:=-fomit-frame-pointer
fhandler_dsp_CFLAGS:=-fomit-frame-pointer
fhandler_floppy_CFLAGS:=-fomit-frame-pointer
fhandler_mem_CFLAGS:=-fomit-frame-pointer
+fhandler_netdrive_CFLAGS:=-fomit-frame-pointer
fhandler_proc_CFLAGS:=-fomit-frame-pointer
fhandler_process_CFLAGS:=-fomit-frame-pointer
fhandler_random_CFLAGS:=-fomit-frame-pointer
diff --git a/winsup/cygwin/devices.cc b/winsup/cygwin/devices.cc
index 582a2ee4e..b83f721cf 100644
--- a/winsup/cygwin/devices.cc
+++ b/winsup/cygwin/devices.cc
@@ -25,6 +25,9 @@ const device dev_fs_storage =
const device dev_proc_storage =
{"", {FH_PROC}, ""};
+const device dev_netdev_storage =
+ {"", {FH_NETDRIVE}, ""};
+
const device dev_registry_storage =
{"", {FH_REGISTRY}, ""};
diff --git a/winsup/cygwin/devices.h b/winsup/cygwin/devices.h
index 5383e68fd..207fe6603 100644
--- a/winsup/cygwin/devices.h
+++ b/winsup/cygwin/devices.h
@@ -49,6 +49,8 @@ enum fh_devices
FH_FS = FHDEV (0, 247), /* filesystem based device */
+ FH_NETDRIVE= FHDEV (0, 246),
+
DEV_FLOPPY_MAJOR = 2,
FH_FLOPPY = FHDEV (DEV_FLOPPY_MAJOR, 0),
@@ -169,6 +171,8 @@ extern const device dev_pipew_storage;
#define pipew_dev (&dev_pipew_storage)
extern const device dev_proc_storage;
#define proc_dev (&dev_proc_storage)
+extern const device dev_netdrive_storage;
+#define netdrive_dev (&dev_netdrive_storage)
extern const device dev_cygdrive_storage;
#define cygdrive_dev (&dev_cygdrive_storage)
extern const device dev_fh_storage;
diff --git a/winsup/cygwin/devices.in b/winsup/cygwin/devices.in
index b43232510..cade06625 100644
--- a/winsup/cygwin/devices.in
+++ b/winsup/cygwin/devices.in
@@ -21,6 +21,9 @@ const device dev_fs_storage =
const device dev_proc_storage =
{"", {FH_PROC}, ""};
+const device dev_netdrive_storage =
+ {"", {FH_NETDRIVE}, ""};
+
const device dev_registry_storage =
{"", {FH_REGISTRY}, ""};
diff --git a/winsup/cygwin/fhandler_netdrive.cc b/winsup/cygwin/fhandler_netdrive.cc
new file mode 100644
index 000000000..187b49504
--- /dev/null
+++ b/winsup/cygwin/fhandler_netdrive.cc
@@ -0,0 +1,10 @@
+/* fhandler_netdrive.cc: fhandler for //XXX/x handling
+
+ Copyright 2005 Red Hat, Inc.
+
+This file is part of Cygwin.
+
+This software is a copyrighted work licensed under the terms of the
+Cygwin license. Please consult the file "CYGWIN_LICENSE" for
+details. */
+