]> granicus.if.org Git - sudo/log
sudo
13 years agoBetter handling of network functions that need -lsocket -lnsl
Todd C. Miller [Thu, 19 Jan 2012 19:19:58 +0000 (14:19 -0500)]
Better handling of network functions that need -lsocket -lnsl

--HG--
branch : 1.8

13 years agoBetter handling of network functions that need -lsocket -lnsl
Todd C. Miller [Thu, 19 Jan 2012 19:19:37 +0000 (14:19 -0500)]
Better handling of network functions that need -lsocket -lnsl

13 years agoWhen setting up the execution environment, set groups before gid/egid
Todd C. Miller [Thu, 19 Jan 2012 17:56:43 +0000 (12:56 -0500)]
When setting up the execution environment, set groups before gid/egid
like sudo 1.7 did.

--HG--
branch : 1.8

13 years agoRemove "WARNING: unable to find foo() trying -lsocket -lnsl"
Todd C. Miller [Thu, 19 Jan 2012 17:56:31 +0000 (12:56 -0500)]
Remove "WARNING: unable to find foo() trying -lsocket -lnsl"

--HG--
branch : 1.8

13 years agoWhen setting up the execution environment, set groups before gid/egid
Todd C. Miller [Thu, 19 Jan 2012 17:55:23 +0000 (12:55 -0500)]
When setting up the execution environment, set groups before gid/egid
like sudo 1.7 did.

13 years agoRemove "WARNING: unable to find foo() trying -lsocket -lnsl"
Todd C. Miller [Thu, 19 Jan 2012 16:09:22 +0000 (11:09 -0500)]
Remove "WARNING: unable to find foo() trying -lsocket -lnsl"

13 years agoFor "sudo -g" prepend the specified group ID to the beginning of
Todd C. Miller [Thu, 19 Jan 2012 16:08:45 +0000 (11:08 -0500)]
For "sudo -g" prepend the specified group ID to the beginning of
the groups list.  This matches BSD convention where the effective
gid is the first entry in the group list.  This is required on newer
FreeBSD where the effective gid is not tracked separately and thus
setgroups() changes the egid if this convention is not followed.
Fixes bug #532

--HG--
branch : 1.8

13 years agoFor "sudo -g" prepend the specified group ID to the beginning of
Todd C. Miller [Thu, 19 Jan 2012 16:03:22 +0000 (11:03 -0500)]
For "sudo -g" prepend the specified group ID to the beginning of
the groups list.  This matches BSD convention where the effective
gid is the first entry in the group list.  This is required on newer
FreeBSD where the effective gid is not tracked separately and thus
setgroups() changes the egid if this convention is not followed.
Fixes bug #532

13 years agoFix sh warning; use "test" instead of "["
Todd C. Miller [Tue, 17 Jan 2012 18:08:41 +0000 (13:08 -0500)]
Fix sh warning; use "test" instead of "["

--HG--
branch : 1.8

13 years agoFix sh warning; use "test" instead of "["
Todd C. Miller [Tue, 17 Jan 2012 18:07:35 +0000 (13:07 -0500)]
Fix sh warning; use "test" instead of "["

13 years agoWhen not logging I/O, use a signal handler that only forwards SIGINT,
Todd C. Miller [Tue, 17 Jan 2012 15:28:42 +0000 (10:28 -0500)]
When not logging I/O, use a signal handler that only forwards SIGINT,
SIGQUIT and SIGHUP when they are user-generated signals.  Fixes a
race in the non-I/O logging path where the command may receive two
keyboard-generated signals; one from the kernel and one from the
sudo process.

--HG--
branch : 1.8

13 years agoBack out change that put the command in its own pgrp when not logging
Todd C. Miller [Tue, 17 Jan 2012 15:28:33 +0000 (10:28 -0500)]
Back out change that put the command in its own pgrp when not logging
I/O.  It causes problems with pipelines.

--HG--
branch : 1.8

13 years agoOnly run compat regress tests on compat objects we actually build.
Todd C. Miller [Tue, 17 Jan 2012 15:28:21 +0000 (10:28 -0500)]
Only run compat regress tests on compat objects we actually build.
Fixes "make check" in the compat dir for systems that don't implement
character classes in fnmatch() or glob().  Bug #531

--HG--
branch : 1.8

