Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 20564 Details for
Bug 31971
GEMPAK Meteorological Plotting and Analysis Package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gprint.c.patch
gprint.c.patch (text/plain), 1.23 KB, created by
Donald Giuliano
on 2003-11-11 00:02:52 UTC
(
hide
)
Description:
gprint.c.patch
Filename:
MIME Type:
Creator:
Donald Giuliano
Created:
2003-11-11 00:02:52 UTC
Size:
1.23 KB
patch
obsolete
>--- comet/garp/util/gprint.c 2003-11-11 01:15:48.000000000 -0600 >+++ comet/garp/util/gprint.c.old 2003-11-11 01:20:54.000000000 -0600 >@@ -45,9 +45,7 @@ > > > void >-gprint ( fmt, va_alist ) >- char *fmt; >- va_dcl >+gprint ( char *fmt, ... ) > { > /* > * Printf driver in C. This function parameter list comprises a format >@@ -63,13 +61,13 @@ > > wpi = GetGuiWinPrefDialog(); > >- va_start(args); >+ va_start(args, fmt); > /* > * Print to standard out. > */ > if ( ( GetGuiStdoutW ( wpi ) ) && > XmToggleButtonGetState ( GetGuiStdoutW ( wpi ) ) ) >- printf ( fmt, va_alist ); >+ printf ( fmt, args ); > > /* > * Print to status window when it has been instantiated. >@@ -77,7 +75,7 @@ > else if ( ( GetGuiGarpLogW ( wpi ) ) && > XmToggleButtonGetState ( GetGuiGarpLogW ( wpi ) ) ) { > if ( GetLogInfoW ( wpi ) ) >- wprint ( fmt, va_alist ); >+ wprint ( fmt, args ); > } > > /* >@@ -88,14 +86,14 @@ > if ( !fp ) > OpenFile ( &fp, filename, "w" ); > if ( fp ) >- fprintf (fp, fmt, va_alist); >+ fprintf (fp, fmt, args); > } > > /* > * Garp interface is not yet initialized so print to standard out. > */ > else >- printf ( fmt, va_alist ); >+ printf ( fmt, args ); > > > va_end(args);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31971
:
19767
|
20143
|
20147
|
20148
|
20149
|
20158
|
20159
|
20160
|
20161
|
20162
|
20164
|
20165
|
20166
|
20227
|
20228
|
20229
|
20230
|
20245
|
20246
|
20247
|
20504
|
20508
|
20509
|
20511
|
20557
| 20564 |
20565
|
20566
|
21753
|
21754
|
21767
|
21768
|
21779
|
21780
|
21781
|
23219