Bug 1347 - Source code syntax errors afs_settoken.c
Summary: Source code syntax errors afs_settoken.c
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.4
Hardware: All Solaris
: P3 normal
Target Milestone: none
Assignee: Volker Lendecke
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-12 21:00 UTC by Keir Vaughan-Taylor
Modified: 2005-11-14 09:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keir Vaughan-Taylor 2004-05-12 21:00:23 UTC
 
Comment 1 Keir Vaughan-Taylor 2004-05-12 21:04:55 UTC
In routine lib/afs_settoken.c

In function definition _syscall5( 
commas are separating variable type definition and the variable name
for example:     int, cmd;

Also afs_syscall()   is called but is not defined anywhere
Comment 2 Volker Lendecke 2004-05-15 12:55:05 UTC
Hi!

The fake kaserver stuff is Linux 2.4 specific. Here the syscall macro is necessary
as the AFS system call is not directly accessible via normal glibc header files.

On Linux 2.4 this compiles and works fine, if you are interested in making this
work on other platforms, feel free to reopen the bug and tell me about your uses.

Volker
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:28:36 UTC
database cleanup