13 years agoWhen not logging I/O, use a signal handler that only forwards SIGINT,
Todd C. Miller [Tue, 17 Jan 2012 15:27:33 +0000 (10:27 -0500)]
When not logging I/O, use a signal handler that only forwards SIGINT,
SIGQUIT and SIGHUP when they are user-generated signals.  Fixes a
race in the non-I/O logging path where the command may receive two
keyboard-generated signals; one from the kernel and one from the
sudo process.

13 years agoBack out change that put the command in its own pgrp when not logging
Todd C. Miller [Tue, 17 Jan 2012 15:25:44 +0000 (10:25 -0500)]
Back out change that put the command in its own pgrp when not logging
I/O.  It causes problems with pipelines.

13 years agoOnly run compat regress tests on compat objects we actually build.
Todd C. Miller [Mon, 16 Jan 2012 15:40:11 +0000 (10:40 -0500)]
Only run compat regress tests on compat objects we actually build.
Fixes "make check" in the compat dir for systems that don't implement
character classes in fnmatch() or glob().  Bug #531

13 years agoUpdate po files from translationproject.org
Todd C. Miller [Sat, 14 Jan 2012 13:31:31 +0000 (08:31 -0500)]
Update po files from translationproject.org

--HG--
branch : 1.8

13 years agoUpdate po files from translationproject.org
Todd C. Miller [Sat, 14 Jan 2012 12:19:43 +0000 (07:19 -0500)]
Update po files from translationproject.org

13 years agoInclude parent directories in case they don't already exist. This
Todd C. Miller [Fri, 13 Jan 2012 14:49:48 +0000 (09:49 -0500)]
Include parent directories in case they don't already exist.  This
fixes a directory permissions problem with the AIX package when the
/usr/local directories don't already exist.

--HG--
branch : 1.8

13 years agoInclude parent directories in case they don't already exist. This
Todd C. Miller [Fri, 13 Jan 2012 14:49:20 +0000 (09:49 -0500)]
Include parent directories in case they don't already exist.  This
fixes a directory permissions problem with the AIX package when the
/usr/local directories don't already exist.

13 years agosync with git version
Todd C. Miller [Fri, 13 Jan 2012 14:07:46 +0000 (09:07 -0500)]
sync with git version

--HG--
branch : 1.8

13 years agoregen dependencies
Todd C. Miller [Fri, 13 Jan 2012 14:07:31 +0000 (09:07 -0500)]
regen dependencies

--HG--
branch : 1.8

13 years agoMove tty name lookup code to its own file.
Todd C. Miller [Fri, 13 Jan 2012 14:07:18 +0000 (09:07 -0500)]
Move tty name lookup code to its own file.

--HG--
branch : 1.8

13 years agosync with git version
Todd C. Miller [Fri, 13 Jan 2012 14:06:08 +0000 (09:06 -0500)]
sync with git version

13 years agoregen dependencies
Todd C. Miller [Fri, 13 Jan 2012 11:02:17 +0000 (06:02 -0500)]
regen dependencies

13 years agoMove tty name lookup code to its own file.
Todd C. Miller [Fri, 13 Jan 2012 11:01:58 +0000 (06:01 -0500)]
Move tty name lookup code to its own file.

13 years agoUpdate with latest sudo 1.8.4 changes.
Todd C. Miller [Thu, 12 Jan 2012 21:44:42 +0000 (16:44 -0500)]
Update with latest sudo 1.8.4 changes.

--HG--
branch : 1.8

13 years agoRemove obsolete template for HAVE_TIMESPEC
Todd C. Miller [Thu, 12 Jan 2012 21:44:21 +0000 (16:44 -0500)]
Remove obsolete template for HAVE_TIMESPEC

--HG--
branch : 1.8

13 years agoAdd a check for devname() returning a fully-qualified pathname.
Todd C. Miller [Thu, 12 Jan 2012 21:44:07 +0000 (16:44 -0500)]
Add a check for devname() returning a fully-qualified pathname.
None of the devname() implementations do this today but you never
know when this might change.

--HG--
branch : 1.8

13 years agoUpdate with latest sudo 1.8.4 changes.
Todd C. Miller [Thu, 12 Jan 2012 21:42:28 +0000 (16:42 -0500)]
Update with latest sudo 1.8.4 changes.

13 years agoRemove obsolete template for HAVE_TIMESPEC
Todd C. Miller [Thu, 12 Jan 2012 18:25:04 +0000 (13:25 -0500)]
Remove obsolete template for HAVE_TIMESPEC

