summaryrefslogtreecommitdiff
path: root/pr/src/md
Commit message (Collapse)AuthorAgeFilesLines
* BugZilla 42367. change license to dual-licenselarryh%netscape.com2000-06-13125-1584/+3712
|
* Bugzilla bug #39696: implemented the NSPR atomic routines inwtc%netscape.com2000-05-312-0/+80
| | | | | assembly language for Solaris/x86. Modified files: _solaris.h, solaris.c, os_SunOS_x86.s
* Bugzilla bug #39712: work around the /GT bug of MSVC 6.0 SP3.wtc%netscape.com2000-05-301-0/+22
| | | | Modified files: WIN32.mk, ntthread.c
* Bugzilla bug #5518: in _PR_MD_LSEEK and _PR_MD_LSEEK64, map thewtc%netscape.com2000-05-301-35/+42
| | | | | NSPR seek flags to the Win32 seek flags before passing them to SetFilePointer. Simplified the code in _PR_MD_LSEEK64.
* Added another (new) reason for the 5 second timeout towtc%netscape.com2000-05-301-1/+6
| | | | GetQueuedCompletionStatus.
* Bugzilla bug #39967: replace an assertion in _PR_MD_GETFILEINFO64 bywtc%netscape.com2000-05-262-2/+8
| | | | | | proper error checking and failure return. Thanks to Bernd Mielke <mielke@licel.com> for the bug report. Modified files: ntio.c, w95io.c
* Bugzilla bug #40629: the _PR_NewSegment and _PR_DestroySegment functionswtc%netscape.com2000-05-251-9/+12
| | | | | | | are not needed in the pthreads version. The /dev/zero file, if opened, should have the close-on-exec flag so that it won't get inherited by child processes. Modified files: _unixos.h, primpl.h, prseg.c, unix.c
* Bugzilla bug #38996: added new function PR_GetMemMapAlignment().wtc%netscape.com2000-05-115-0/+36
| | | | | | Modified files: prio.h, _beos.h, _macos.h, _os2.h, _unixos.h, _win16.h, _win95.h, _winnt.h, primpl.h, prmmap.c, bmmap.c, macio.c, os2misc.c, ntmisc.c, w16fmem.c
* Bugzilla bug #34920: provide an emulated implementation of acceptreadwtc%netscape.com2000-05-111-322/+23
| | | | | | | | | | | | and sendfile methods that I/O layers can use. _PR_EmulateAcceptRead is superseded by PR_EmulateAcceptRead, and _PR_EmulateSendFile and _PR_UnixSendFile are superseded by PR_EmulateSendFile. Deleted unused function _PR_HPUXTransmitFile. The workaround for the OSF1 V4.0 MAP_PRIVATE bug is moved from _PR_UnixSendFile to _MD_CreateFileMap, ifdef'd with the new macro OSF1V4_MAP_PRIVATE_BUG, which is defined only on OSF1 V4. Modified files: OSF1.mk, _hpux.h, pprio.h, primpl.h, priometh.c, prsocket.c, unix.c, and ptio.c
* Compatibility with Universal Headers 3.3 or later.wtc%netscape.com2000-05-091-0/+6
|
* Bugzilla bug #17223: implemented the PR_MSG_PEEK flag for PR_Recv() forwtc%netscape.com2000-05-054-7/+29
| | | | | | | BeOS, Mac OS, OS/2, and Windows. On BeOS, Mac OS, and NT, PR_MSG_PEEK is emulated with a peek buffer in the NSPR file descriptors. Modified files: _beos.h, _macos.h, _winnt.h, primpl.h, prsocket.c, macsockotpt.c, os2sock.c, ntio.c, and w95sock.c
* Bugzilla bug #37761: changed open file to correctly handlewtc%netscape.com2000-05-011-8/+26
| | | | | | PR_TRUNCATE | PR_CREATE_FILE and also fixed _PR_MD_SET_FD_INHERITABLE. Thanks to Skip Nizinski <snizinsk@us.ibm.com> of IBM Corporation for the patch.
* Bugzilla bug #37272: inet_addr() should return -1 rather than assert onwtc%netscape.com2000-04-261-1/+2
| | | | failure.
* Bugzilla bug #30902: added an alternative implementation of PR_AtomicSetwtc%netscape.com2000-04-251-1/+15
| | | | using cmpxchg in the comments. Made PR_AtomicAdd a little more efficient.
* In _PR_MD_ATOMIC_ADD, use the edx register instead of the ebx register.wtc%netscape.com2000-04-251-2/+2
|
* Removed 'nop' instructions that I accidentally added.wtc%netscape.com2000-04-251-2/+0
|
* Bugzilla bug #30902: use true atomic implementation of the NSPR atomicwtc%netscape.com2000-04-254-0/+101
| | | | | | | routines on Linux on Intel x86. Modified files: _linux.h, pr/src/md/unix/Makefile, pr/src/md/unix/Makefile.in, pr/src/md/unix/objs.mk Added file: os_Linux_x86.s
* Bugzilla bug #33740: checked in a patch contributed by Skip Nizinskiwtc%netscape.com2000-04-031-9/+16
| | | | <snizinsk@us.ibm.com> to change write() to DosWrite().
* Bugzilla bug #34048: set the fragment names of the DLLs. Thanks towtc%netscape.com2000-03-311-0/+9
| | | | Simon Fraser <sfraser@netscape.com> for the patch.
* Bugzilla bug #31437: this goto statement inside the while loop can bewtc%netscape.com2000-03-291-2/+1
| | | | replaced by a continue statement.
* Fixed syntax error.srinivas%netscape.com2000-03-171-1/+1
|
* Bugzilla bug #29908: make sure that md.write.thread or md.read.thread iswtc%netscape.com2000-03-151-5/+9
| | | | | | | nil when we return from SendReceiveStream so that we don't leave a dangling reference for the OT notifier routine. This patch is submitted by Gordon Sheridon <gordon@netscape.com>. r=wtc@netscape.com a=jar@netscape.com.
* Bugzilla bug #31697: Mac OS X (Rhapsody) port, based on the patch thatwtc%netscape.com2000-03-144-9/+56
| | | | | | | Stuart Parmenter <pavlov@netscape.com> sent to me. Modified files: Rhapsody.mk, arch.mk, _pth.h, _rhapsody.h, prlink.c, rhapsody.c, uxproces.c, uxrng.c, ptio.c, pr/tests/Makefile, pr/tests/Makefile.in
* Fixed an error in the previous checkin.wtc%netscape.com2000-03-141-1/+1
|
* Handle the ERANGE error on Solaris. Bugzilla 31437.srinivas%netscape.com2000-03-111-2/+19
|
* Bugzilla bug #31120: _PR_Unblock_IO_Wait was binding the interruptedwtc%netscape.com2000-03-091-1/+1
| | | | local thread to the wrong CPU.
* Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk.wtc%netscape.com2000-02-2312-218/+714
|
* Added missing function argument type declarations.wtc%netscape.com2000-01-191-1/+1
|
* Merged minor fixes related to PR_Available and PR_Sync for pipeswtc%netscape.com2000-01-112-0/+19
| | | | | in NSPR 3.5.1 onto the main trunk. Modified files: _win95.h, _winnt.h, prfile.c, ntio.c, w95io.c, ptio.c
* BugZilla 19247. FreeBSD uses /dev/random toolarryh%netscape.com2000-01-101-1/+1
|
* Update to OS/2 port; the build now uses OS_ARCH=OS2, in place of WINNT.srinivas%netscape.com2000-01-106-34/+171
| | | | Checkin for sobotka@axess.com. Bugzilla 23544.
* Backed out the NSPR 3.5.1 merge. Mozilla client cannot exit on shutdown.wtc%netscape.com2000-01-082-19/+0
| | | | | Modified files: _win95.h, _winnt.h, primpl.h, prfdcach.c, prfile.c, ntio.c, w95io.c, ptio.c, ptthread.c
* Merged the fixes in NSPR 3.5.1 to the main trunk.wtc%netscape.com2000-01-082-0/+19
| | | | | Modified files: _win95.h, _winnt.h, primpl.h, prfdcach.c, prfile.c, ntio.c, w95io.c, ptio.c, ptthread.c
* Sync'd Makefile.in's to reflect srinivas' NSPR API changes.NSIFILE_0106200_BASEcls%seawood.org2000-01-065-1/+13
|
* Support platform-specific import declaration for public NSPR functions.srinivas%netscape.com2000-01-065-0/+10
| | | | Bugzilla #12913. rwtc.
* Cleaned up BeOS autoconf build.cls%seawood.org1999-12-222-2/+2
| | | | | Added RESOLVE_LINK_SYMBOLS for platforms that need to resolve all symbols when linking shared libs. Removed use of EXTRA_LIBS from configure.
* formatting change. r=beardSeaMonkey_M12_RELEASESeaMonkey_M12_BASEgordon%netscape.com1999-12-081-2/+2
|
* Checkin for Mark Welch. Approved by wtc. Reviewed by gordon. Fixes for ↵gordon%netscape.com1999-12-071-102/+330
| | | | bugs 4318 and 4320 (server sockets and blocking socket IO for mac).
* Reworked how thread scanning is done, so thread objects can now bewtc%netscape.com1999-12-071-0/+99
| | | | | | | safely allocated on the thread stack. Moved the GC scanning code into NSPR in a new file called prgcleak.c. (Checkin for Patrick Beard.) Modified files: primpl.h, prinit.c, prthinfo.c, pruthr.c. Added file: prgcleak.c.
* Not sure if this should go under bug #20529 or #19330, who's patch I ↵cls%seawood.org1999-12-051-1/+1
| | | | apparently stole. :) Anyways, rumor has it that OpenBSD has /dev/random too.
* I've been told that NetBSD has /dev/random as well. At worst, it should ↵cls%seawood.org1999-12-051-1/+1
| | | | return 0 rather than fail with that undefined error anyways.
* Removed unnecessary header includes. In _PR_MD_GetRandomNoise, changedwtc%netscape.com1999-12-041-40/+5
| | | | | "size >= 0" to "size > 0" ('size' is an unsigned type so "size >= 0" would be always true).
* BugZilla: 19247. makefiles for neutrino platformlarryh%netscape.com1999-12-042-0/+6
|
* Checking in fix for bug #20558 for sfraser. Calling ↵sdagley%netscape.com1999-12-022-2/+7
| | | | pr_UnlockedFindLibrary() with a NULL fragment name not a good idea. sfraser and I both though he'd fixed this before but apparently the change was lost.
* Assert that the WSAStartup call succeeded.wtc%netscape.com1999-11-301-1/+3
|
* Bugzilla bug #14260: assert that NSPR's WSAStartup call succeeded.wtc%netscape.com1999-11-301-1/+3
|
* BugZilla: 19247. Add support for VMS, QNX, NTOlarryh%netscape.com1999-11-292-2/+23
|
* BugZilla: 19247. Add support for FreeBSDlarryh%netscape.com1999-11-231-1/+1
|
* Added new file brng.c. (Contributed by Matthew Zahorik and Duncan Wilcox.)wtc%netscape.com1999-11-202-0/+54
|
* Changed tab to spaces.wtc%netscape.com1999-11-201-1/+1
|