Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Strange (or at least interesting) printf() behavior!
On Mon, 3 Jan 2011, David Laight wrote:
It might even be that only malloc() is stuffed - try a malloc call
prior to the printf!
Bingo! :)
I simply added
char *buf = malloc(10);
at the beginning of the program and all works well.
Should I file a PR for this strangeness?
-------------------------------------------------------------------------
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index