13 years agoAdd a check for devname() returning a fully-qualified pathname.
Todd C. Miller [Thu, 12 Jan 2012 12:50:40 +0000 (07:50 -0500)]
Add a check for devname() returning a fully-qualified pathname.
None of the devname() implementations do this today but you never
know when this might change.

13 years agoFor "visudo -c" also list include files that were checked when
Todd C. Miller [Wed, 11 Jan 2012 21:26:58 +0000 (16:26 -0500)]
For "visudo -c" also list include files that were checked when
everything is OK.

--HG--
branch : 1.8

13 years agoFor "visudo -c" also list include files that were checked when
Todd C. Miller [Wed, 11 Jan 2012 21:25:39 +0000 (16:25 -0500)]
For "visudo -c" also list include files that were checked when
everything is OK.

13 years agoThe device name returned by devname() does not include the /dev/
Todd C. Miller [Wed, 11 Jan 2012 20:40:42 +0000 (15:40 -0500)]
The device name returned by devname() does not include the /dev/
prefix so we need to add it ourselves.  Also add debug warning if
KERN_PROC sysctl fails or devname() can't resolve the tty device
to a name.

--HG--
branch : 1.8

13 years agoThe result of writev() is never checked so just cast to NULL.
Todd C. Miller [Wed, 11 Jan 2012 20:39:23 +0000 (15:39 -0500)]
The result of writev() is never checked so just cast to NULL.

--HG--
branch : 1.8

13 years agoThe device name returned by devname() does not include the /dev/
Todd C. Miller [Wed, 11 Jan 2012 20:38:18 +0000 (15:38 -0500)]
The device name returned by devname() does not include the /dev/
prefix so we need to add it ourselves.

13 years agoAdd debug warning if KERN_PROC sysctl fails or devname() can't
Todd C. Miller [Wed, 11 Jan 2012 19:09:16 +0000 (14:09 -0500)]
Add debug warning if KERN_PROC sysctl fails or devname() can't
resolve the tty device to a name.

13 years agoThe result of writev() is never checked so just cast to NULL.
Todd C. Miller [Wed, 11 Jan 2012 18:09:09 +0000 (13:09 -0500)]
The result of writev() is never checked so just cast to NULL.

13 years agoUpdate Esperanto, Finnish, Polish and Ukrainian translations from
Todd C. Miller [Wed, 11 Jan 2012 12:10:08 +0000 (07:10 -0500)]
Update Esperanto, Finnish, Polish and Ukrainian translations from
translationproject.org.

--HG--
branch : 1.8

13 years agoUpdate Esperanto, Finnish, Polish and Ukrainian translations from
Todd C. Miller [Wed, 11 Jan 2012 12:09:25 +0000 (07:09 -0500)]
Update Esperanto, Finnish, Polish and Ukrainian translations from
translationproject.org.

13 years agoAdd support for determining tty via sysctl on other BSD variants.
Todd C. Miller [Tue, 10 Jan 2012 21:50:20 +0000 (16:50 -0500)]
Add support for determining tty via sysctl on other BSD variants.

--HG--
branch : 1.8

13 years agoAdd support for determining tty via sysctl on other BSD variants.
Todd C. Miller [Tue, 10 Jan 2012 21:49:24 +0000 (16:49 -0500)]
Add support for determining tty via sysctl on other BSD variants.

13 years agoOnly check for struct kinfo_proc.ki_tdev on systems that support sysctl.
Todd C. Miller [Tue, 10 Jan 2012 18:03:59 +0000 (13:03 -0500)]
Only check for struct kinfo_proc.ki_tdev on systems that support sysctl.

--HG--
branch : 1.8

13 years agoFor FreeBSD, try the KERN_PROC_PID sysctl() first, falling back on
Todd C. Miller [Tue, 10 Jan 2012 18:03:49 +0000 (13:03 -0500)]
For FreeBSD, try the KERN_PROC_PID sysctl() first, falling back on
ttyname() of std{in,out,err}.

--HG--
branch : 1.8

13 years agoOnly check for struct kinfo_proc.ki_tdev on systems that support sysctl.
Todd C. Miller [Tue, 10 Jan 2012 18:02:55 +0000 (13:02 -0500)]
Only check for struct kinfo_proc.ki_tdev on systems that support sysctl.

