Closed Bug 456625 Opened 11 years ago Closed 11 years ago

WinMobile / WinCE has no fstat

Categories

(Firefox Build System :: General, defect)

ARM
Windows Mobile 6 Professional
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dougt, Assigned: dougt)

References

Details

(Keywords: mobile)

Attachments

(1 file, 4 obsolete files)

Attached patch patch v.1 (obsolete) — Splinter Review
we need a simple fstat impl. that sets the size field of our stat struct.
Attachment #340003 - Flags: review?(blassey)
Comment on attachment 340003 [details] [diff] [review]
patch v.1

 #define _S_IFREG    0100000 /* stat, is a normal file */
 #define _S_IREAD    0000400 /* stat, can read */
 #define _S_IWRITE   0000200 /* stat, can write */
-#define	_S_IEXEC	0000100
+#define	_S_IEXEC    0000100
+
+#define S_IFREG     0x8000

whitespace is a bit munged here, please fix it up

+
+    return (position > 0) ? 0 : -1;
+}
 
we should set errno if we're retuning -1
Attachment #340003 - Flags: review?(blassey) → review-
Attached patch patch v.2 (obsolete) — Splinter Review
untabified file.
Assignee: nobody → doug.turner
Attachment #340003 - Attachment is obsolete: true
Attachment #340007 - Flags: review?(blassey)
Comment on attachment 340007 [details] [diff] [review]
patch v.2

wrong patch.
Attachment #340007 - Flags: review?(blassey) → review-
Attached patch patch v.3 (obsolete) — Splinter Review
Attachment #340007 - Attachment is obsolete: true
Attached patch patch v.4 (obsolete) — Splinter Review
Attachment #340012 - Attachment is obsolete: true
Attached patch patch v.5Splinter Review
Attachment #340015 - Attachment is obsolete: true
checked in on Tue Sep 23 21:10:58 2008 -0700
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Component: General → Build Config
Product: Fennec → Core
QA Contact: general → build-config
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.