diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 1999-06-28 07:07:31 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 1999-06-28 07:07:31 +0000 |
commit | cad6c0c117fe4b1c6ae18dda6a02174a31dc4295 (patch) | |
tree | f8a77505ed450af8911e77789464145b2a168e9d /net/generic-nqs/files/patch-ab | |
parent | Move generic-nqs to the net category. (diff) |
Generic-NQS, a freely available Network Queuing System that provides
configurable limits on jobs on a per queue basis as well as for the
total queue system.
It is based on the de facto NQS standards and is interoperable with
commercial NQS products.
PR: 6699
Submitted by: Tony Maher <tonym@angis.org.au>
Notes
Notes:
svn path=/head/; revision=19862
Diffstat (limited to 'net/generic-nqs/files/patch-ab')
-rw-r--r-- | net/generic-nqs/files/patch-ab | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net/generic-nqs/files/patch-ab b/net/generic-nqs/files/patch-ab new file mode 100644 index 000000000000..4b20f2d6afda --- /dev/null +++ b/net/generic-nqs/files/patch-ab @@ -0,0 +1,21 @@ +--- Source-Tree/nqsdaemon/all-systems/nqs_reqser.c.orig Wed Sep 11 05:32:26 1996 ++++ Source-Tree/nqsdaemon/all-systems/nqs_reqser.c Sat May 2 11:09:26 1998 +@@ -1746,7 +1746,7 @@ + char *cp; + + environment_file = fopen("/etc/environment", "r"); +- if ( environment_file != (FILE *) 0 ) { ++ if ( environment_file > (FILE *) 0 ) { + while ( (fgets (env_line, sizeof(env_line), environment_file ) + != (char *) 0) ) { + if (env_line[0] == '#') continue; +@@ -1758,8 +1758,8 @@ + return (the_path); + } + } ++ fclose ( environment_file ); + } +- fclose ( environment_file ); + /* + * The file was not found, or the path was not in it. + */ |