13 years agoFor FreeBSD, try the KERN_PROC_PID sysctl() first, falling back on
Todd C. Miller [Tue, 10 Jan 2012 18:02:41 +0000 (13:02 -0500)]
For FreeBSD, try the KERN_PROC_PID sysctl() first, falling back on
ttyname() of std{in,out,err}.

13 years agoOn newer FreeBSD we can get the parent's tty name via sysctl().
Todd C. Miller [Mon, 9 Jan 2012 21:17:56 +0000 (16:17 -0500)]
On newer FreeBSD we can get the parent's tty name via sysctl().

--HG--
branch : 1.8

13 years agoInclude locale.h
Todd C. Miller [Mon, 9 Jan 2012 21:17:42 +0000 (16:17 -0500)]
Include locale.h

--HG--
branch : 1.8

13 years agoSilence a gcc warning.
Todd C. Miller [Mon, 9 Jan 2012 21:17:26 +0000 (16:17 -0500)]
Silence a gcc warning.

--HG--
branch : 1.8

13 years agoOn newer FreeBSD we can get the parent's tty name via sysctl().
Todd C. Miller [Mon, 9 Jan 2012 21:08:58 +0000 (16:08 -0500)]
On newer FreeBSD we can get the parent's tty name via sysctl().

13 years agoInclude locale.h
Todd C. Miller [Mon, 9 Jan 2012 20:34:05 +0000 (15:34 -0500)]
Include locale.h

13 years agoSilence a gcc warning.
Todd C. Miller [Mon, 9 Jan 2012 20:33:51 +0000 (15:33 -0500)]
Silence a gcc warning.

13 years agoNeed to include gettext.h and sudo_debug.h; from John Hein
Todd C. Miller [Mon, 9 Jan 2012 17:37:24 +0000 (12:37 -0500)]
Need to include gettext.h and sudo_debug.h; from John Hein

--HG--
branch : 1.8

13 years agoNeed to include gettext.h and sudo_debug.h; from John Hein
Todd C. Miller [Mon, 9 Jan 2012 17:36:43 +0000 (12:36 -0500)]
Need to include gettext.h and sudo_debug.h; from John Hein

13 years agoInitialize the debug framework from the I/O plugin too.
Todd C. Miller [Mon, 9 Jan 2012 16:11:05 +0000 (11:11 -0500)]
Initialize the debug framework from the I/O plugin too.

--HG--
branch : 1.8

13 years agoEnable debugging via sudo.conf.
Todd C. Miller [Mon, 9 Jan 2012 16:10:53 +0000 (11:10 -0500)]
Enable debugging via sudo.conf.

--HG--
branch : 1.8

13 years agoUse SUDO_DEBUG_ALIAS for alias checking functions.
Todd C. Miller [Mon, 9 Jan 2012 16:10:41 +0000 (11:10 -0500)]
Use SUDO_DEBUG_ALIAS for alias checking functions.

--HG--
branch : 1.8

13 years agoMore complete test for getaddrinfo() that doesn't rely on the network
Todd C. Miller [Mon, 9 Jan 2012 16:10:19 +0000 (11:10 -0500)]
More complete test for getaddrinfo() that doesn't rely on the network
libraries already being added to LIBS.

--HG--
branch : 1.8

13 years agoInitialize the debug framework from the I/O plugin too.
Todd C. Miller [Mon, 9 Jan 2012 16:00:59 +0000 (11:00 -0500)]
Initialize the debug framework from the I/O plugin too.

13 years agoEnable debugging via sudo.conf.
Todd C. Miller [Sun, 8 Jan 2012 17:11:14 +0000 (12:11 -0500)]
Enable debugging via sudo.conf.

13 years agoUse SUDO_DEBUG_ALIAS for alias checking functions.
Todd C. Miller [Sat, 7 Jan 2012 17:24:43 +0000 (12:24 -0500)]
Use SUDO_DEBUG_ALIAS for alias checking functions.

13 years agoMore complete test for getaddrinfo() that doesn't rely on the network
Todd C. Miller [Sat, 7 Jan 2012 17:22:43 +0000 (12:22 -0500)]
More complete test for getaddrinfo() that doesn't rely on the network
libraries already being added to LIBS.

13 years agoAdd debug support.
Todd C. Miller [Sat, 7 Jan 2012 01:15:25 +0000 (20:15 -0500)]
Add debug support.

--HG--
branch : 1.8

13 years agoAdd debug support.
Todd C. Miller [Sat, 7 Jan 2012 01:10:41 +0000 (20:10 -0500)]
Add debug support.

