Closed
Bug 7276
Opened 26 years ago
Closed 26 years ago
Need two minor changes for QNX
Categories
(NSPR :: NSPR, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: briano, Assigned: srinivas)
Details
Building mozilla/nsprpub on QNX 4.24 breaks in unix_errors.c and prstrms.cpp.
The following patches fix the breakage (I added these changes to the QNX
Tinderbox build):
Index: pr/src/md/unix/unix_errors.c
===================================================================
RCS file: /cvsroot/mozilla/nsprpub/pr/src/md/unix/unix_errors.c,v
retrieving revision 3.12
diff -c -r3.12 unix_errors.c
*** unix_errors.c 1999/04/21 21:39:26 3.12
--- unix_errors.c 1999/05/12 04:35:11
***************
*** 42,50 ****
--- 42,52 ----
case EAGAIN:
prError = PR_WOULD_BLOCK_ERROR;
break;
+ #ifndef QNX
case EALREADY:
prError = PR_ALREADY_INITIATED_ERROR;
break;
+ #endif
case EBADF:
prError = PR_BAD_DESCRIPTOR_ERROR;
break;
Index: lib/prstreams/prstrms.cpp
===================================================================
RCS file: /cvsroot/mozilla/nsprpub/lib/prstreams/prstrms.cpp,v
retrieving revision 3.3
diff -c -r3.3 prstrms.cpp
*** prstrms.cpp 1999/04/21 21:38:06 3.3
--- prstrms.cpp 1999/05/12 04:35:11
***************
*** 49,54 ****
--- 49,56 ----
#define _PRSTR_BP m_psb
#define _PRSTR_DELBUF(x) /* as nothing */
#define _PRSTR_DELBUF_C(c, x) /* as nothing */
+ #elif defined(QNX)
+ #define PRFSTREAMS_BROKEN
#else
#define _PRSTR_BP bp
// Unix compilers don't believe in encapsulation
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Updated•25 years ago
|
Target Milestone: M7 → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•