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
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-02-21 07:46:00 +0300
committerChristopher Faylor <me@cgf.cx>2004-02-21 07:46:00 +0300
commit3a0f12b5885fa877c3365ef0ff114346f21ce92c (patch)
tree279e519ff34fcf760009654cc9fd20f6eef1dbbb /winsup/cygwin/shared_info.h
parent12afe4452794da198bfb969a558fd52ff10649eb (diff)
* path.cc (conv_path_list): Return error condition.
(copy1): New function. (copyenc): New function. (mount_item::fnmunge): Return error condition. Use new functions to copy strings. (mount_item::build_win32): Ditto. (mount_info::conv_to_win32_path): Return error condition. (cygwin_conv_to_posix_path): Return result of path conversion. (cygwin_conv_to_full_posix_path): Ditto. (return_with_errno): New macro. (cygwin_win32_to_posix_path_list): Use new macro to potentially set errno. (cygwin_posix_to_win32_path_list): Ditto. * path.h (mount_item::fnmunge): Add size argument. (mount_item::build_win32): Ditto.
Diffstat (limited to 'winsup/cygwin/shared_info.h')
-rw-r--r--winsup/cygwin/shared_info.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h
index 3a462bee3..4264d5eeb 100644
--- a/winsup/cygwin/shared_info.h
+++ b/winsup/cygwin/shared_info.h
@@ -32,8 +32,8 @@ class mount_item
void init (const char *dev, const char *path, unsigned flags);
struct mntent *getmntent ();
- void fnmunge (char *, const char *);
- void build_win32 (char *, const char *, unsigned *, unsigned);
+ int fnmunge (char *, const char *, int&);
+ int build_win32 (char *, const char *, unsigned *, unsigned);
};
/* Warning: Decreasing this value will cause cygwin.dll to ignore existing