ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
PACKAGE NAME: gtkradiant-1.5.0-2005-01-16.i386
COMPRESSED PACKAGE SIZE: 2240 K
UNCOMPRESSED PACKAGE SIZE: 6320 K
PACKAGE LOCATION: gtkradiant-1.5.0-2005-01-16.i386.tgz
PACKAGE DESCRIPTION:
FILE LIST:
But this one here:
Code:
PACKAGE NAME: acct-6.3.2-i386-1
COMPRESSED PACKAGE SIZE: 52 K
UNCOMPRESSED PACKAGE SIZE: 130 K
PACKAGE LOCATION: /var/log/mount/slackware/ap/acct-6.3.2-i386-1.tgz
PACKAGE DESCRIPTION:
acct: acct (process accounting utilities)
acct:
acct: This is a set of utilities which reports and summarizes data about
acct: user connect times and process execution statistics. To activate
acct: process accounting, create the log file (touch /var/log/pacct), and
acct: then use the accton command to start it (accton /var/log/pacct).
acct: Be aware that the log file can grow to be quite large.
acct:
acct: The GNU process accounting utilities were written by Noel Cragg.
acct:
acct:
FILE LIST:
For the gtkradiant package, for example, you have
PACKAGE LOCATION: gtkradiant-1.5.0-2005-01-16.i386.tgz
which is (prepended with /var/log/packages) 55 chars for path,
and fits into buf ...
For acc
PACKAGE LOCATION: /var/log/mount/slackware/ap/acct-6.3.2-i386-1.tgz
PLUS the /var/log/packages you add to path is 67 ... when you
write that to buf you write too much => segfault
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.