2005-05-13 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / Mono.Posix / Mono.Unix / ChangeLog
1 2005-05-12  Jonathan Pryor <jonpryor@vt.edu>
2
3         * Syscall.cs: The Statvfs structure should contain a MountFlags enumeration,
4           not a ulong (we can "safely" do this since POSIX defines some values for
5           f_flag, so we should be kind and expose them).
6         * UnixConvert.cs: Add MountFlags conversion functions.
7
8 2005-05-02  Joe Shaw  <joeshaw@novell.com>
9
10         * UnixListener.cs (Init): Remove the call to Cleanup() and the
11         method itself, which was not supposed to be here.  We try to
12         connect to the socket if it exists instead of deleting it
13         undconditionally.
14
15 2005-04-30  Ben Maurer  <bmaurer@ximian.com>
16
17         * Stdlib.cs: Comment out usage of `UnmanagedFunctionPointer'. It
18         isn't supported in the runtime -- it throws an assert -- so better
19         not to use it at all for now.
20
21 2005-04-29  Jonathan Pryor <jonpryor@vt.edu>
22
23         * UnixConvert.cs: Fix time_t -> DateTime conversions.  time_t should be
24           assumed to be in the local time zone, so don't mess with UTC shifts.
25           This allows Mono.Unix to produce sane output (e.g. identical to ls(1) or
26           stat(1), instead of several hours different).
27
28 2005-04-29  Jonathan Pryor <jonpryor@vt.edu>
29
30         * Stdlib.cs: Make FilePosition slightly more useful by providing a
31           ToString() override which dumps the fpos_t structure contents into a 
32           hex string.  Add Equals(), GetHashCode(), operator==, and operator!=
33           so FilePosition behaves like a value type.
34
35 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
36
37         * UnixClient.cs:
38         * UnixListener.cs: TcpListener/TcpClient clones from Jow Shaw.
39
40 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
41
42         * Mono.Posix.dll.sources: added UnixListener and UnixClient from Joe
43         Shaw.
44
45 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
46
47         * UnixEndPoint.cs: fix from Mono.Posix.
48
49 2005-04-20  Jonathan Pryor <jonpryor@vt.edu>
50
51         * Syscall.cs: Make all fork(2) and exec(2) functions `private`.  It
52           currently isn't safe to call these under *any* circumstances.  See also
53           68141, and this pertinent quote from Butenhof's 
54           "Programming with POSIX Threads", p197, s6.1:
55           
56               "When a threaded process calls fork to create a child process,
57               Pthreads specifies that only the thread calling fork exists in the
58               child. ... Pthreads does not 'terminate' the other threads in a forked
59               process...They simply cease to exist.  ... This is not a problem if
60               the child process is about to call exec to run a new program, but if
61               you use fork to clone a threaded program, beware that you may lose
62               access to memory, especially heap memory stored only as
63               thread-specific data values."
64           
65           Since P/Invoke currently requires using thread local storage, once you
66           fork(2) you won't be able to invoke exec(2) from managed code (since that
67           would require a P/Invoke transition to call exec(2), which would require
68           TLS, which doesn't exist in the new process).
69          
70           This can only be fixed by removing the TLS dependency on P/Invoke, which
71           isn't a priority (and may not be possible).
72          
73           The workaround is to create a C function which does your fork(2)/exec(2)
74           (and any other functions such as daemon(3)) on your behalf, and P/Invoke
75           to call this C function.
76
77 2005-04-18  Jonathan Pryor <jonpryor@vt.edu>
78
79         * Syscall.cs: Update comment specifying which functions belong in Syscall.
80         * UnixConvert.cs: Add XattrFlags conversion functions.
81         * UnixMarshal.cs: Remove warning about self-assignment.
82
83 2005-04-16  Daniel Drake <dsd@gentoo.org>
84
85         * Syscall.cs: Add bindings for extended attribute manipulation
86
87 2005-04-05  Miguel de Icaza  <miguel@novell.com>
88
89         * Syscall.cs: Set entry point for sys_syslog to be syslog.
90         Include the syslog.h header in the generated map so that we
91         actually do the mapping.
92
93 2005-03-28  Jonathan Pryor <jonpryor@vt.edu>
94
95         * UnixConvert.cs: Add ToFopenMode() methods, which convert FileMode/FileAccess
96           into an fopen(3) mode string.  ToOpenFlags() should throw
97           ArgumentOutOfRangeException for argument violations.
98         * StdioFileStream.cs: Add constructor overloads accepting filename and
99           FileMode/FileAccess overloads; Compatibility fixes with regression tests;
100           remove IDisposable implementation since System.IO.Stream already
101           implements it (which calls Close() for us).
102
103 2005-03-17  Jonathan Pryor <jonpryor@vt.edu>
104
105         * Stdlib.cs: Move Errno-related functionality into Stdlib from Syscall,
106           since (1) errno is part of C89, and (2) StdioFileStream will need it, and
107           StdioFileStream shouldn't use Syscall.  Add [UnmanagedFunctionPointer]
108                 attribute to SignalHandler for .NET 2.0 (since signal handlers use C
109                 calling convention, not Stdcall).
110         * Syscall.cs: Move Errno-related functionality into Stdlib.
111         * UnixMarshal.cs: Use ERANGE not EPERM when figuring out appropriate
112           translator, since ERANGE is part of C99 and EPERM isn't.  Use Stdlib
113           instead of Syscall for Errno-related functionality.
114
115 2005-02-02  Jonathan Pryor <jonpryor@vt.edu>
116
117         * UnixFile.cs: Cope with changes in UnixStream.
118         * UnixStream.cs: Change FileDescriptor property to Handle for consistency.
119         * StdioFileStream.cs: Change FileStream property to Handle for consistency.
120
121 2005-02-02  Jonathan Pryor <jonpryor@vt.edu>
122
123         * Syscall.cs: Remove public sys_ methods.  Some were public by mistake, and
124           others so that users could manually marshal strings if desired.  Manually
125           marshaling strings shouldn't be necessary, though, so remove them too.
126
127 2005-02-02  Jonathan Pryor <jonpryor@vt.edu>
128
129         * StdioFileStream.cs: Fix Length property to actually return the size of the
130           file, not the # of bytes from the current position to EOF.  Oops.
131
132 2005-01-31  Jonathan Pryor <jonpryor@vt.edu>
133
134         * Stdlib.cs: Import "msvcrt", not "libc".  These members are part of the
135           ANSI C standard, and thus should be present on Windows via msvcrt.dll
136           (except snprintf, until they catch up to C99).  Change the calling
137           convention of all functions to Cdecl, as the .NET default is Stdcall.
138           Changing the calling convention isn't needed in Syscall, as it can only be
139           run on Unix platforms anyway, where the default is Cdecl.
140         * Syscall.cs: Add LIBC member that points to the real "libc"; we can't use
141           the imported definition from Stdlib as "msvcrt" doesn't exist on Unix.
142
143 2005-01-29  Jonathan Pryor <jonpryor@vt.edu>
144
145         * Stdlib.cs: sys_* functions shouldn't be public.
146
147 2005-01-13  Jonathan Pryor <jonpryor@vt.edu>
148
149         * make-map.cs: libMonoPosixHelper exports Mono_Posix prefixes, not Mono_Unix
150           prefixes, so change the type and namespace to generate compatible code.
151         * Syscall.cs: Change OpenFlags values so they match the Linux values.
152
153 2005-01-13  Jonathan Pryor <jonpryor@vt.edu>
154
155         * Stdlib.cs: Use Stdlib.LIBC instead of "libc".
156         * StdioFileStream.cs: Add FilePosition property (not that I expect anyone to
157           use it) and Rewind() method.
158
159 2005-01-05  Jonathan Pryor <jonpryor@vt.edu>
160
161         * StdioFileStream.cs: Added; System.IO.Stream wrapper for C FILE struct.
162         * Stdlib.cs: Correct visibility of ftell().
163
164 2005-01-05  Jonathan Pryor <jonpryor@vt.edu>
165
166         * Stdlib.cs: Re-order declarations to match the order used in the 
167           C99 Standard Annex B; Complete <stdio.h> exports (except for those not
168           worth supporting); Add non-"unsafe" versions of fread(3), fwrite(3) and
169           add some rudimentary buffer-overflow checking; Add <stdlib.h> exports such
170           as getenv(3), exit(3), rand(3), EXIT_SUCCESS, RAND_MAX, etc.
171
172 2005-01-03  Jonathan Pryor <jonpryor@vt.edu>
173
174         * Syscall.cs: Update endfsent() and setfsent() declarations, as these must
175           now be implemented in MonoPosixHelper.
176
177 2005-01-01  Jonathan Pryor <jonpryor@vt.edu>
178
179         * Stdlib.cs, Syscall.cs: Minimize duplicate declarations of
180           "MonoPosixHelper" for use in DllImport statements.
181
182 2005-01-01  Jonathan Pryor <jonpryor@vt.edu>
183
184         * Stdlib.cs: Don't use C# v2 features; fixes build under CSC.EXE.
185
186 2004-12-30  Jonathan Pryor <jonpryor@vt.edu>
187
188         * Stdlib.cs: On miguel's suggestion, rename Sighandler_t to SignalHandler.
189
190 2004-12-30  Jonathan Pryor <jonpryor@vt.edu>
191
192         * Stdlib.cs: Implement all C89 <stdio.h> functions except for the scanf(3)
193           family.  These are too dangerous to expose.
194
195 2004-12-30  Jonathan Pryor <jonpryor@vt.edu>
196
197         * CdeclFunctions.cs: Remove warning about unused variable.
198         * Stdlib.cs: Make signal(2) sane and (hopefully) complete.
199         * Syscall.cs: Fix cuserid Obsolete message to reference correct class name.
200         * UnixProcess.cs: Remove warning about unused variable.
201         * UnixMarshal.cs: Remove warnings about unused variables.
202
203 2004-12-29  Jonathan Pryor <jonpryor@vt.edu>
204
205         * UnixPath.cs: Add ReadSymbolicLink(), which takes an intelligent approach
206           to reading symlinks (since their contents may be any size, we grow the
207           buffer dynamically to fit them all, instead of assuming a maximum size).
208         * UnixSymbolicLinkInfo.cs: Remove MaxContentsSize.
209
210 2004-12-29  Jonathan Pryor <jonpryor@vt.edu>
211
212         * UnixPath.cs: Add check for when symlink points to a full path name.
213
214 2004-12-29  Jonathan Pryor <jonpryor@vt.edu>
215
216         * Syscall.cs: Fix Object.Equals implementations.
217         * UnixPath.cs: New & improved, with Testing!  GetRealPath() is changed so
218           that it doesn't walk the entire path looking for symlinks, it just reads 
219           the leaf.  GetCompletRealPath() walks the entire path resolving symlinks.
220           GetCanonicalPath() added, which "cleans up" a path (removing extraneous
221           "." and ".." entries).
222         * UnixSymbolicLinkInfo.cs: Rename ContentsLength -> MaxContentsSize.
223
224 2004-12-28  Jonathan Pryor <jonpryor@vt.edu>
225
226         * UnixFileSystemInfo.cs: Add a link(2) wrapper, CreateLink().  Strictly
227           speaking it's only "safe" to do this on files, but an exception will be 
228           returned if the user tries to hard link directories (because of EPERM), 
229           unless the user is root, in which case it should be allowed anyway...
230
231 2004-12-28  Jonathan Pryor <jonpryor@vt.edu>
232
233         * CdeclFunctions.cs: Correct the comments for AMD64
234         * UnixDirectoryInfo.cs: override Name; add Parent & Root properties; 
235           Correct Path usage (s/Path/FullPath/g).
236         * UnixDriveInfo.cs: Added.  Based on .NET 2.0 System.IO.DriveInfo docs,
237           provides statvfs(2) and getfsfile(3) information about a mounted volume.
238           GetDrives() wraps getfsent(3), thus parsing /etc/fstab.
239         * UnixFile.cs: Use UnixConver.ToOpenFlags, deleting the local version.
240         * UnixFileInfo.cs: Use UnixConver.ToOpenFlags, deleting the local version;
241           override Name; add DirectoryName and Directory properties; 
242         * UnixFileSystemInfo.cs: Make more .NET-like, using FullPath and
243           OriginalPath protected members, abstract Name property; Add
244           CreateSymbolicLink; Remove ReadLink (it's now 
245           UnixSymbolicLinkInfo.Contents); Use lstat(2) for Create(string), so we
246           properly detect Symbolic Links.
247         * UnixPath.cs: Added; Path manipulation utility functions.
248         * UnixSymbolicLinkInfo.cs: 
249           - Seal the class; 
250           - override new abstract member Name; 
251           - rename ReadLink to ContentsPath (and Contents) properties 
252             (why "Contents"?  Because readlink(2) says "readlink places the 
253             contents of the symbolic link in the buffer...")
254           - Add CreateSymbolicLinkTo(), which creates a symlink to the specified
255             "normal" file
256
257 2004-12-28  Jonathan Pryor <jonpryor@vt.edu>
258
259         * Stdlib.cs: Add syslog(3) to XPrintfFunctions; Add additional printf(3) 
260           and fprintf(3) overload which properly escape the format string 
261           (by using "%s" as the format for the user-supplied message).
262         * Syscall.cs: Add #regions for enummerations, structures, classes; Wrap
263           syslog(3) and related enumerations; fix operator!= on Dirent, Group; 
264           wrap {f}statvfs(2); wrap <fstab.h> entries (getfsent(3), etc.).
265         * UnixConvert.cs: Add Syslog-releated enumeration translation functions;
266           Move ToOpenFlags here from UnixFile and UnixFileInfo.
267         * UnixMarshal.cs: Missing P/Invoke methods throw
268           EntryPointNotFoundException, not MissingMethodException; add
269           EscapeFormatString, which escapes printf-style format strings so that they
270           can be safely handed off to native code (avoiding stack overflow, etc);
271           make CreateExceptionForError internal.
272
273 2004-12-15  Jonathan Pryor <jonpryor@vt.edu>
274
275         * Stdlib.cs: Add more <stdio.h> wrappers, such as fread(3) and fwrite(3).
276           These will be useful in implementing System.IO.Stream subclass for
277           reading/writing to a FILE*.  Fix a typo in the realloc(3) DllImport.
278         * Syscall.cs: Fix the sys_kill and sys_crypt declarations.
279         * CdeclFunction.cs: Document calling convention problems on AMD64.
280
281 2004-11-18  Jonathan Pryor <jonpryor@vt.edu>
282
283         * CdeclFunction.cs: Added.
284         * Stdlib.cs: Re-add printf(3) and fprintf(3).  They may not be portable (the
285           jury is still out on that; the AMD64 SysV ABI looks like it should be
286           portable to AMD64 to my eyes), but they will work on *some* platforms, so
287           we should permit it.  The new implementation takes a page out of
288           cocoa-sharp: use System.Reflection.Emit to generate a P/Invoke method at
289           runtime to invoke printf(3) or fprintf(3).  This way, we can export a
290           params signature to C# code, permitting natural usage such as:
291               Stdlib.printf ("Hello, %s world! (%i)\n", "silly", 42);
292         * Syscall.cs: Mark which headers are complete, which functions still need
293           wrapping (for headers which have anything done to them), add #region
294           blocks for each header;
295           export mkfifo(3), fexecve(), getppid(2), setlogin(); fix sleep(3) export.
296         * UnixEnvironment.cs: Export a friendly getppid(2) wrapper.
297           GetParentProcessId isn't in UnixProcess as there's no way (that I know of)
298           to get the Parent's Parent, so it can't be a class member, and exposing it
299           as a static member of UnixProcess doesn't make sense to me, as it isn't
300           general.  Added GetUserShells().
301         * UnixProcess.cs: Change constructor to internal, so it can be used from
302           UnixEnvironment.
303
304 2004-11-16  Jonathan Pryor <jonpryor@vt.edu>
305
306         * Stdlib.cs: Remove printf(3) and fprintf(3).  These are vararg/CDECL 
307           functions, and it's not portable to call them in this manner.
308           (It's not portable because some architectures, such as AMD64, use a
309           "cookie" as part of the vararg calling sequence to help reduce buffer
310           overflow exploits.  Trying to call vararg functions as if they were an
311           overloaded function will not properly set this hardware cookie, resulting
312           in a hardware exception.  Talk to lupus for more information.)
313
314 2004-11-16  Jonathan Pryor <jonpryor@vt.edu>
315
316         * Syscall.cs, UnixConvert.cs: Remove mount- and umount-related
317           functionality.  Mount/umount is inherently non-portable (see the C code
318           for mount/umount), and trying to provide a consistent interface is
319           impossible.  If you need mount/umount support, use the command-line
320           programs mount(1) and umount(1).
321
322 2004-11-16  Jonathan Pryor <jonpryor@vt.edu>
323
324         + Lots o' Renames, as the namespace changed.
325         * PosixConvert.cs: Moved to UnixConvert.cs:
326         * PosixDirectory.cs: Moved to UnixDirectory.cs:
327         * PosixEnvironment.cs: Moved to UnixEnvironment.cs:
328         * PosixDirectoryInfo.cs: Moved to UnixDirectoryInfo.cs:
329         * PosixFile.cs: Moved to UnixFile.cs:
330         * PosixFileInfo.cs: Moved to UnixFileInfo.cs:
331         * PosixFileSystemInfo.cs: Moved to UnixFileSystemInfo.cs:
332         * PosixGroup.cs: Moved to UnixGroup.cs:
333         * PosixGroupInfo.cs: Moved to UnixGroupInfo.cs:
334         * PosixIOException.cs: Moved to UnixIOException.cs:
335         * PosixMarshal.cs: Moved to UnixMarshal.cs:
336         * PosixProcess.cs: Moved to UnixProcess.cs:
337         * PosixStream.cs: Moved to UnixStream.cs:
338         * PosixSymbolicLinkInfo.cs: Moved to UnixSymbolicLinkInfo.cs:
339         * PosixUser.cs: Moved to UnixUser.cs:
340         * PosixUserInfo.cs: Moved to UnixUserInfo.cs:
341         * Catalog.cs, IncludeAttribute.cs, MapAttribute.cs, PeerCred.cs, Stdlib.cs,
342           Syscall.cs, UnixConvert.cs, UnixDirectory.cs, UnixDirectoryInfo.cs,
343           UnixEndPoint.cs, UnixEnvironment.cs, UnixFile.cs, UnixFileInfo.cs,
344           UnixFileSystemInfo.cs, UnixGroup.cs, UnixGroupInfo.cs, UnixIOException.cs,
345           UnixMarshal.cs, UnixProcess.cs, UnixStream.cs, UnixSymbolicLinkInfo.cs,
346           UnixUser.cs, UnixUserInfo.cs: Deal with renamed classes/members.
347
348 2004-11-15  Jonathan Pryor <jonpryor@vt.edu>
349
350         * PosixUserInfo.cs: Make the PosixUserInfo(Passwd) constructor public;
351           override Object.GetHashCode and Object.Equals.
352         * PosixGroupInfo.cs: Make the PosixGroupInfo(Group) constructor public;
353           override Object.GetHashCode and Object.Equals.
354         * PosixIOException.cs: Use PosixMarshal.GetErrorDescription instead of
355           calling Syscall.strerror_r directly
356         * PosixMarshal.cs: Add GetErrorDescription.  Strerror_r() isn't portable, so
357           GetErrorDescription() first tries strerror_r(), and if it fails falls back
358           to strerror(3).
359         * Syscall.cs: 
360           - Seal the Dirent class.  It has no virtual members, so there's no point 
361       in it being non-sealed.  Override Object.GetHashCode and Object.Equals.
362           - Seal the Group class.  It has no virtual members, so there's no point 
363       in it being non-sealed.  Override Object.GetHashCode and Object.Equals.
364             Provide operator== and operator!=.
365           - Seal the Passwd class.  It has no virtual members, so there's no point 
366       in it being non-sealed.  Override Object.GetHashCode and Object.Equals.
367             Provide operator== and operator!=.
368           - Remove strerror_r() convenience overload.  This is now
369             PosixMarshal.GetErrorDescription().
370
371 2004-11-12  Jonathan Pryor <jonpryor@vt.edu>
372
373         * Syscall.cs: Export time-related functions (gettimeofday, settimeofday,
374           utime, utimes), mknod.
375
376 2004-11-07  Atsushi Enomoto  <atsushi@ximian.com>
377
378         * PosixEnvironment.cs : csc build fix. see bug #69195.
379         * PosixStream.cs : csc build fix. see bug #69196.
380
381 2004-11-05  Jonathan Pryor  <jonpryor@vt.edu>
382
383         * PosixConvert.cs: New file; conversion functions for Mono.Posix types.
384         * PosixDirectory.cs: New file; Friendly wrapper over directory information.
385         * PosixDirectoryInfo.cs: New file; Friendly wrapper over directory information.
386         * PosixEnvironment.cs: New file; Friendly wrapper over environment information.
387         * PosixFile.cs: New file; Friendly wrapper over file information.
388         * PosixFileInfo.cs: New file; Friendly wrapper over file information.
389         * PosixFileSystemInfo.cs: New file; Friendly wrapper over `stat'.
390         * PosixGroup.cs: New file; User Group-related functionality
391         * PosixGroupInfo.cs: New file; User Group-related functionality
392         * PosixIOException.cs: New file; Exception for POSIX-generated exceptions.
393         * PosixMarshal.cs: New file; utility functions for marshaling, etc.
394         * PosixProcess.cs: New file; Friendly wrapper over process information.
395         * PosixStream.cs: New file; Friendly wrapper over file descriptors.
396         * PosixSymbolicLinkInfo.cs: New file; Friendly wrapper over symbolic links.
397         * PosixUser.cs: New file; Friendly wrapper over user information.
398         * PosixUserInfo.cs: New file; Friendly wrapper over user information.
399         * Stdlib.cs: New file; C standard library exports.
400         * Syscall.cs: Effective re-write.  
401           - Organize exports by header file
402           - add additional enumerations (Error for the E* error values, etc.)
403           - always explicitly specify enumeration underlying type
404           - Use a new wrapping infrastructure so that ABI-stable types are exported
405                 - For example, size_t is exported as ulong, not IntPtr.
406           - Wrap more functions, and wrap them better (such as getpwnam).
407           - This release is NOT backward compatible.  Many names are the same, and
408             hopefully they're still compatible, but no effort was made to maintain
409             compatibility.  For example, FileMode was removed and replaced with
410             FilePermissions, to avoid a name conflict with System.IO.FileMode.
411                 - Change umount() to use MonoPosixHelper: portability fix for Mac OS X.
412         * make-map.cs: Another effective re-write, to clean up the code, produce
413           better output, and produce more output.  For example, most of
414           PosixConvert can be auto-generated, so it is (modulo version delays and
415           bootstrap issues).  `map.c' is now conditional on all macros, and has
416           error checking for invalid/unsupported values.
417
418 2004-09-18  Jackson Harper  <jackson@ximian.com>
419
420         * Syscall.cs: Add support for poll ().
421
422 2004-09-18  Jackson Harper  <jackson@ximian.com>
423
424         * make-map.cs: Use field value not name for #defines.
425                 
426 2004-09-14  Loren Bandiera <lorenb@mmgsecurity.com>
427
428         * Syscall.cs: Added method for getpwnam which uses Passwd
429         struct.
430         * macros.c: Helper function for getpwnam
431         (In committing, Josh Tauberer also added getpwuid.)
432
433 2004-07-09  Dick Porter  <dick@ximian.com>
434
435         * PeerCred.cs: Get the unix socket peer credentials.
436
437 2004-05-26  Miguel de Icaza  <miguel@ximian.com>
438
439         * Syscall.cs: Do not let the runtime handle strings, as we do not
440         own those strings, we must transform the char * into a string
441         ourselves. 
442
443 2004-05-03  Miguel de Icaza  <miguel@ximian.com>
444
445         * Syscall.cs: Add symlink
446
447 2004-04-19  Miguel de Icaza  <miguel@ximian.com>
448
449         * Syscall.cs: Use hex values for FileMode, since C# does not have
450         an octal integer mode.
451
452 2004-03-30  Joshua Tauberer <tauberer@for.net>
453
454         * Added readlink, strerror, opendir, readdir, closedir
455         * Added Mono.Posix.Stat.UnixToDateTime(long unixtime) --> DateTime
456
457 2004-03-11  Joshua Tauberer <tauberer@for.net>
458
459         * Syscall.cs: Removed argument to getgid that shouldn't be there.
460                 Added getusername, getgroupname which wrap getpwuid, getgrgid
461                 without dealing with pointers to structures.
462                 Removed duplicate FileMode enum nested in Syscall class.
463                 Added stat and lstat, which use StatMode enumeration
464                 (like FileMode but nicer and complete) and Stat struct.
465         * macros.c: Helper functions for getpwuid, getgrgid, stat, lstat.
466
467 2004-01-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
468
469         * Syscall.cs: moved the assembly attribute to a proper place
470         and added 'signal.h'
471         * make-map.cs: use reflection to invoke the properties, as it
472         fails under MS runtime.
473         
474
475 2004-01-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
476
477         * Syscall.cs: moved assembly attribute and added unsafe block to fix
478         the build on windows.
479
480 2003-11-11  Wojciech Polak <polak@gnu.org
481
482         * Syscall.cs: Applied patch from Wojciech Polak <polak@gnu.org> to
483         support IsAtty.
484
485 2003-05-16  Dick Porter  <dick@ximian.com>
486
487         * UnixEndPoint.cs: New property to get and set the filename, like
488         the IPEndPoint has for the IP address.  Also implement ToString().
489
490 Tue Apr 29 16:53:56 CEST 2003 Paolo Molaro <lupus@ximian.com>
491
492         * Syscall.cs: remove the unsafe mess.
493
494 2003-02-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
495
496         * Check in.
497         * UnixEndPoint.cs: first file.
498