13 years agoNeed -lsocket -lnsl for getaddrinfo(3) on Solaris at least.
Todd C. Miller [Sat, 7 Jan 2012 01:09:59 +0000 (20:09 -0500)]
Need -lsocket -lnsl for getaddrinfo(3) on Solaris at least.

--HG--
branch : 1.8

13 years agoInclude errno.h and missing.h
Todd C. Miller [Sat, 7 Jan 2012 01:09:44 +0000 (20:09 -0500)]
Include errno.h and missing.h

--HG--
branch : 1.8

13 years agoNeed -lsocket -lnsl for getaddrinfo(3) on Solaris at least.
Todd C. Miller [Sat, 7 Jan 2012 01:02:12 +0000 (20:02 -0500)]
Need -lsocket -lnsl for getaddrinfo(3) on Solaris at least.

13 years agoInclude errno.h and missing.h
Todd C. Miller [Sat, 7 Jan 2012 00:28:08 +0000 (19:28 -0500)]
Include errno.h and missing.h

13 years agoregen
Todd C. Miller [Fri, 6 Jan 2012 20:29:05 +0000 (15:29 -0500)]
regen

--HG--
branch : 1.8

13 years agoignore doc/varsub
Todd C. Miller [Fri, 6 Jan 2012 20:28:05 +0000 (15:28 -0500)]
ignore doc/varsub

--HG--
branch : 1.8

13 years agoignore doc/varsub
Todd C. Miller [Fri, 6 Jan 2012 20:27:30 +0000 (15:27 -0500)]
ignore doc/varsub

13 years agoregen pot files
Todd C. Miller [Fri, 6 Jan 2012 20:15:26 +0000 (15:15 -0500)]
regen pot files

--HG--
branch : 1.8

13 years agoUpdate copyright year.
Todd C. Miller [Fri, 6 Jan 2012 19:24:31 +0000 (14:24 -0500)]
Update copyright year.

--HG--
branch : 1.8

13 years agoUpdate for sudo 1.8.4
Todd C. Miller [Fri, 6 Jan 2012 19:24:22 +0000 (14:24 -0500)]
Update for sudo 1.8.4

--HG--
branch : 1.8

13 years agoUpdate copyright year.
Todd C. Miller [Fri, 6 Jan 2012 19:23:55 +0000 (14:23 -0500)]
Update copyright year.

13 years agoUpdate for sudo 1.8.4
Todd C. Miller [Fri, 6 Jan 2012 19:19:53 +0000 (14:19 -0500)]
Update for sudo 1.8.4

13 years agoregen pot files
Todd C. Miller [Fri, 6 Jan 2012 18:49:39 +0000 (13:49 -0500)]
regen pot files

--HG--
branch : 1.8

13 years agoregen pot files
Todd C. Miller [Fri, 6 Jan 2012 18:49:16 +0000 (13:49 -0500)]
regen pot files

13 years agoEnable debugging via sudo.conf.
Todd C. Miller [Fri, 6 Jan 2012 18:26:56 +0000 (13:26 -0500)]
Enable debugging via sudo.conf.

--HG--
branch : 1.8

13 years agoAllow "visudo -c" to work when we only have read-only access to the
Todd C. Miller [Fri, 6 Jan 2012 18:26:43 +0000 (13:26 -0500)]
Allow "visudo -c" to work when we only have read-only access to the
sudoers include files.

--HG--
branch : 1.8

13 years agoMention the CONTRIBUTORS file, not HISTORY in AUTHOR section. Add
Todd C. Miller [Fri, 6 Jan 2012 18:26:36 +0000 (13:26 -0500)]
Mention the CONTRIBUTORS file, not HISTORY in AUTHOR section.  Add
HISTORY section in sudo that points to HISTORY file.

--HG--
branch : 1.8

13 years agoDocument Debug setting in sudo.conf and debug_flags in plugin.
Todd C. Miller [Fri, 6 Jan 2012 18:26:22 +0000 (13:26 -0500)]
Document Debug setting in sudo.conf and debug_flags in plugin.

--HG--
branch : 1.8

13 years agoDo not include GLOB_MARK in the flags we pass to glob(3). Fixes a
Todd C. Miller [Fri, 6 Jan 2012 18:26:10 +0000 (13:26 -0500)]
Do not include GLOB_MARK in the flags we pass to glob(3).  Fixes a
bug where a pattern like "/usr/*" include /usr/bin/ in the results,
which would be incorrectly be interpreted as if the sudoers file
had specified a directory.  From Vitezslav Cizek.

