pe, 2005-04-29 kello 00:30 +0100, Matthew Garrett kirjoitti: > On Thu, Apr 28, 2005 at 07:46:36PM +0300, Lars Wirzenius wrote: > > The attached patch fixes the build problem. > > > > I may do an NMU tomorrow or next week, since we're close to a sarge > > freeze (and in a 0-day NMU phase). Should be an innocent enough change. > > No problem - I'm the wrong side of a thin piece of string at the moment, > so an NMU would be helpful. > > Thanks,
Did the NMU. Patch attached.
diff -ruN orig/debian/changelog nstx-1.1-beta6/debian/changelog --- orig/debian/changelog 2005-04-28 19:29:02.000000000 +0300 +++ nstx-1.1-beta6/debian/changelog 2005-04-28 19:40:45.000000000 +0300 @@ -1,3 +1,12 @@ +nstx (1.1-beta6-2.1) unstable; urgency=high + + * Non-maintainer upload. + * nstxcd.c: changed the variable ch to be an int instead of a char, since + that is what it must be when it gets the return value from getopt. + Closes: #306265 (which is release critical, hence a high severity). + + -- Lars Wirzenius <[EMAIL PROTECTED]> Thu, 28 Apr 2005 19:39:00 +0300 + nstx (1.1-beta6-2) unstable; urgency=low * don't cast things to signed chars if you want numbers greater than 128 diff -ruN orig/nstxcd.c nstx-1.1-beta6/nstxcd.c --- orig/nstxcd.c 2005-04-28 19:29:02.000000000 +0300 +++ nstx-1.1-beta6/nstxcd.c 2005-04-28 19:38:58.000000000 +0300 @@ -63,7 +63,7 @@ int main (int argc, char * argv[]) { struct nstxmsg *msg; const char *device = NULL; - char ch; + int ch; nsid = time(NULL);