small c problem

1999-07-01 Thread Michael Beattie
The following problem will help me finish v0.1 of my wizard radio control program which I will ITP and upload soon.. prepared for flames I know its the wrong place to ask, but its really easy, and I feel stupid asking in a newsgroup string with value number: integer with value 444 I want

Re: small c problem

1999-07-01 Thread Darren O. Benham
On Thu, Jul 01, 1999 at 03:19:05PM +1200, Michael Beattie wrote: The following problem will help me finish v0.1 of my wizard radio control program which I will ITP and upload soon.. prepared for flames I know its the wrong place to ask, but its really easy, and I feel stupid asking in a

Re: small c problem

1999-07-01 Thread Michael Beattie
On Wed, 30 Jun 1999, Darren O. Benham wrote: No, well, yes.. well.. for starters, you need a buffer, not a pointer. rad_cmd has no space to hold number:444. Change it to char rad_cmd[x] where x is some number that will hold the maximum size of the string + 1. Then you can do...

Re: small c problem

1999-07-01 Thread Antti-Juhani Kaijanaho
On Thu, Jul 01, 1999 at 03:19:05PM +1200, Michael Beattie wrote: char *rad_cmd; rad_cmd = number:; What now? i.e. rad_cmd+freq_num to give rad_cmd = number:444 strcat()? This is broken. You should *never* assign a string constant to a non-const variable! Because if you

forgot stg...

1999-07-01 Thread Adrien Dessemond
-- Don't forget to test if the malloc is successfull after use :) if(!rad_cmd) { perror(MyFunction :); exit(your return value); } -- Adrien Dessemond Eleve ingenieur Institut Mediterraneen d'Etudes et Recherches en Informatique, IA,

Creating and removing symlinks in postinst/postrm

1999-07-01 Thread Christian Leutloff
Hi there, I'm packaging rxtx. It's a native library to be able to access the serial ports from Java. It provides this support for Linux - it works on i386 and I don't see any problems why it shouldn't work on other architectures. How can I verify my opinion? My problem mentioned in the subject

question about version number

1999-07-01 Thread Eduardo Fernandez Corrales
Hello, I packaged a program that had 1.52 as upstream version number. Debian version number was 1.5.2-1 Now there is a new version upstream version numbered 1.6. Should I number it 1.6-1 or 1.6.0-1? I hope this question is not too stupid. If it is please point me to the appropiate

Re: question about version number

1999-07-01 Thread Julian Gilbey
[Charset iso-8859-1 unsupported, filtering to ASCII...] Hello, I packaged a program that had 1.52 as upstream version number. Debian version number was 1.5.2-1 That's a relief! Now there is a new version upstream version numbered 1.6. Should I number it 1.6-1 or 1.6.0-1? Either would

Unidentified subject!

1999-07-01 Thread Brian Masney
subscribe

upstream tarball contains free and non-free

1999-07-01 Thread Anthony Wong
Hi all, My problem is the upstream tarball contains a set of programs, but the licenses of these programs are different. One of the programs is DFSG-free, but another one is not (can't be used for commercial purposes). Can I make 2 packages from this tarball such that one is in main and the

dblibs

1999-07-01 Thread Kermit Tensmeyer
Can someone explain to me, the hows and whys of libdb and libdb2 as used in Debian 2.1. It seems that a fair number of program, utilities and 'features' seem to use the 1.85 version, but there is also a 2.4.14 set in /usr/lib, and a symbolic link to libdb2. How does all this fit together?

first install...help on a LAN from floppies

1999-07-01 Thread Ted Manka
I'm on a network here at schoolit is a tcp/ip network What should I put for the domain name? Does it matter? The network gives me the IP adress (DHCP server) how do I configure when it asks...what is the IP address of the sustem debian? What should I put for the netmask last bits set to one?

Re: dblibs

1999-07-01 Thread Raphael Hertzog
Le Thu, Jul 01, 1999 at 01:03:54PM -0500, Kermit Tensmeyer écrivait: Can someone explain to me, the hows and whys of libdb and libdb2 as used in Debian 2.1. libdb == libdb2. It's provided by the glibc2.1 ... If you want to use the old db 1.85 you must compile your programs with -ldb1 It

Re: small c problem

1999-07-01 Thread Adrien Dessemond
Michael Beattie a écrit: The following problem will help me finish v0.1 of my wizard radio control program which I will ITP and upload soon.. prepared for flames I know its the wrong place to ask, but its really easy, and I feel stupid asking in a newsgroup string with value