--HG--
branch : 1.8

13 years agoAdd --enable-kerb5-instance configure option to allow people using
Todd C. Miller [Fri, 6 Jan 2012 18:25:57 +0000 (13:25 -0500)]
Add --enable-kerb5-instance configure option to allow people using
Kerberos V authentication to use a custom instance.  Adapted from
a diff by Michael E Burr.

--HG--
branch : 1.8

13 years agoRemove -D debug_level option.
Todd C. Miller [Fri, 6 Jan 2012 18:25:46 +0000 (13:25 -0500)]
Remove -D debug_level option.

--HG--
branch : 1.8

13 years agoUpdate copyright year.
Todd C. Miller [Fri, 6 Jan 2012 18:25:32 +0000 (13:25 -0500)]
Update copyright year.

--HG--
branch : 1.8

13 years agoEnable debugging via sudo.conf.
Todd C. Miller [Fri, 6 Jan 2012 18:13:04 +0000 (13:13 -0500)]
Enable debugging via sudo.conf.

13 years agoEnable debugging via sudo.conf.
Todd C. Miller [Fri, 6 Jan 2012 15:58:13 +0000 (10:58 -0500)]
Enable debugging via sudo.conf.

13 years agoAllow "visudo -c" to work when we only have read-only access to the
Todd C. Miller [Fri, 6 Jan 2012 15:54:30 +0000 (10:54 -0500)]
Allow "visudo -c" to work when we only have read-only access to the
sudoers include files.

13 years agoMention the CONTRIBUTORS file, not HISTORY in AUTHOR section. Add
Todd C. Miller [Fri, 6 Jan 2012 15:05:47 +0000 (10:05 -0500)]
Mention the CONTRIBUTORS file, not HISTORY in AUTHOR section.  Add
HISTORY section in sudo that points to HISTORY file.

13 years agoDocument Debug setting in sudo.conf and debug_flags in plugin.
Todd C. Miller [Fri, 6 Jan 2012 14:44:41 +0000 (09:44 -0500)]
Document Debug setting in sudo.conf and debug_flags in plugin.

13 years agoDo not include GLOB_MARK in the flags we pass to glob(3). Fixes a
Todd C. Miller [Thu, 5 Jan 2012 20:54:00 +0000 (15:54 -0500)]
Do not include GLOB_MARK in the flags we pass to glob(3).  Fixes a
bug where a pattern like "/usr/*" include /usr/bin/ in the results,
which would be incorrectly be interpreted as if the sudoers file
had specified a directory.  From Vitezslav Cizek.

13 years agoAdd --enable-kerb5-instance configure option to allow people using
Todd C. Miller [Thu, 5 Jan 2012 20:39:05 +0000 (15:39 -0500)]
Add --enable-kerb5-instance configure option to allow people using
Kerberos V authentication to use a custom instance.  Adapted from
a diff by Michael E Burr.

13 years agoRemove -D debug_level option.
Todd C. Miller [Thu, 5 Jan 2012 16:48:24 +0000 (11:48 -0500)]
Remove -D debug_level option.

13 years agoUpdate copyright year.
Todd C. Miller [Thu, 5 Jan 2012 16:47:22 +0000 (11:47 -0500)]
Update copyright year.

13 years agoparse_error is now bool, not int
Todd C. Miller [Wed, 4 Jan 2012 20:46:28 +0000 (15:46 -0500)]
parse_error is now bool, not int

--HG--
branch : 1.8

13 years agoPrint a more sensible error if yyparse() returns non-zero but
Todd C. Miller [Wed, 4 Jan 2012 20:46:16 +0000 (15:46 -0500)]
Print a more sensible error if yyparse() returns non-zero but
yyerror() was not called.

--HG--
branch : 1.8

13 years agoReplace y.tab.c with the correct filename in #line directives.
Todd C. Miller [Wed, 4 Jan 2012 20:46:03 +0000 (15:46 -0500)]
Replace y.tab.c with the correct filename in #line directives.

--HG--
branch : 1.8

13 years agoparse_error is now bool, not int
Todd C. Miller [Wed, 4 Jan 2012 20:45:27 +0000 (15:45 -0500)]
parse_error is now bool, not int