Closed Bug 548213 Opened 14 years ago Closed 14 years ago

C++ style comment in C unit modules/plugin/default/unix/npunix.c

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
minor

Tracking

(status1.9.2 .2-fixed, status1.9.1 .9-fixed)

RESOLVED FIXED
Tracking Status
status1.9.2 --- .2-fixed
status1.9.1 --- .9-fixed

People

(Reporter: ul-mcamafia, Assigned: ul-mcamafia)

Details

(Keywords: verified1.9.0.19, verified1.9.1, verified1.9.2)

Attachments

(2 files)

At line 630 a C++ style comment appears.

xlc_r -o npunix.o -c  -DMOZ_SUITE=1 -DOSTYPE=\"AIX4.3\" -DOSARCH=AIX  -I/home/ul
ink/src/comm-1.9.1/mozilla/modules/plugin/default/unix -I. -I../../../../dist/in
clude/java -I../../../../dist/include   -I../../../../dist/include/plugin -I/hom
e/ulink/src/comm-1.9.1/obj-sm2-aix43/mozilla/dist/include/nspr    -I/home/ulink/
src/comm-1.9.1/obj-sm2-aix43/mozilla/dist/sdk/include   -qflag=w:w     -DNDEBUG
-DTRIMMED -O2 -qarch=604 -qmaxmem=-1 -qalias=noansi -I/opt/freeware/include/gtk-
2.0 -I/opt/freeware/lib/gtk-2.0/include -I/opt/freeware/include/atk-1.0 -I/opt/f
reeware/include/cairo -I/opt/freeware/include/pango-1.0 -I/opt/freeware/include/
glib-2.0 -I/opt/freeware/lib/glib-2.0/include -I/opt/freeware/include/gtk-unix-p
rint-2.0     -DMOZILLA_VERSION=\"1.9.1.9pre\" -DMOZILLA_VERSION_U=1.9.1.9pre -DA
IX=1 -DHAVE_SYS_INTTYPES_H=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DS
TDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1 -DHAVE_INT
32_T=1 -DHAVE_INT64_T=1 -DHAVE_INT64=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT
16_T=1 -DHAVE_DIREN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PCOM_OBSOLETE=1 -DM
OZ_OGG=1 -DMOZ_WAVE=1 -DMOZ_SYDNEYAUDIO=1 -DMOZ_MEDIA=1 -DMOZ_XTF=1 -DMOZ_CRASHR
EPORTER_ENABLE_PERCENT=100 -DMOZ_MATHML=1 -DMOZ_ENABLE_CANVAS=1 -DMOZ_SVG=1 -DMO
Z_UPDATE_CHANNEL=default -DMOZ_PLACES=1 -DMOZ_FEEDS=1 -DMOZ_STORAGE=1 -DMOZ_HELP
_VIEWER=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\".mozilla\" -DHAVE_INTTYPES_H=1 -DMOZ_
XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_RDF=1 -DMOZ_MORK=1 -DMOZ_MORKREADER=1 -DMOZ_D
LL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1  -D_MOZILLA_CONFIG_H_ -DMOZILLA
_CLIENT /home/ulink/src/comm-1.9.1/mozilla/modules/plugin/default/unix/npunix.c
"/home/ulink/src/comm-1.9.1/mozilla/modules/plugin/default/unix/npunix.c", line
630.9: 1506-046 (S) Syntax error.
"/home/ulink/src/comm-1.9.1/mozilla/modules/plugin/default/unix/npunix.c", line
630.12: 1506-045 (S) Undeclared identifier This.
"/home/ulink/src/comm-1.9.1/mozilla/modules/plugin/default/unix/npunix.c", line
630.74: 1506-209 (S) Character constants must end before the end of a line.
gmake[5]: *** [npunix.o] Error 1

Trunk, branch 1.9.2 and branch 1.9.1

Solution: replace with a C-style comment
Assignee: nobody → ul.mcamafia
Status: NEW → ASSIGNED
Attachment #428652 - Flags: review? → review?(jst)
Attachment #428652 - Flags: review?(jst) → review+
Comment on attachment 428652 [details] [diff] [review]
trivial patch replaces C++ comment with C style

Zero risc, not changing active code at all, only comment.
Attachment #428652 - Flags: approval1.9.2.2?
Attachment #428652 - Flags: approval1.9.1.9?
Attachment #428652 - Flags: approval1.9.0.19?
Comment on attachment 428652 [details] [diff] [review]
trivial patch replaces C++ comment with C style

Approved for 1.9.2.2, 1.9.1.9, and 1.9.0.19, a=dveditz for release-drivers
Attachment #428652 - Flags: approval1.9.2.2?
Attachment #428652 - Flags: approval1.9.2.2+
Attachment #428652 - Flags: approval1.9.1.9?
Attachment #428652 - Flags: approval1.9.1.9+
Attachment #428652 - Flags: approval1.9.0.19?
Attachment #428652 - Flags: approval1.9.0.19+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/af5cdd5966d9
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
carrying review and approval forward.
Keywords: checkin-needed
Whiteboard: [checkin to 1.9.0]
mozilla/modules/plugin/samples/default/unix/npunix.c 	1.15
Whiteboard: [checkin to 1.9.0]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: